Skip to content

Commit 7ca3321

Browse files
authored
Merge pull request #36989 from dotnet/main
Merge to Live
2 parents 1cb6171 + 9fca99f commit 7ca3321

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/agents/whats-new-from-release-notes.agent.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ description: >
77
Use this agent when processing new .NET preview release notes into the
88
What's New article, or when checking for incremental updates to
99
already-processed release notes.
10-
tools:
11-
- githubread
12-
- lexical-code-search
13-
- semantic-code-search
1410
ai-usage: ai-assisted
1511
author: tdykstra
1612
ms.author: wpickett

aspnetcore/blazor/state-management/server.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,17 +160,17 @@ Pausing a circuit stores details about the circuit in client-side browser storag
160160

161161
From a JavaScript event handler:
162162

163-
* Call `Blazor.pause` to pause a circuit.
164-
* Call `Blazor.resume` to resume a circuit.
163+
* Call `Blazor.pauseCircuit` to pause a circuit.
164+
* Call `Blazor.resumeCircuit` to resume a circuit.
165165

166166
The following example assumes that a circuit isn't required for an app that isn't visible:
167167

168168
```javascript
169169
window.addEventListener('visibilitychange', () => {
170170
if (document.visibilityState === 'hidden') {
171-
Blazor.pause();
171+
Blazor.pauseCircuit();
172172
} else if (document.visibilityState === 'visible') {
173-
Blazor.resume();
173+
Blazor.resumeCircuit();
174174
}
175175
});
176176
```

aspnetcore/release-notes/aspnetcore-10/includes/blazor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ During server-side rendering, Blazor Web Apps can now persist a user's session (
686686
* Proactive resource management (pausing inactive circuits)
687687
* [Enhanced navigation](xref:blazor/fundamentals/routing?view=aspnetcore-10.0#enhanced-navigation-and-form-handling)
688688

689-
For more information, see <xref:blazor/state-management/server?view=aspnetcore-10.0#circuit-state-and-prerendering-state-preservation>.
689+
For more information, see <xref:blazor/state-management/server?view=aspnetcore-10.0>.
690690

691691
### Hot Reload for Blazor WebAssembly and .NET on WebAssembly
692692

0 commit comments

Comments
 (0)