How it works...

In steps 1 and 2, we opened the terminal and made sure we are in the correct directory, which is the root of the solution. After that, in step 3, we created the ASP.NET Core 2.0 MVC application. In step 4, we added that project to the solution. After this step, we have two projects in the solution and you will be able to see all projects in the solution by giving this command in the root of the solution directory:

dotnet sln list 

In steps 5, 6, and 7, we built the project from the root to check that everything was fine. Then, we navigated to the newly created project folder and executed the project to test whether everything was OK. In step 8, we opened the default browser and gave the URL to test the ASP.NET Core 2.0 application. ...

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.