Versions wise features in ASP.NET MVC

ASP.NET MVC 3 

  • Extensible Scaffolding with MvcScaffold integration
  • HTML 5 enabled project templates
  • The Razor View Engine
  • Support for Multiple View Engines
  • Controller Improvement
  • Global Action Filters

However, in some cases you might want to specify pre-action or post-action behavior that applies to all action methods. MVC 3 lets you specify global filters by adding them to the GlobalFilters collection

      public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }


  •  "ViewBag" Property
  •   New "ActionResult" Types


HttpNotFoundResult.
RedirectResult
HttpStatusCodeResult.


  • JavaScript and Ajax
  • Model Validation Improvements
  • Dependency Injection Improvements


ASP.NET MVC 4 


ASP.NET Web API, a framework that simplifies the creation of HTTP services and serving a wide range of clients.
Adaptive rendering and other look-n-feel improvements to Default Project Templates.
A truly Empty Project Template.
Based on jQuery Mobile, new Mobile Project Template introduced.
Support for adding controller to other project folders also.
Task Support for Asynchronous Controllers.
Controlling Bundling and Minification through web.config.
Support for OAuth and OpenID logins using DotNetOpenAuth library.
Support for Windows Azure SDK 1.6 and new releases.

ASP.NET MVC5

Creating your first ASP.NET MVC 5 Application in 4 simple steps
ASP.NET Identity for authentication and identity management. Thesedays, modern applications are developed for broader range of clients such as web, mobile in mind. Also, users are actively using their social identities from various social channels like facebook, youtube, twitter etc. ASP.NET Identity is a new Membership system to handle authentication and authorization for variety of clients as well as using user’s existing social identities.
Authentication Filters for authenticating user by custom or third-party authentication provider.
With the help of Filter overrides, we can now override filters on a method or controller.
Bootstrap replaced the default MVC template.
Attribute Routing is now integrated into MVC5. Basically, MVC Routing is an excellent way to create human friendly and Search Engine Optimized URLs. You can easily get understanding about Routing in ASP.NET MVC here. Attribute based routing enables us to define routes along with action methods as follows:


Thanks for visiting this blog. How is the content?. Your comment is great gift to my work. Cheers.

No comments:

Post a Comment