ASP.NET MVC一起在同一个web应用程序的Web窗体? [英] ASP.NET MVC alongside Web Forms in the same web app?

查看:84
本文介绍了ASP.NET MVC一起在同一个web应用程序的Web窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人成功部署ASP.NET MVC一起Web窗体在生产环境相同的应用程序?有没有什么,而这样做你面对冲突或陷阱?

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?

难道真的那么容易,因为显示这里在实践中?怎么样,如果你使用的Razor视图引擎旁边Web窗体运行MVC?

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?

推荐答案

MVC是建立在asp.net的顶部,是web表单,所以是很容易。
做了几次转换的目的

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:

<一个href=\"http://www.hanselman.com/blog/IntegratingASPNETMVC3IntoExistingUpgradedASPNET4WebFormsApplications.aspx\">http://www.hanselman.com/blog/IntegratingASPNETMVC3IntoExistingUpgradedASPNET4WebFormsApplications.aspx

<一个href=\"http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx\">http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx

这篇关于ASP.NET MVC一起在同一个web应用程序的Web窗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆