Technical requirements
To follow the descriptions in this chapter, you will need to create an ASP.NET Core application. Open your console, shell, or Bash terminal, and change to your working directory. Use the following command to create a new MVC application:
dotnet new mvc -n HostedServiceSample -o HostedServiceSample
Now open the project in Visual Studio by double-clicking the project file or in VS Code by changing the folder to the project and typing the following command in the already open console:
cd HostedServiceSample code .
All of the code samples in this chapter can be found in the GitHub repo for this book: https://github.com/PacktPublishing/Customizing-ASP.NET-Core-6.0-Second-Edition/tree/main/Chapter07.