An asp.net core blazor server with authentication and authorization (.NET 7). In this project we are using SQLite database
-
Navigate to the
AuthenticationInBlazor
folder -
If you haven't installed the EF Core Command Line Interface (CLI), install it by following these instructions. Choose the latest stable version (the project file currently ships with version 7.0.9).
-
This migration step has already been done but for reference this is what you'd have done:
dotnet ef migrations add Initial
or if you would want you could specify the DbContext option like this:
dotnet ef migrations add --context ApplicationDbContext Initial
to set up the database migrations (already done).
-
Run
dotnet ef database update
to create the AuthenticationInBlazor database.
-
Type
dotnet run` or `dotnet watch
to start the server. Navigate to the port specified.
Note: the demo app is designed to show how to add authentication and authorization to an asp.net blazor server app.
Don't forget to follow my account: Follow @nuux14
and start (๐) the repos Star AuthenticationInBlazor
Submit any feedback, questions, suggestions, or issues here.
Regards,