Tutorials Blazor Architecture & Enterprise Patterns

SignalR Connection Resiliency and Circuit management

On this page

Handling Disconnects

A robust Blazor app must handle the 'Internet is down' scenario gracefully. This is known as Circuit Management.

1. The 'Reconnecting' UI

By default, Blazor Server shows a gray overlay with 'Attempting to reconnect' text. You can customize this UI to match your brand. More importantly, you can optimize the **Retry Strategy** to be more aggressive or more patient depending on your user's network environment.

2. State Recovery

If the user loses their connection for more than the DisconnectedCircuitRetentionPeriod, their state is gone. To prevent user frustration, you should persist critical form state to **LocalStorage** frequently. When the user reconnects to a *new* circuit, your app can re-read the state from the browser and restore their progress.

3. Architect Insight

Q: "How many concurrent circuits can one server handle?"

Architect Answer: "On a standard 8GB RAM server, you can typically handle **2,000 to 5,000 concurrent users**. The bottleneck is usually **Memory**, not CPU, because each circuit holds the full state of the user's UI. This is why for public-scale apps, Blazor WASM or a micro-frontend approach is often a better architectural choice."

Questions on this lesson 0

Sign in to ask a question or upvote helpful answers.

No questions yet — be the first to ask!

Blazor Architecture & Enterprise Patterns
Course syllabus
1. Blazor Foundations
2. Component Architecture
3. Data & State Management
4. SignalR & Interactivity
5. Security & Data Protection
6. Advanced Performance
7. Testing & CI/CD
8. The Blazor Architect's Case Study
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details