title: .NET Core Identity in Blazor and Web API Solution
body: <p>I'm creating a Blazor application (.NET Core, C#) and am confused about how to integrate .NET Core's built-in authentication and authorizaton services (.NET Core Identity).</p>
  <p>I have a solution that contains a project for the Blazor app, as well as a .NET Core API project for data retrieval from the back-end database.</p>
  <p>I've seen tutorials where .NET Core Identity is implemented in the Blazor app (along with all of the pre-built pages and components for registering, signing in, etc.).</p>
  <p>This is fine, but when I'm also building an API for data access, I feel that authentication, etc. should also be implemented in the Web API part, as this is where the authorization for data access needs to be.</p>
  <p>What is the best/correct way to design this?</p>