This issue might be raised earlier hence can be duplicate.
When we configure ASP.NET core app (MVC) we define and map routes under Startup.cs - Configure - app.useMvc(). And this works perfectly.
However, when WebAPI comes into picture, why we need to specify [Route("api/[controller]") specifically? In other way, webAPI only works with attribute routing?
Why can't Configure method handles this route configuration? Which was good option in earlier MVC/WebAPI (not core).
Am I missing anything?
startup.csinstead of each controller level