ASP.Net WebAPI area support

You can put Api controllers in any folder you like, you don’t need to create an Area like you did for MVC. What I usually do is create a subfolder ‘Api’ inside ‘Controllers’ folder of MVC site. Just register routes for your Api controllers and it will work.

Leave a Comment