Microsoft releases MVC upgrade for building Web apps

Microsoft this week made available a final release of ASP.Net MVC 2, which provides a Model View Controller pattern for building Web applications leveraging ASP.Net.

 

Version 2 is available for Visual Studio 2008/Visual Web Developer 2008 Express with ASP.Net 3.5, said Scott Guthrie, corporate vice president in the Microsoft Developer Division, in a blog entry on Thursday evening. A release candidate for ASP.Net MVC 2 was offered last month.

 

“ASP.Net MVC 2 is the next significant update of ASP.Net MVC. It is a compatible update to ASP.Net MVC 1 — so all the knowledge, skills, code, and extensions you already have with ASP.Net MVC continue to work and apply going forward,” Guthrie said. “Like the first release, we are also shipping the source code for ASP.Net MVC under an OSI-compliant open source license.”

 

Features in version 2 include improved Visual Studio tooling support, strongly typed HTML helpers, and enhanced model validation support across client and server. Other improvements include auto-scaffold UI helpers with template customization and support for splitting large applications into “areas.”

 

Support also is included for JavaScript validation in the browser. In addition, developers can use DataAnnotation support in the .Net Framework to declaratively define and add validation rules to business objects and properties. Additional capabilities include asynchronous controllers support for executing long-running tasks in parallel, support for rendering subsections of a page/site using Html.RenderAction, and new helper functions, utilities, and API enhancements.

 

The MVC framework, according to Microsoft, encourages developers to maintain a separation of concerns among the responsibilities of applications, including UI logic via the view, user-input handling using the controller, and domain logic using the model. ASP.Net MVC applications can be tested using techniques such as test-driven development. The framework is built on ASP.Net 3.5 Service Pack 1, enabling developers to leverage features such as authentication and authorization, profile settings, and localization.

 

Version 2 can be installed side-by-side with ASP.Net MVC 1, so applications built with version 1 can run on the same computer as applications built with version 2, Guthrie said.

 

ASP.Net MVC 2 can be downloaded using the Microsoft Web Platform Installer and is also available for download at the Microsoft Download Center. 

Would you recommend this article?

Share

Thanks for taking the time to let us know what you think of this article!
We'd love to hear your opinion about this or any other story you read in our publication.


Jim Love, Chief Content Officer, IT World Canada

Featured Download

Featured Articles

Cybersecurity in 2024: Priorities and challenges for Canadian organizations 

By Derek Manky As predictions for 2024 point to the continued expansion...

Survey shows generative AI is a top priority for Canadian corporate leaders.

Leaders are devoting significant budget to generative AI for 2024 Canadian corporate...

Related Tech News

Tech Jobs

Our experienced team of journalists and bloggers bring you engaging in-depth interviews, videos and content targeted to IT professionals and line-of-business executives.

Tech Companies Hiring Right Now