Let’s we have a look into some of the new features which have been introduced in ASP.NET MVC 5. Some of the functionality provides the new features in previous version of MVC, but now some of the features have been improved and released in MVC 5.
Some of the new features are
- ASP.NET Identity
- One ASP.NET
- Attribute Routing
- Filter Overrides
ASP.NET Identity :
It can be used by any ASP.NET framework such as ASP.NET MVC and Web Forms. Using the Identity functionality, we can easily include the third party authentication in to our application/website like Facebook,google,linked in…
In Application user can able to login using a user-name and password which are stored in the database/application.
Now-a-days,users are closely coupled with social sites like Facebook, Twitter etc. So considering these social integration, our web based applications need to allow users to login into website using third party login credentials. There are numerous sites that support open-ID protocol such as google.
Using filter overrides, we can apply filters to the action method or controller which particularly excludes the global filter or the controller filter for the particular action method or controller.
If we want to override any of the global action filter in our action , then we just need to apply
the OverrideActionFilters attribute like below.