Dotnetcs

Simply Blogging

Categories: Blazor

Blazor Server's async void Will Kill Your Circuit

Blazor Server's async void Will Kill Your Circuit

Pramod Pramod

Your Blazor Server page polls the server every 30 seconds. The user reads it, then navigates away to another page. And that's the moment their entire session dies — the red banner, full reload, gone. No stack trace in the UI. No obvious repro. The bug is hiding in two little words: async void.

Read More
Zero-Rebuild Static File Hosting in Blazor: Shipping Downloadable Resources Without Touching Your Build Pipeline

Zero-Rebuild Static File Hosting in Blazor: Shipping Downloadable Resources Without Touching Your Build Pipeline

Pramod Pramod

A practical guide for developers who need to ship files, landing pages, or downloadable content from a live Blazor app — without a redeploy every time a file changes.

Read More