views:

365

answers:

4

I am starting to develop a complex web application using S#arp Architectur and the Spark View Engine.

By default MVC 1.0 is used.

But i am thinking about upgrading everything to ASP.NET MVC 2.

Would u start developing in MVC 1 and upgrade to version 2 later or do the upgrade straight from the beginning?

Thanks for your advice,

-Ben

A: 

It all depends on how comfortable you are in using Beta software to develop production software.

If you feel that MVC 2.0 is stable enough for your production environment then go for it. We have a policy here that we never use Beta s/ware for anything other than training or investigation.

I think developing in 1 and then upgrading would be prudent yeah.

griegs
+3  A: 

At the end of the day it's risk vs reward as always.

MVC 2 is pretty much rock solid in my experience, but it's still beta software so if it goes tits up then whoever made the decision to use beta is in the firing line.

Do you actually need the features? If your gonna go and spending a lot of resources on coding the kind of features that are already included then perhaps it is better to use v2 straight away.

Paul Creasey
+1  A: 

If you're developing for your own interest, by all means go with MVC2. MVC1 certainly isn't without it's faults so it's not like you'd be giving up a perfect rock-solid foundation in favour of a buggier one, and it's not like it's an entirely new technology so there isn't really the same risk of wasted investment as if you were choosing something like, say, VB.NET vs J# (hands up who still uses J#?).

On the other hand if it's a serious commercial project with even remotely strict deadlines, I'd stick to MVC 1 and save your MVC 2 learning experiences for another day. You can at least feel moderately confident that the playing field isn't going to change at all with MVC 1 throughout your development cycle, whereas everything is fair game for changing in MVC 2. There probably won't be any more major breaking changes to MVC2, related tooling etc but why take that risk?

FerretallicA
Another factor to consider is support. MVC 1 has bugger all support as it is outside of a few community blogs. MVC 2 has even less. Where are you going to turn if something doesn't work, or possibly works but you have no idea how to do it? With MVC 1, there are enough resources available to better help yourself and you have a better idea what you're dealing with up front. MVC 2 is still no-man's land by comparison.
FerretallicA
+1  A: 

MVC 2

Regarding microsoft products (imho):
Version 1 is a beta - buggy and incomplete. Version 2 is what vesion 1 should be.

I am using MVC 2 RC for a very big CMS project and haven't had any issues. If you don't know MVC version 1 very well, I would go MVC 2, so you don't end up having to learn the old stuff and the new and get all confused.

I can attest that 2 is stable in my experience and I think the new features make it worth the risk. (Ask me again in a month after my project is LIVE :P )


UPDATE: Project is now live and running great on MVC 2. A full featured running on MVC 2 handling tens of thousands of users per day. NOW is the time to jump into MVC 2, it is awesome!!!


Jason