Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC alongside Web Forms in the same web app?

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?

like image 779
T. Webster Avatar asked Sep 02 '11 20:09

T. Webster


1 Answers

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

like image 50
Andrew Avatar answered Sep 19 '22 21:09

Andrew