Technical requirements
To follow the descriptions in this chapter, you will need to create an ASP.NET Core application. To do this, open your console, shell, or Bash terminal, and change to your working directory. Then, use the following command to create a new web application:
dotnet new web -n HostBuilderConfig -o HostBuilderConfig
Now open the project in Visual Studio by double-clicking the project file, or in Visual Studio Code by typing the following command in the already-open console:
cd HostBuilderConfig code .
Note
The simple web
project template changed in .NET 6.0. In version 6.0, Microsoft introduced minimal APIs and changed the project template to use the minimal API approach. I'm going to show you the differences between these templates within this chapter.
All of the code samples in this chapter can be found in the GitHub repository for this book at https://github.com/PacktPublishing/Customizing-ASP.NET-Core-6.0-Second-Edition/tree/main/Chapter05...