Getting started with the ABP Blazor UI
There are two ways to start a new project using ABP's startup solution templates. You can either download it from https://abp.io/get-started or create it using the ABP CLI. I will use the CLI approach in this book. If you haven't installed it yet, open a command-line terminal and execute the following command:
dotnet tool install -g Volo.Abp.Cli
Now, we can create a new solution using the abp new
command:
abp new DemoApp -u blazor
DemoApp
is the solution name in this example. I've passed the -u blazor
parameter to specify Blazor WebAssembly. If you want to use Blazor Server, you can specify the parameter as -u blazor-server
.
I haven't specified a database provider, so it uses Entity Framework Core by default (specify the -d mongodb
parameter if you want to use MongoDB). After creating the solution, we need to create the initial database migration. As a first step, we should execute the following command in the...