I try to host a .NET Core 3.1 service with Kestrel. I would like to set
/api custom path for the service.
This is the setup of my
WebHostUrl = "http://localhost:8088/api", HandlerFactoryPath = "api", ApiVersion = "1", DefaultRedirectPath = "~/metadata"
The service works, but after start the service the browser opens the
http://localhost:8088/ url instead of
http://localhost:8088/api/metadata url. How can I setup the host for the correct metadata page?