Sign in

What’s New in ASP.NET MVC 3

meenati biswal
What’s New in ASP.NET MVC 3

To understand the distinctive aspects and design goals of ASP.NET MVC, it’s worth considering the history of web development so far—brief though it may be. Over the years, Microsoft’s web development platforms have demonstrated increasing power, and unfortunately, increasing complexity asp.net framework

The headline feature in MVC version 3 is the introduction of the Razor View Engine. Previous versions of MVC have relied on the standard ASP.NET view engine, which depends on the ASP.NET <% and %> blocks (if you have done any kind of ASP.NET development, you are certain to have seen these in use). The Razor View Engine replaces the traditional blocks with the @ character.

The new notation is quicker to write and faster to compile than the old view engine. It also has more flexible features and allows for better unit testing.

ASP.NET MVC 3 - New Features

  • Razor view engine is one of the coolest new features in ASP.NET MVC 3.
  • Granular Request Validation
  • Sessionless Controller Support
  • Unobtrusive Ajax and Unobtrusive Client-Side Validation is Supported
  • Dependency Resolver
  • New Helper Methods
  • Child Action Output Caching

You can still use the previous approach, but the Microsoft team has made it clear that Razor is the future for asp.net  MVC. And we have used Razor for all of the examples.

Razor isn’t the only enhancement in MVC 3. The Visual Studio project tooling has been streamlined and there is better support for dependency injection. It also provides improved support for the JSON data format and JavaScript, including tighter integration with jQuery.

Get in-depth knowledge about asp.net to follow my blogs

meenati biswal
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more