HTML and CSS Reference
In-Depth Information
eXerCISe 7-1. CreatING the DeMO SIte
Start Visual Studio 2012 and from the Start Page click the new Project link.
Select the “ASP.nET MVC 4 web Application” template and enter Chapter 7 for the
project name as shown in Figure 7-3 . Click oK to continue.
Figure 7-3. Creating a new MVC4 project
in the next dialog box select the Basic template and make sure the Razor view
engine is selected. Click oK to create the project.
when the project has been created, from the Solution Explorer, right-click the Views
folder and select the Add ➤ new Folder links. Enter the name Home .
Right-click the Views\Home folder and select the Add ➤ View links.
in the Add View dialog box, enter the name Index and unselect all of the check
boxes as shown in Figure 7-4 . Click the Add button to create the view.
Search WWH ::

Custom Search