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.
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.
Rather than be left behind and out in the cold again, I'd really like to re-write the sections in the MVC framework.
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.
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?
Has anyone actually done this and deployed it successfuly? I'd like to hear any war stories, techniques, tips, tricks and gotchas.
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.
Thanks in advance.
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.
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.
精彩评论