ASP.NET Web API base API route / route prefix?
Is there a way to specify that I'd like all my API routes to begin with a prefix?
So that I can make
[Route("/upload")]
and have it be /api/upload
, without having to prefix every single controller with /api
0 Replies