tags:

views:

227

answers:

3

Simple as it is : Why to move to Asp.NET MVC & why not to move ( if there is any reason ) ?

Added

Is it a necessity to move ? Can we say the future belongs to asp.net mvc ? How many years do you think it can stays on top ?

+1  A: 

also looking at moving at the moment.

the main bonus for me is the complete control over layout. i'm also looking into implementing a restful API which the MVC model works very nicely with because of the path structure.

Josh

Josh
Josh , Have you moved ? How was your experience ?
Sypress
+1  A: 

If we move for MVC we can add or edit any module so easyly. So we can add any new module just like a plugin

Nagu
+2  A: 

MVC is much more well constructed, allowes for much better code seperation and control over markup, and is much lighter on the server, that IMHO the only reason not to move is if you have a legacy .NET application (or other) that is working flawlessly, and you're not expected to perform serious adjustments / fixes on it in the near future.

If you do decide to move, you should know that you'll be able to reuse very little of your webforms GUI and user controls, since MVS is built a bit differently. You class libraries you could reuse, if they're written well. In any case, writing stuff in MVC is much faster than in WebForms, even if done from scratch.

synhershko
Can we use the controls that we have made for Forms platform on MVC ,or How hard is to move them to MVC ?
Sypress
Not directly within MVC, as ASCX in MVC are used for Partials. MVC and WebForms are completetly different and incompatible frameworks, hence WebForms user-controls will not work with MVC as-is (for example, UCs rely on ViewState and page life-cycle and MVC doesn't have it at all). Porting WebForms ASCX to MVC compatible Views/Partials really depands on your code, level of concerns separation, and flow. You might want to check a 3rd option - combining MVC and WF in your project - see http://www.springerlink.com/content/p135205160712rm6/.
synhershko
Also, you might want to check the SO questions Matthew Flaschen linked to in a comment to your question.
synhershko
thanks I'll check everything related to this ;)
Sypress