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
- 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.
- you can see the list by checking the list with
netsh interface ipv4 show excludedportrange protocol=tcp
- ref: https://superuser.com/a/1504618/91174
- you can see the list by checking the list with