What is ASP.NET MVC 5?  New Features in ASP.NET MVC 5

What is ASP.NET MVC 5? New Features in ASP.NET MVC 5

What is ASP.NET MVC 5? 

The ASP.NET MVC 5 Web project templates integrate seamlessly with the One ASP.NET experience. The developers can customize the MVC project and configure authentication by using the One ASP.NET project creation wizard.

ASP.NET MVC 5 is the latest version of the popular ASP.NET MVC technology which enables you to build any dynamic websites with the help of Model-View-Controller technology with the emphasis on a clean architecture, test-driven development (TDD) and extensibility. It provides a high-quality programming model that can build dynamic and data-driven websites.

ASP.NET MVC 5 contains numbers of improvements and new features with improved user experience, native support for JavaScript libraries so that you can build multi-platform SCC and HTML5 to provide better tooling supports websites.

Some of the new features of ASP.NET MVC 5 are as follows:

  • ASP.NET Identity
  • Authentication Filters
  • Bootstrap
  • Scaffolding
  • Attribute Routing
  • Filter Overrides
  • One ASP.NET

1. ASP.NET Identity:

The MVC project templates of ASP.NET have now been updated to ASP.NET identity for authentication and identity management. The advantages of ASP.NET Identity are given below:

  • One ASP.NET Identity System: This can be used to all types of ASP.NET Frameworks including MVC, WebForms, Web API, Web Pages, SignalR, etc.
  • Persistence Control: ASP.NET Identity system can able to store all types of user information in their database.
  • Ease of Logging in Profile Data: The user’s profile schema information can be integrated through the web application.
  • Social Login Provider: Social login providers like Facebook, Twitter, Microsoft Account, Google and others are able to add with the web application.
  • OWIN Integration: OWIN can be used for Authentication login.
  • Windows Azure Active Directory (WAAD): The login information from WAAD can be used for authentication of any web application.

2. Authentication filters:

Authentication filter of ASP.NET MVC 5 is a new kind of filter that runs prior to authorization filters in the ASP.NET MVC 5 pipeline and allow the developers to specify the authentication logic per-action, per controller or worldwide for all the controllers. Authentication Filters process recommendations in the request and provides a corresponding principal. Authentication filters can also add authentication challenges in terms of the response to unauthorized requests.

3. Bootstrap:

The MVC project templates have been updated to use Bootstrap which provides a smooth and responsive look and feels that you can easily customize. Bootstrap is a free collection of HTML and CSS based design templates that have been created at Twitter for design forms, buttons, navigation, tables, etc. The advantage of Bootstrap is - it can be used for the rapid development of a responsive user interface which is using basic HTML and CSS based templates. In ASP.NET MVC 5 project, bootstrap.js and bootstrap.css are already present.

4. Scaffolding:

 It is a code generating framework for ASP.NET Web Applications will make it easy to add boilerplate code to the project which can interact with the data model. When using scaffolding, all required dependencies are installed in the project. Adding ASP.NET MVC 5 scaffolding to a Web Forms project will make the project easier.

5. Attribute Routing:

ASP.NET MVC 5 supports attribute routing. With the help of the attribute routing, you can now specify your routes by explaining your actions and controllers.

6. Filter Overrides:

You can now override filters to apply it in a given action method or controller with the help of an override filter. It is a set of filter types that should not be run for a given scope (action or controller). This will allow the developers to configure filters that can apply globally and then exclude certain global filters from applying to specific controllers or actions.

7. On ASP.NET:

One ASP.NET can help the Web MVC project templates to integrate seamlessly. You can customize your project and configure authentication by using One ASP.Net project creation wizard.

Last updated:12/12/2019 6:35:30 AM
sourav kumar

sourav kumar

sourav kumar is passionate blogger. he has 2 year experience in seo. currently working with afinoz as a seo lead.

1 Comments

Shrikant Mishra
Shrikant Mishra

These are some New features in MVC 6:

  • System.Web.Dll dependency removed
  • Single based Controller for MVC and Web API
  • Supports other hosts in addition to IIS
  • Environment based configuration system
  • New Roslyn Compiler
  • Cloud-optimized Applications
  • Dependency injection
  • Supports OWIN
  • Everything is packaged with NuGet
  • Side-by-side deployment
  • New JSON based project structure

Leave Comment