The Blazor Puzzle 79 - Blazor WASM Connectivity Indicator (No JavaScript Hacks!) @DeveloperExpress
The Blazor Puzzle 79 - Blazor WASM Connectivity Indicator (No JavaScript Hacks!)  @DeveloperExpress
Uploaded May 2025 | Updated September 2026, 2 weeks ago
πŸ”— Resources & Code:
github.com/BlazorPuzzle/Puzzle-79

Episode 79 of The Blazor Puzzle comes to you from Microsoft Build in Seattle! Carl Franklin and Jeff Fritz dive into building a connectivity indicator for Blazor WebAssembly apps, showing whether you're online or offline β€” perfect for PWAs.

πŸ”ŒπŸ’š Using green and gray Wi-Fi icons, they show how to dynamically update UI state based on real-time browser connectivity β€” all using Blazor components, JS interop, and RenderFragments… the Blazor way.

πŸ” What You’ll Learn:
βœ”οΈ How to detect online/offline status in a Blazor WebAssembly app
βœ”οΈ How to hook into navigator.onLine and listen for connectivity changes
βœ”οΈ Using [JSInvokable] and DotNetObjectReference to connect Blazor and JS
βœ”οΈ Swapping content with RenderFragments instead of JavaScript hacks
βœ”οΈ Why this approach is clean, testable, and reusable in PWAs

🧩 All wrapped up in a reusable ConnectivityIndicator componentβ€”just drop it in and go!

πŸ“« Got a clever Blazor trick or puzzle? Send it to blazorpuzzle@appvnext.com and you might win a Blazor Puzzle mug (or even get your name shouted out on the show!).

πŸ“Œ Want to level up your Blazor testing skills? Subscribe & join the puzzle! 🧩

Get Started Today – Free 30 Day Trial
dxpr.es/NUGET
dxpr.es/FREE-TRIAL

Pricing and Online Demos
dxpr.es/BUY
dxpr.es/DEMOS

We Are Here to Help
dxpr.es/SUPPORT

Follow DevExpress on Social Media
dxpr.es/FACEBOOK
dxpr.es/TWITTER
dxpr.es/BLOGS

Review Customer Testimonials
dxpr.es/TESTIMONIALS
dxpr.es/MARKETPLACE

#DevExpress, #devexpress_blazor
The Blazor Puzzle 79 - Blazor WASM Connectivity Indicator (No JavaScript Hacks!)Code It With AI - Copilot Skills (ep.17)Copilot Does Research (ep.26)New AI Features for Reporting (ASP.NET and Blazor)The Blazor Puzzle 23 -  The Mysterious Anti-Forgery Token Issue πŸ•΅οΈβ€β™‚οΈπŸ”DevExtreme React with Don and Gregory: DX Cloud Part 3Code It With AI - Build your first MCP Server with C# (ep.9)The Blazor Puzzle 71 - Track Dirty Fields Without Changing Your Models!CodeRush Feature of the Week: Voice SetupThe Blazor Puzzle 80 - The Hidden JavaScript Bug That Breaks Your Blazor AppLive Sessions with Amanda and Don : Migrating from WebForms to BlazorThe Blazor Puzzle 89 - Lighten the Load
DevExpress |

The Blazor Puzzle 79 - Blazor WASM Connectivity Indicator (No JavaScript Hacks!)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER