views:

70

answers:

4

Recently I ran into this open source project ASP.NET WebformsMVP.

It seems like an alternative to asp.net mvc and also a quick way to introduce testability into an existing webforms applications. (without having to go through the pain of rewriting a bunch of code to make it work for asp.net mvc)

Of couse community support and open-source projects abandonment is always a concern when trying new things, but moving on from those fears, has anyone giving it a serious try at this framework? If so, can you share some insight into its pros/cons and if it's really worth trying it?

Thanks a lot!

+1  A: 

Here's a new article on the Web Forms MVP Architecture:

http://www.devproconnections.com/article/aspnet2/Working-with-WebFormsMvp.aspx

The official ASP.NET MVP site:

http://webformsmvp.com/

IrishChieftain
Thanks for the links. I had read the article and seen the site before. I am looking for some feedback from someone that has already used the framework. Some real world pros and cons scenarios.
Diego C.
I haven't used it. I have heard good feedback but have also heard that it involves as much effort as MVC. I would factor my long-term plans into my decision rather than any short-term gain. If the project is urgent I'd go with MVP but if you have a choice, I would favor MVC; am heading in that direction myself.
IrishChieftain
Yes, I was having the same thought process. Thanks for your feedback!
Diego C.
No problem. If you think this answers your question, please mark as answer :-)
IrishChieftain
A: 

Check out this article with a nice implementation:

http://www.avantprime.com/articles/view-article/2/model-view-presenter-(mvp)-design-pattern-in-asp.net

DaTribe
Thanks for the link. I was familiar with mvp pattern, what I am looking for is feedback from someone that has actually used the open source project WebFormsMVP.
Diego C.
+1  A: 

WebformsMVP is included in DotNetNuke now, so we have started using it indirectly as part of custom module development within DNN.

I don't think we're fully utilizing everything the framework is capable of, but have had no problems to date. The implementation is very clean and simple to implement, and retrofitting existing webforms code is fairly straightforward. For us the learning curve has been minimal.

We have run into a number of cases where we aren't certain of the "right" way to do things, and have found pretty limited guidance online. (Try as I might to avoid it, sometimes I just have to poke some stuff into the ViewState.) But, with it being used by the DNN team, we feel pretty confident that it will not fade away soon, and a growing number of examples should appear online.

Of course I encourage its use, even if only for the selfish reason of wanting to see the community grow.

Jim Ross
Hi Jim,It's good to know that someone big like DNN is using webFormsMVP. I would be interested to hear your thoughts about it as you implement your custom module.
Diego C.
A: 

You might be interested in this Hanselminutes podcast on the WebForms MVP framework. There, the interviewee goes a bit into how this framework has been tried and tested in the real world.

steinar