Organizational Research By

Surprising Reserch Topic

asp net mvc alongside web forms in the same web app


asp net mvc alongside web forms in the same web app  using -'asp.net,asp.net-mvc-3'

Has anyone successfully deployed ASP.NET MVC alongside Web Forms in the same application in a production environment? Were there any conflicts or gotchas you faced while doing so?

Is it really as easy as shown here in practice? What about if you run a MVC using the Razor view engine alongside Web Forms?
    

asked Oct 6, 2015 by yogeshplv
0 votes
12 views



Related Hot Questions

3 Answers

0 votes

Mvc is build on top of asp.net as is webforms, so yes it's easy. Done it couple of times for conversion purposes

Maybe this url's could help you:

http://www.hanselman.com/blog/IntegratingASPNETMVC3IntoExistingUpgradedASPNET4WebFormsApplications.aspx

and

http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx

answered Oct 6, 2015 by amit_cmps
0 votes

Has anyone successfully deployed ASP.NET MVC alongside Web Forms in the same application in a production environment?

I never mixed ASP.NET MVC and classic WebForms in the same application. I make them run in separate applications and communicate between them with standard HTTP techniques (query string parameters, form posts, cookies, ...).

Is it really as easy as shown here in practice?

Yes, it is as easy as that.

answered Oct 6, 2015 by nimisha.jagtap
0 votes

Check out scott hanselmans AddMvc3ToWebForms nuget package. I am using it and its working pretty great. I am using it to gradually convert my web forms app to mvc

answered Oct 6, 2015 by rolvyrf

...