ASP.NET MVC Framework






4.67/5 (3 votes)
Overview MVC (Model-View-Controller) now comes to ASP.NET too. As Scott Gu says "If you are looking to build your web applications using a MVC
Overview
MVC (Model-View-Controller) now comes to ASP.NET too. As Scott Gu says "If you are looking to build your web applications using a MVC approach, I think you'll find this new ASP.NET MVC Framework option very clean and easy to use. It will enable you to easily maintain separation of concerns in your applications, as well as facilitate clean testing and TDD." Scott has written a series of blog posts on this new addition to the ASP.NET family. Read them:
Note: However, please do not blindly use MVC pattern for each and every website that you create. Like most of the design Patterns, the MVC has its own disadvantages like performance hits and writing extra code.Make sure you dont take the pain without a reason.
- ASP.NET MVC Framework
- ASP.NET MVC Framework (Part 1)
- ASP.NET MVC Framework (Part 2)
- ASP.NET MVC Framework (Part 3)
- ASP.NET MVC Framework (Part 4)
Again, MVC model is only an additional model/approach to develop ASP.NET applications and not a replacement for the existing rendering ASP.NET framework.
Releases
Asp.Net MVC 3 RTM is released. You can download it from here:
To find out whats new in Asp.NET MVC 3 watch this link:
ASP.NET MVC framework 2.0 which can be downloaded here:
You can now also download the source code for the project at:
http://aspnet.codeplex.com/releases/view/41742
The first version of the ASP.NET MVC framework was 1.0, which can be downloaded here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b
ASP.NET MVC Documentation on MSDN
For the MVC tutorials, walkthroughs, code samples and reference topics on MSDN, see ASP.NET Model View Controller (MVC).
Example applications
- http://blog.wekeroad.com/mvc-storefront/ Fantastic walkthrough e-commerce store with full application lifecycle including agile and TDD design.
- http://amrelsehemy.net/post/2008/09/21/Introducing-jBlogMvc.aspx Blog engine based on ASP.NET MVC and jQuery
- http://yonkly.com/timeline ASP.NET MVC Twitter clone
- http://www.squaredroot.com/post/2008/09/24/AltDotNet-Presentation-20080924-Materials.aspx Troy Goode's presentation demo featuring a blog website
- http://www.codeplex.com/FlickrXplorer FlickR clone using ASP.NET MVC and the FlickR API
- http://www.codeplex.com/CarTrackr ASP.NET MVC sample application
- http://weblogs.asp.net/stephenwalther/archive/2008/10/29/jquery-and-asp-net-ajax-demo-code.aspx Movie database sample (with jQuery)
- http://www.codeplex.com/oxite Sample ASP.NET MVC CMS / blog engine from Microsoft
- http://www.codeplex.com/TheBeerHouse/SourceControl/ListDownloadableCommits.aspx TheBeerHouse, ASP.NET MVC version
- http://www.codeplex.com/nerddinner/ Sample application by Scott Hanselman, Scott Guthrie & Rob Conery on organizing dinners, written for their book (http://tinyurl.com/aspnetmvc)
- http://code.google.com/p/codecampserver/ Sample application which can be used when organizing conferences / code camps
- http://www.codeplex.com/Kigg ASP.NET MVC Digg-clone
- http://www.kooboo.com ASP.NET MVC CMS
Advanced concepts / blog posts
The following is a list of blog posts on advanced topics.
- The ASP.NET MVC request lifecycle (also on Stephen Walther's blog)
- ASP.NET MVC Preview 5 and Form Posting Scenarios - Tutorial on form validation using ASP.NET MVC and LINQ to SQL
- ASP.NET MVC Tip #43 – Use Data Annotation Validators - Use Data Annotation Validators to implement forms validation
- ASP.NET MVC Tip #42 – Use the Validation Application Block - Use the Validation Application Block to implement forms validation
- Building an ASP.NET MVC sitemap provider with security trimming - Code example for implementing a sitemap provider for ASP.NET MVC applications
- Extending ASP.NET MVC OutputCache ActionFilterAttribute - Adding substitution - Tutorial on implementing a custom OutputCache action filter which supports substitution
- Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC’s AntiForgeryToken() helper
- ASP.NET MVC custom ActionResult (ImageResult) - Creating a custom ActionResult in ASP.NET MVC which might replace a custom HTTP handler scenario
- Application Building - Tutorials on writing ASP.NET MVC applications
- jQuery and ASP.NET MVC - Ajax helpers for using jQuery and ASP.NET MVC
- http://haacked.com/ ASP.NET MVC 2 Beta and its new features
- http://weblogs.asp.net/scottgu/archive/2010/01/10/asp-net-mvc-2.aspx ASP.NET MVC 2 Features
Alternative view engines
Other resources
- http://www.asp.net/MVC/Gallery/ ASP.NET MVC design gallery
ASP.NET MVC in Real Life
DotNetShoutOut.com : http://dotnetshoutout.com/
DevMavens.net : http://devmavens.net/
StackOverflow.com : http://stackoverflow.com/
Books
- Professional ASP.NET MVC 1.0 by Rob Conery, Scott Hanselman, Phil Haack, and Scott Guthrie
- ASP.NET MVC in Action by Jeffrey Palermo, Ben Scheirman, and Jimmy Boggard
- Pro ASP.NET MVC Framework by Steven Sanderson
- ASP.NET MVC Framework Unleashed by Stephen Walther
- ASP.NET MVC 1.0 Quickly by Maarten Balliauw
- Beginning ASP.NET MVC 1.0 by Simone Chiaretta and Keyvan Nayyeri
- ASP.NET MVC 1.0 Website Programming: Problem - Design - Solution by Nick Berardi, Al Katawazi, and Marco Bellinaso
- ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution by Emad Ibrahim
- Programming Microsoft ASP.NET MVC by Dino Esposito