This tutorial may help: A Simple Blazor User and Role Manager
Blazor Server - Individual User Accounts
Hi guys,
I wonder how I can check if individual user accounts are selected in my project? When I run migrations, business entity tables are created but there are no tables related to users, roles, etc on SQL Express Server.
It seems that there are 2 migrations, one is in EFCore (IMSContext which my tables are created) and the other is in the WebApp.
Changing the connection string did the trick in the Program.cs :)
var connectionString = builder.Configuration.GetConnectionString("InventoryManagement");
builder.Services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(connectionString));
Now the question is, is there any tutorial out there to implement adding users and roles to the application only by an admin and sending notification e-mail to the registered user.