Technical requirements
To follow the descriptions in this chapter, you will need to create an ASP.NET Core MVC 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 MVC application:
dotnet new mvc -n LoggingSample -o LoggingSample
Now, open the project in Microsoft Visual Studio by double-clicking the project file, or in Visual Studio Code, by typing the following command in the already-open console:
cd LoggingSample code .
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/Chapter01.