Skip to content

Commit 3ff0fef

Browse files
committed
Updates
1 parent 001f535 commit 3ff0fef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/blazor/state-management/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public class ShutdownCircuitOptions
226226
}
227227
```
228228

229-
Using the following approach, the fact that the code sends the `RequestCircuitPauseAsync` asynchronously doesn't mean that upon returning the value that the client is already paused. It's only a request to pause that client, which the client can defer. That's why the code includes `_shutdownTcs`, which is set when there aren't any circuits connected (all of them are successfully shut down). In case a client requests a deferral longer than server allows, a period longer than `ShutdownTimeout`, that client doesn't have their state persisted and experiences a normal connection loss.
229+
Using the following approach, the fact that the code sends the `RequestCircuitPauseAsync` asynchronously doesn't mean that upon returning the value that the client is already paused. It's only a request to pause the client, which the client can defer. That's why the code includes the <xref:System.Threading.Tasks.TaskCompletionSource> (`_shutdownTcs`), which is set when there aren't any circuits connected (all of them are successfully shut down). In case a client requests a deferral longer than the server allows, longer than `ShutdownTimeout`, the client doesn't have their state persisted and experiences a normal connection loss. Other clients that don't defer the pause request have their connections re-established after the app goes back online.
230230

231231
`Shutdown/CircuitShutdownService.cs`:
232232

aspnetcore/release-notes/aspnetcore-11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: wadepickett
55
description: Learn about the new features in ASP.NET Core in .NET 11.
66
ms.author: wpickett
77
ms.custom: mvc
8-
ms.date: 05/12/2026
8+
ms.date: 05/13/2026
99
uid: aspnetcore-11
1010
---
1111
# What's new in ASP.NET Core in .NET 11

0 commit comments

Comments
 (0)