Blazor Authentication and Authorization

Authentication and Authorization in Blazor can be broken down into 2 parts, the normal ASP.Net Core authentication and authorization, token based, cookies, Active directory and even 3 rd party. The Blazor specific authentication and authorization that is focused on managing the UI based on whether the user is logged in, what roles and policies need to be applied. We will be looking at the Blazor side. To get started we will be creating a Blazor Server project and changing the authentication to Individual Accounts: Once we have the project created, we need to run the command to create the data store for the user accounts: PM> Update-Database Run the application and create a user account with a password. For our application we used: 1. User Name: BlaozrAuth@everywherec.com ...