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.
No comments:
Post a Comment