How to do it..

  1. Open the terminal and navigate to the root of your application built in the previous recipe.
  2. The directory structure should look like this:
  1. 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
  1. Let's add this new project to the solution:
      $ dotnet sln add       Chapter3.LogFile.LogAppMvc/Chapter3.LogFile.LogAppMvc.csproj
  1. Now let's perform a build to check that everything is working fine:
      $ dotnet build
  1. Now, navigate to the app we just created:
      $ cd Chapter3.LogFile.LogAppMvc/
  1. Execute the application with the following ...

Get .NET Standard 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.