asp.net-MVC和WebForms的共存 [英] asp.net-mvc and webforms co-existing

查看:200
本文介绍了asp.net-MVC和WebForms的共存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个庞大的面向客户的Web应用程序在这里。最近,我们重新写了网上团购的experiance,使其更快。我使用ASP.Net MVC的建议的作为我有点这里唯一一个知道它没有采纳。

We have a massive client facing web application here. We recently re-wrote the buy online experiance to make it quicker. My suggestion of using ASP.Net-MVC was not taken on board as I'm kinda the only one here that knows about it.

现在,我们即将踏上重建网站的另一部分,我又不能使用MVC,因为这里没有一个人,不管多少次,你问他们,一直困扰着研究的框架。

Now we are about to embark on redeveloping another section of the site and again I can't use MVC because no one here, no matter how many times you ask them, has bothered to research the framework.

而不是留下进出再次在寒冷的,我真的很喜欢在MVC框架重新写的部分。

Rather than be left behind and out in the cold again, I'd really like to re-write the sections in the MVC framework.

我想我可以摆脱它,如果我能混合WebForms和MVC,但似乎有对技术的文献很少。

I think I could get away with it if I could mix WebForms and MVC but there seems to be little literature on the technique.

我需要能够去MVC从网页页面的WebForm,反之亦然无缝连接。

I'd need to be able to go to MVC pages from WebForm pages and vice-versa seamlessly.

香港专业教育学院读这篇文章,它的伟大,但有没有更多?

Ive read this article and it's great but are there any more about?

有没有人真正做到了这一点,并successfuly部署呢?我想听到任何战争的故事,技术,技巧,技巧和陷阱。

Has anyone actually done this and deployed it successfuly? I'd like to hear any war stories, techniques, tips, tricks and gotchas.

我在寻找尽可能多的文学,我可以得到我的手,这样,当该项目揭开序幕我可以present令人信服的权力,是。

I'm looking for as much literature as I can get my hands on so that when the project kicks off I can present a convincing case to the powers that be.

先谢谢了。

推荐答案

第12章专业ASP.NET MVC 1.0 被称为两全其美:Web Forms和MVC一起。它究竟涵盖了你提出的问题。好消息是,有没有很多吧。这本书的作者是团队摇滚明星罗布科纳,斯科特Hanselman的,菲尔哈克,和Scott Guthrie的。我发现学习ASP.NET MVC的时候作用。

Chapter 12 in Professional ASP.NET MVC 1.0 is called Best of Both Worlds: Web Forms and MVC Together. It covers exactly the issue you raise. The good news is that there is not a lot to it. The book was written by team rock-stars Rob Conery, Scott Hanselman, Phil Haack, and Scott Guthrie. I found it instrumental when learning ASP.NET MVC.

此外,这里的所谓 文章整合ASP.Net MVC进入现有的ASP.Net Web应用程序 ,讨论它。

Also, here's an article called Integrating ASP.Net MVC Into An Existing ASP.Net Web Application that discusses it.

更新:原来你也可以下载草案的副本的 两全其美 章的免费。这是一个裸草案 - 不是最后的书章。但​​可能是值得检查

UPDATE: Turns out that you can download a copy of the draft Best of Both Worlds chapter for free. This is an "Uncorrected Draft - Not Final Book Chapter" but might be worth checking out.

这篇关于asp.net-MVC和WebForms的共存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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