Setting default end point in ASP.NET Core API
15:27 12 Jan 2026

I have an ASP.NET Core API that uses Controllers. I want to set the default end point (Controller/Method) if user does not enter a specific end point.

I have an /about controller/end point that simply provides simple info such as version number, etc. about my API. So, if someone simply types https://myapi.mydomain.com, I want to automatically send the user to https://myapi.mydomain.com/about

How do I handle this?

P.S. As mentioned above, this is a controller based API that runs on .NET 10.

asp.net-core asp.net-web-api