Last post Jan 12, 2012 04:47 AM by Mikesdotnetting
Jan 11, 2012 06:35 PM|xRidx|LINK
I wonna ASk CSHTM is (RAZOR ENGINE WITh C# language) but dunno it implements the MVC concepts or what ???
It have :
@RenderPage("/Shared/_header.cshtml") @RenderBody() @RenderSection("footer") method -most example in:http://www.mikesdotnetting.com/Article/147/WebMatrix-Consistent-Look-And-Feel-With-RazorSomeone help me understand?
Jan 11, 2012 07:08 PM|Mikesdotnetting|LINK
I'm not sure what your question is, but .cshtml is the file extension for Razor web pages or view files written using C#. The Razor View Engine is available both in the Web Pages framework and MVC 3.0.
Jan 11, 2012 11:47 PM|xRidx|LINK
MVC-Model View Contlroler
CSHTML having Page Rendering method,maybe i wrong thinking,but its not that View from MVC??.So why i ask about CSHTML,that implements the MVC concepts?
Jan 12, 2012 04:47 AM|Mikesdotnetting|LINK
I still don't understand your question. View files don't "implement MVC". They are used in the V part. But .cshtml files are the same in Web Pages and MVC. They are just used differently in each framework.