News

Microsoft Releases RC1 of ASP.NET MVC

Microsoft today made available Release Candidate 1 (RC1) of its ASP.NET Model View Controller (MVC), a design pattern for test-driven development of enterprise-scale Web applications.

The RC, which offers several new capabilities and bug fixes, is feature-complete. The final release is slated to ship next month barring any critical issues in the RC, according to a blog posting by Scott Guthrie, corporate vice president of Microsoft's developer division.

The ASP.NET MVC, which works with Visual Studio 2008 and the free Visual Web Developer 2008, is Microsoft's answer to the popular Ruby on Rails framework used by Web developers for fast prototyping of apps based on the Ruby dynamic language. The Rails team announced in December that Rails 3 would merge with Merb, a modular Web framework.

Microsoft's implementation of MVC enables ASP.NET developers to move beyond WebForms to a commonly used architectural and design pattern that separates the app's database and XML (model), user interface elements (views) and logic (controller).

"MVC promises ASP.NET developers freedom from the increasingly onerous constraints of the page lifecycle and ViewState/Postback model," wrote Roger Jennings, OakLeaf Systems principal consultant, in a Redmond Developer News TechBrief on ASP.NET MVC.

Other MVC frameworks for ASP.NET include the open source MonoRail, sponsored by the Castle Project. MonoRail supports .NET 1.1, 2.0 and Mono.

Guthrie first unveiled ASP.NET MVC in late 2007 with the intent to release it in the first half of 2008. Since 2007, Microsoft has released five previews and one beta of the framework.

In his blog posting, Guthrie said RC1 includes bug fixes, new Visual Studio tooling and feature enhancements related to unit testing and AJAX, among other improvements. Some of the new VS capabilities include: 

  • Add Controller Command: Developers can now type "Ctrl-M, Ctrl-C" within an ASP.NET MVC project or right-click on the /Controller folder and choose the "Add->Controller" context menu item to create new controller classes.

  • Add View Command: This allows developers to type "Ctrl-M, Ctrl-V" within a Controller action method or right-click within an action method and choose the "Add View" context menu item to create new view templates.

Guthrie recommends developers read the release notes (available for download here) before upgrading to the RC from the previous beta.

comments powered by Disqus

Featured

  • Xamarin.Forms 5 Preview Ships Ahead of .NET 6 Transition to MAUI

    Microsoft shipped a pre-release version of Xamarin.Forms 5 ahead of a planned transition to MAUI, which will take over beginning with the release of .NET 6 in November 2021.

  • ML.NET Improves Object Detection

    Microsoft improved the object detection capabilities of its ML.NET machine learning framework for .NET developers, adding the ability to train custom models with Model Builder in Visual Studio.

  • More Improvements for VS Code's New Python Language Server

    Microsoft announced more improvements for the new Python language server for Visual Studio Code, Pylance, specializing in rich type information.

  • Death of the Dev Machine?

    Here's a takeaway from this week's Ignite 2020 event: An advanced Azure cloud portends the death of the traditional, high-powered dev machine packed with computing, memory and storage components.

  • COVID-19 Is Ignite 2020's Elephant in the Room: 'Frankly, It Sucks'

    As in all things of our new reality, there was no escaping the drastic changes in routine caused by the COVID-19 pandemic during Microsoft's big Ignite 2020 developer/IT pro conference, this week shifted to an online-only event after drawing tens of thousands of in-person attendees in years past.

Upcoming Events