Anatomy of a Blazor Server Application
Examine the structure of our newly created Blazor Server application.
We'll cover the following...
Let’s take a look at the structure of our Blazor Server project. It will come in handy to figure out how to move when we integrate the application with Auth0.
Project structure
In the following, we can explore the folders and files that our Blazor Server project consists of.
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net6.0</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <UseAppHost>false</UseAppHost> </PropertyGroup> </Project>
The Blazor Server project
The following sections will discuss the content of each folder in more detail.
The root folder
The project folder should ...