HTML and CSS Reference
In-Depth Information
eXerCISe 7-1. CreatING the DeMO SIte
1.
Start Visual Studio 2012 and from the Start Page click the new Project link.
2.
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
3.
in the next dialog box select the Basic template and make sure the Razor view
engine is selected. Click oK to create the project.
4.
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 .
5.
Right-click the Views\Home folder and select the Add ➤ View links.
6.
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