- Open the terminal and navigate to the root of your application built in the previous recipe.
- The directory structure should look like this:
- Now type the following command and press Enter in the terminal to create the new ASP.NET Core MVC application:
$ dotnet new mvc -o Chapter3.LogFile.LogAppMvc
- Let's add this new project to the solution:
$ dotnet sln add Chapter3.LogFile.LogAppMvc/Chapter3.LogFile.LogAppMvc.csproj
- Now let's perform a build to check that everything is working fine:
$ dotnet build
- Now, navigate to the app we just created:
$ cd Chapter3.LogFile.LogAppMvc/
- Execute the application with the following ...