Home/MVC/What’s New Feature in MVC 5?

What’s New Feature in MVC 5?

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

  • Scaffolding
  • ASP.NET Identity
  • One ASP.NET
  • Bootstrap
  • 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.

Filter overrides

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.

public class ItemsController : Controller

READ  Creating Multiple Web.Config files

public ActionResult GetItems(string itemId)


One ASP.NET is a new unified project system for .NET Web Developers. It makes developer to work with multiple frameworks like MVC, Web API, Web Forms etc., in a single Application/project.

In simple, using the feature of One ASP.NET we can use ASP.NET Web Forms and MVC together in the same Web application.

Attribute Routing

By using attribute routing we can define the route in the same place where controller/action is defined. So we can decouple controller and action names from route entirely.

public ActionResult GetElectronicItems(int? id) {


In MVC5 project, Bootstrap is available by default in new MVC5 projects. We can also include in MVC4 by using Nuget. Bootstrap is nothing but a collection of css classes with more responsive for all devices. Now-a-Days, Bootstrap has become an increasingly popular front-end development framework for designing rich and responsive web pages. The Bootstrap framework provides several benefits for developing rich pages.

Note : By up-coming posts, we will analyse more details about each  MVC 5 feature topic with sample examples. Keep on Reading

Leave A Comment