Embedding a Leaflet map on a Blazor SPA

Note: The sample code below was created and tested in a WebAssembly Blazor App stand alone… An object reference is required for the nonstatic field, method, or property ‘member’ Let’s create the object class, whose object reference will be passed to your JavaScript’s object when initialized. When the user clicks on a location on the … Read more

Cannot debug Blazor wasm

I managed to get it working with Microsoft’s Edge browser. Although I’m using VSCode on linux, it should be similar for Visual Studio on Windows / Mac, because I believe the underlying Roslyn-based tooling is the same. Update dependencies Ensure you’re using the latest SDK version: 6.0.202. Check using dotnet –version. Install Edge Get the … Read more