mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
Concurrent prerender requests racing inside NorthwindContext.SeedAsync left the shared in-memory store empty, breaking every page that dereferenced the seed data during OnInitializedAsync. Make seeding run once per process under a SemaphoreSlim and drop the swallowing catch so real seeding failures surface. The HttpClient registered for the WASM client was also used during server-side prerender, but its BaseAddress was taken from IServerAddressesFeature, which resolves wildcard binds (e.g. http://+:5000) to http://[::]:5000 — a valid listen address but not a valid connection target. Substitute a loopback host for wildcard binds.