What is the difference between ASP.Net MVC and ASP.Net MVC2? - asp.net-mvc

I've decided to take the suggestion from Robert Harvey on this site and build an application using ASP.Net MVC.
When I went to Bing for a brief overview, I saw there was an MVC2.
What is the difference and should I care?

MVC2 is backwards compatible with MVC, so MVC2 is the one you will be using.
For the new features in version 2, see here:
http://weblogs.asp.net/scottgu/archive/2010/03/11/asp-net-mvc-2-released.aspx

Just use MVC v2 if you have the option. It is an evolved version of MVC 1 with many useful enhancement. See ASP.NET MVC 2 Released for more info.

Related

Sample MVC3 Razor application

Is there a sample application using MVC3 with Razor, something similar to the NerdDinner website where I can review the source code?
Looks like NerdDinner has been updated for MVC3 according to the CodePlex changeset in August `11.
Check out the MVC3 Music Store
Check for MVC Music Store MVC MusicStore, but check for the lastest committed versions, as the last committed version have some problems.
Check for tampaDev site. Tampadev.org mvc3 samples
Codeplex tagged projects Codeplex Asp.net mvc3
Refer the book "Pro ASP.Net MVC3 Framework" By Adam Freeman and Steven Sanderson. They are clearly explaining MVC3 Pattern, its language features and essential tools for MVC3. In addition, it demonstrates step by step development of a sample sport store application with source code.
There's a really good stuff I think in Applied ASP.NET 4 In Context http://www.amazon.com/Applied-ASP-NET-Context-Adam-Freeman/dp/1430234679. There's an example ASP.NET MVC application!
Good luck!

asp.net mvc 2 to mvc 4

I would like to update my project from:
ASP.NET MVC 2 with Entity Framework 4.
to
ASP.NET MVC 4 and Entity Framework 4.1
How can this be done?
You may take a look at the ASP.NET MVC 4.0 release notes which explain how to upgrade from an ASP.NET MVC 3 application. And the release notes of ASP.NET MVC 3.0 explain how to upgrade from ASP.NET MVC 2.
As far as upgrading from EF 4.0 to EF 4.1, it's as simple as updating the assembly reference. Of course if you wanted to do Code First approach you will have to make more extensive modifications.
Instead of doing it manually which will indeed take a lot of effort....why not check out my answer to a similar question and use ASP.NET MVC 3 Application Upgrader to go from MVC2 -> MVC3 and UpgradeMvc3ToMvc4 to go from MVC3 -> MVC4.

Asp.net - MVC1 vs MVC2

can any one precisely explain the difference between ASP.NET MVC1 vs MVC2.. and if i'm having a project in MVC1, how can i migrate it to MVC2 ?
MVC 2 is a later version of the same library.
To upgrade to it, read this page.
There is a conversion utility, see here: http://weblogs.asp.net/leftslipper/archive/2010/03/10/migrating-asp-net-mvc-1-0-applications-to-asp-net-mvc-2-rtm.aspx

ASP.NET MVC 2.0 overview information?

I have heard that Microsoft is developing a MVC 2.0 platform for Visual Studio 2010.
Does anyone have a good source of information about the upcoming project?
Specifically, an overview of the changes and new features?
The roadmap was recently published on the CodePlex site:
ASP.NET MVC Roadmap
There's a Roadmap for MVC, including 2.0, at CodePlex. Also, you may want to follow Phil Haack's blog -- lot's of info there.
The new strongly typed Html helpers are really nice and work well arlready in the MVC futures library.

Where to get Microsoft.Web.Mvc.dll

Where do you get Microsoft.Web.Mvc.dll? I see it included in a lot of ASP.NET MVC open-source projects but it's not on my system after having installed ASP.NET MVC Beta and .NET 3.5 SP1.
In the ASP.NET MVC Beta source code from codeplex.com the Microsoft.Web.Mvc.dll is produced by the MvcFutures project. Is everyone compiling this module themselves?
EDIT: now that I know what it's called I see where Scott Gu mentions it in his release notes: ASP.NET MVC Futures Assembly
That's the MVC Futures project.
MVC 1.0 Futures:
http://aspnet.codeplex.com/releases/view/24471
MVC 2 Futures:
http://aspnet.codeplex.com/releases/view/41742
MVC 3 Futures:
http://aspnet.codeplex.com/releases/view/58781
Looks like this is the final 1.0 version !
ASP.NET MVC v1.0 Futures
application, 104K, uploaded Mar 12
The above page has been moved to http://aspnet.codeplex.com/releases/view/24471. From there download the Data Annotations Model Binder Sample. Then compile it and build it.
For anyone who might still be looking for this many years later (to revive an old bit of source code, for example, as I was), there are now Nuget packages for the various versions of MVC Futures (which gives you access to the Microsoft.Web.Mvc namespace).
They are imaginatively named, after the version of MVC they belong with:
Mvc2Futures
Mvc3Futures
Mvc4Futures
...apart from the MVC 5 one, which is called
Microsoft.AspNet.Mvc.Futures
IIRC, it was already built and included.
For ASP.NET MVC RC1 the new address is
http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=22359
Tak a look at this blog. It highlights areas of the MVC Future
http://msmvps.com/blogs/luisabreu/archive/tags/MVC/default.aspx
You have to download the Data Annotations Model Binder Sample at http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471 . Then compile and build the project.

Resources