I have started a default .Net Core WebAPI project using the 3.0 preview 8. I have removed the default weatherforecast
controller from the project, and added my own controller. However, starting the project always defaults to the route https://localhost:44380/weatherforecast
. I can not find the setting to change this. How do I set the default controller in .Net Core 3?
In Solution Explorer, click the "Show all Files" button.
It will show the Properties pseudo-folder. In launchSetting.json
the startup url is configured.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With