Following the Getting Started Guide: https://blazor.net/docs/get-started.html
Blazor Language Services Version:

dotnet version:

Creating a new blazor project, the solution successfully builds but when run (Ctrl+F5) the ASP.NET Core Web Server outputs this error:

and the page itself shows a 502 error:

So far the only way to solve this for me was to delete the global.json file that comes with the template. Other than deleting the global.json file no other changes were made
I did not see this mentioned in any of the other issues, so please let me know if this is a known issue or if i've got something configured incorrectly or if there is a better way to work around this 502 issue
Thanks!
I faced the same issue yesterday after i updated my .NET core version to 2.1.400. The global.json file has the following definition by default in the template project.
"sdk": {
"version": "2.1.300"
}
Hence it won't run on 2.1.400
You can have following two solution to this problem -
"sdk": {
"version": "2.1.400"
}Looks like the same as aspnet/Blazor#1324
In case it helps, is your startup object set? It seems that may be cleared under certain conditions, changing startup project for instance, not restricted to Blazor.
AnkitSharma-007 was correct, it was a problem with the version of the sdk that the template provides. updating that value to
"sdk": { "version": "2.1.400" }
resolves my problem
Thank you
Most helpful comment
I faced the same issue yesterday after i updated my .NET core version to 2.1.400. The global.json file has the following definition by default in the template project.
"sdk": { "version": "2.1.300" }Hence it won't run on 2.1.400
You can have following two solution to this problem -
"sdk": { "version": "2.1.400" }