Sudip Bhandariicpcs.hashnode.dev·Apr 15, 2024Role-Based Authentication in ASP.NETUseAddRoles<IdentityRole>to add role management capabilities. builder.Services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true) .AddRoles<IdentityRole>() .AddEntityFrameworkStores<AuthenticationCon...203 readsauthenticationAdd a thoughtful commentNo comments yetBe the first to start the conversation.