Last post Feb 17, 2017 09:58 AM by TonyHelp
Feb 17, 2017 03:43 AM|Balaji Marimuthu|LINK
Why Does webAPI works only with Attribute Routing (All operations GET, POST, PUT, DELETE) and not with the routing configured under Startup.cs - Configure method?
Feb 17, 2017 09:58 AM|TonyHelp|LINK
Migrating from ASP.NET Web API, in ASP.NET Core MVC, attribute-based routing is now included by default when UseMvc() is
called; and, this is the recommended approach for configuring Web API routes (and is how the Web API starter project handles routing).
For the reason why center routing is not available, I suggest you check below discussion.
#Web api - conventional routing instead of attribute routing