Get Started

Get started with BlazorForKids

Get Started

Welcome to Blazor For Kids! This framework is designed to help you build Blazor applications easily, even if you're just getting started with development. Follow the steps below to set everything up and start building your first app.

Step 1: Install an IDE

To write and run code, you need an IDE (Integrated Development Environment). We recommend using one of the following:

In addition, you will also need to install SQL Server to manage your application's database. We recommend installing both the SQL Server Developer edition and SQL Server Management Studio (SSMS) to work efficiently with your data.

These tools are free to use for development purposes and are essential for running and managing your application's database.

Step 2: Install the CLI Tool

Install the BlazorForKids.Tool command-line tool (called bkcli) using this command:

dotnet tool install --global BlazorForKids.Tool

This will allow you to install and manage the framework easily.

Step 3: Login and Get Your API Key

Go to https://blazor-for-kids.com and log in to your account. Once logged in, visit your Account Info page to find your personal API key. This key is required to register and install the framework.

Step 4: Register the Framework

Use the following command in your terminal or command prompt to register the framework using your API key:

bkcli register --apikey <API_KEY>

You can also check if the framework is properly installed by running:

bkcli check

To see the current version of the installed framework, use:

bkcli version

Step 5: Create a New Project

Now that the framework is installed, you can create a new project using this command:

dotnet new blazorforkids -n <ProjectName>

Replace <ProjectName> with the name you want for your project.

Step 6: Run Your Project

Navigate to your project folder and start the application with:

dotnet watch

Your app will start, and you can view it in your browser. You're now ready to start building!

That's it! You're set up and ready to explore what you can create with Blazor For Kids. Have fun coding!

An unhandled error has occurred. Reload 🗙