Watch dotnet run if there is https connection setting for existing project with;
dotnet watch -lp https
if you have profile for https, the connection automatically will open with your browser. Otherwise, create new https connection!
If https connection exist:
1 - Open the launchSettings.json file.
2 - Find the section where your profiles are listed.
3 -Change the order of the profiles so that the HTTPS profile is listed first.
4 - Save the changes to the launchSettings.json file.
RESULT: