Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Created December 19, 2020 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbrownnycnyc/032c7e2f5a0df81d668c3ca87e09825c to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/032c7e2f5a0df81d668c3ca87e09825c to your computer and use it in GitHub Desktop.
Blazor tutorial notes

blazor

why?

I know c# and always had trouble spending the time to learn full web framework and all the internals of making a web site. This didn't stop me from having ideas for sites, even easy sites.

This is my write up for notes extending the MSFT blazor tutorial: https://dotnet.microsoft.com/learn/aspnet/blazor-tutorial/run

cautions

  • when attempting to dotnet run the blazor site, I discovered kestral (whatever that is) wouldn't bind to tcp port 5000, as noted in ./BlazorApp/Properties/launchsettings.json.
  • I came across an interesting thing, that KB4074588 causes some ports to be reserved for Windows Updates, so they can't be used by local apps. One of these ports is tcp 5000, which is default in the above launchSettings.json file. Change that port number, and you're good. 8080 is probably fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment