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

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube