ASP.NET MVC 6 Tutorial :: Migrate ASP.NET Web API 2 To MVC 6
If you want to create a new MVC 6 project from the default starter template, it will contain the following code in the Startup class, under ConfigureServices method: // Uncomment the following line to add Web API servcies which makes it easier to port Web API 2 controllers. // You need to add Microsoft.AspNet.Mvc.WebApiCompatShim package …