I m working on Web API project, and it is using WebApiConfig.cs
file to defined routs for Web API.
Web API fold RouteConfig.cs
file. I have googled and they say RouteConfig.cs
is for MVC routing. It is actually a confusing statement. Can you please guide why WebAPI has RouteConfig.cs
file ? Why would one need MVC routing in Web API ? What function it will do ?
Thanks for your help and guidance.