Exercise 4 – Verification
In order to verify that you have correctly performed all the steps in the previous exercise, proceed as follows:
- With the application open in a browser, you should note that:
- The HomeController’s Index action method found and displayed the \Views\Home\Index.aspx View template, even though the code called return View(), because the View template followed the standard naming convention.
- The Home Page displays the welcome message defined within the \Views\Home\Index.aspx view template.
- The Home Page is using the MasterPage template, and so the welcome message is contained within the standard site HTML layout.
Home Index View using the MasterPage and style defined