Sunday, August 23, 2015

ASP.NET Web API

Don't use ASP.NET MVC 4 Web API project template, it has all kinds of non-web service crap in it.

Use "ASP.NET Web Application" under Web, select "Empty" project and check the Web API checkbox. It will register a default route template and if you create a new controller you'll have a working service.