ASP.NET Core 3 MVC suggests using IHost
instead of IWebHost
(HostBuilder replaces WebHostBuilder and .NET Generic Host Settings for web apps).
Here is a section of launch.json
"launchBrowser": {
"enabled": true,
"args": "${auto-detect-url}",
"windows": {
"command": "cmd.exe",
"args": "/C start ${auto-detect-url}"
},
"osx": {
"command": "open"
},
"linux": {
"command": "xdg-open"
}
},
This doesn't however launch the browser for debugging locally.
- OS: Linux
- Editor: VSCode