In this recipe, we will be creating an ASP.NET MVC application to use the library. This time, it will be under Windows and will be using the full .NET Framework under Windows.
Let's make sure we have completed the previous recipe. In that recipe, we built a .NET Standard 2.0 library to create and read an XML document. Let's create an ASP.NET MVC application to use the library.
- 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 theChapter5.XmlDoc
solution. - Press Ctrl + Shift + B for a quick build to check that everything is fine.
- Now, click on the
Chapter5.XmlDoc
solution label. ClickFile
|Add
|New Project
. - In the
Add New Project
template dialog box, expand theVisual C#
node in the left-hand pane.
- Select
Web
and selectASP.NET Web Application (.NET Framework)
in the right-hand pane:
- Now, in the
Name...