Razor Syntax?Sections ? Powered By ALT.NET
Construction Dive
FEBRUARY 12, 2011
It is similar to the master pages in ASP.NET Web Forms and ASP.NET MVC ASPX views. Just after the line with the tag in _Layout.cshtml, place the following: @RenderPage("/Shared/_Menu.cshtml"). Tagged as: aspnetmvc , razor , webmatrix. My last blog post about Razor was a general intro to the syntax. Layout Files.
Let's personalize your content