In this recipe, we will be creating an ASP.NET MVC application to use the .NET Standard 2.0 library. This was created in the previous recipe. ASP.NET MVC applications run in Windows-based systems under IIS and use the full .NET Framework. We will be starting with an empty ASP.NET MVC project, before moving to its components and use of the library.
Locate the previously built .NET Standard 2.0 library and make sure it builds without any errors. It is also assumed you have basic knowledge of MVC-based ASP.NET applications and are familiar with the terms Models, Views, and Controllers.
- Open Visual Studio 2017.
- Now, open the solution from the previous recipe. Click
File
|Open
|Open Project/Solution
, or press Ctrl + Shift + O, and select theChapter2.Linq
solution. - Press Ctrl + Shift + B for a quick build to check that everything is fine.
- Now, click on the
Chapter2.Linq
solution label. ClickFile
|Add
|New Project
. - In...