How to mix WebForms and MVC in ASP.NET
I have an existing ASP.NET WebForms 3.0 application that works just fine. I upgraded it to ASP.NET 4 and it still works great, but now I want to add some ASP.NET MVC pages to it. I don't want to rewrite the application.
Any suggestions? Can I mix them? How to work it? Any tutorials for me?
Take a look at Scott Hanselman's blog article on this very topic:
You have to mention this line of code in the Global.asax file in the MVC application.
This disables the MVC routing for the files of extension .aspx