The 1.MVC area is a small MVC, and zone routes are higher than normal routes.
MVC zone comes with m,v and C, can put products, members, news, documents more time, you can use multiple areas to split the project into small projects
2. Render the local view and local action (Ifram way will not be crawled by spiders, not conducive to SEO)
@{ //html.renderpartial ("about");//Only render the About page, the data will not be loaded html.renderaction ("about");// The data passed in the page and controller are rendered. }
3. Master pages and layouts, @_layout.cshtml is the default, and if not indicated, all points to the default,
@RenderBody () indicates a point to the current layout, and if not, point to the default
@{
Layout = "~/views/shared/_layout.cshtml";//Not in the global, there is a default master page
}
@RenderSection ("Head", false)
Record learning MVC process, MVC Zone master page (vii)