You can turn it off in Properties\launchSettings.json
, e.g.:
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:46186",
"sslPort": 44347
}
},
"profiles": {
"ASP.NETCoreWebApplication1": {
"commandName": "Project",
"launchBrowser": false, <---- THIS
"applicationUrl": "https://localhost:7104;http://localhost:5171",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": false, <--- THIS
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
}
}
}
}
You can then confirm this change in Run
->Edit Configuration...
:
