Neil Mutschler's Picture

Neil Mutschler

Attribute Routing in .NET Web API

A feature that has just recently been released in the ASP.NET Web API 2 framework, which the Second Street API recently upgraded to, is attribute routing. Before Web API 2, we were constrained to convention based routing using route templates in a global WebApiConfig.cs, which looks like this: public static class WebApiConfig { public static void Register(HttpConfiguration config)…
Continue Read