I am trying to convert my Asp.net Webforms application into an Asp.net MVC one. I wanted to know if i could have Razor views(.cshtml) and Aspx views(.aspx) coexist in the same application.If yes,then how?If no,then is it ok if i use MVC with aspx pages?
1 Answer
Yes you can have razor views and aspx views in the same project. Check out the following links, they will guide you in the right direction.
http://www.hanselman.com/blog/MixingRazorViewsAndWebFormsMasterPagesWithASPNETMVC3.aspx
Hope this helps.
2 Comments
Prachi Pant
This article refers to aspx views in asp.net mvc project,which does support 2 views..But my project is asp.net webforms project.Can a webforms project support cshtml files?
samar
You are probably looking for "Webmatrix". Check out the link here. mikesdotnetting.com/Article/162/…