>Hi,
>I am looking at the training video (Pluralsight) on APS.NET MVC Basics (produced in 2009) the demo project. The Views folder has Home folder and Shared folder. The Home folder is clear, it has view files for each view the project needs.
>
>The Shared folder has page Site.Master which is the master page used by all views.
>
>In the current version of VS 2012, when I create a test ASP.NET MVC project, the Shared folder has file _Layout.cshtml.
>
>What is the purpose of _Layout.cshtml?
>
>And does it mean that VS 2012 does not automatically create file Site.Master (master page for the project) and I have to create it manually?
>
>TIA
Interesting that the same guy, Scott Guthrie, refers to the ASP.NET MVC 3 master page as SiteLayout.cshtml (
http://weblogs.asp.net/scottgu/archive/2010/10/22/asp-net-mvc-3-layouts.aspx ) and in another artilce as _Layout.cshtml (
http://weblogs.asp.net/scottgu/archive/2010/12/30/asp-net-mvc-3-layouts-and-sections-with-razor.aspx ). No wonder I am confused <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham