HTML and CSS Reference
In-Depth Information
Figure 7-4. Adding the Index view
open your webMatrix project from Chapter 4 , copy the entire contents of
Default.cshtml , and paste it into the new Index.cshtml file, replacing the default
From the Solution Explorer, right-click the Controllers folder and select the
Add ➤ Controller link.
in the Add Controller dialog box, enter the name HomeController and make sure the
“Empty MVC controller” template is selected as shown in Figure 7-5 .
Search WWH ::

Custom Search