Over the past 6 months, ASP. NET Development team has been publishing the preview version of ASP.net MVC 2, then the beta, and now the RC (the final version of the candidate version).
Given that the final release is not too far off, I think it's time to start a new asp.net MVC 2 blog series with multiple sections designed to discuss new features and how to make the most of them.
asp.net MVC 2
Last March, we released ASP.net MVC 1.0. Since then, almost 1 million developers have downloaded and used the final version of 1.0, and its popularity (popularity) has increased by month.
asp.net MVC 2 is the next major update to ASP.net mvc, and it is compatible with ASP.net MVC 1, which is that you have all the knowledge, skills, code, and extensions about ASP.NETMVC, and then you can continue to play a role. As in the first release, we will still be releasing the source code for ASP.net MVC 2 under open Source license compatible with OSI.
asp.net MVC 2 features
asp.net MVC 2 adds a bunch of new features and features. I'll discuss them in depth in this blog series, including the following:
New strongly-Typed HTML helper method (published on January 10, 2010) Enhanced Model Validation support across both server and client (soon to be published) Auto-scaffold UI Helpers with Template customization (soon to be published) Support for partitioning SCM to "applications" (soon to be published) Areas Controllers support (soon to be published) support for rendering sub-sections of a page/site using html.renderaction (soon to be published) Lots of New Helper functions, utilities, and API enhancements (soon to be published) improved Visual Studio Tooling support (soon to be published) How to download asp.net MVC 2
asp.net MVC 2 is designed to work with VS 2008/. NET 3.5 and vs. NET 4. Supporting 2 versions at the same time means you can start using today without having to wait for upgrades to VS2010/. NET 4.
Click here to download the RC version of ASP.net MVC 2 for. NET 3.5 and VS 2008, which can be installed alongside ASP.net MVC 1.0 on the same machine.
asp.net MVC 2 is a built-in component of VS. NET 4, which means that after you install any version of Visual Studio2010, you can get asp.net MVC 2 without downloading or installing anything else. The current open vs Beta2 version contains the second preview of ASP.net MVC 2. The VS RC version to be released next month will have a relatively new ASP.net MVC 2 RC version.
asp.net Web Forms + asp.net MVC
We are always careful to show that asp.net mvc is an option in asp.net. asp.net WebForms will continue to be the most widely used way to build applications using ASP.net, and the new ASP.net version 4 contains significant improvements for ASP.net WebForms development (clean client ID and CSS based control IDs). Better viewstate management, new data and chart controls, url-oriented, SEO improvements, and more, you can learn more about these improvements in the VS 2010 and. NET 4 Blog Series I write.
In future releases, we will further improve and enhance the 2 programming models of asp.net Web Forms and asp.net mvc, and developers can and should choose the most comfortable and natural models for them. Soon we will post new videos and guides on the www.asp.net to help provide additional guidance for each model and how to choose the model that feels the most comfortable for you.
I hope this article will help you,
Scott