Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove weatherforecast default route

Tags:

asp.net-core

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?

like image 588
yesman Avatar asked Aug 27 '19 18:08

yesman


1 Answers

In Solution Explorer, click the "Show all Files" button.

It will show the Properties pseudo-folder. In launchSetting.json the startup url is configured.

like image 181
Henk Holterman Avatar answered Sep 18 '22 14:09

Henk Holterman