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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube