Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/agents/whats-new-from-release-notes.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ description: >
Use this agent when processing new .NET preview release notes into the
What's New article, or when checking for incremental updates to
already-processed release notes.
tools:
- githubread
- lexical-code-search
- semantic-code-search
ai-usage: ai-assisted
author: tdykstra
ms.author: wpickett
Expand Down
8 changes: 4 additions & 4 deletions aspnetcore/blazor/state-management/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,17 @@ Pausing a circuit stores details about the circuit in client-side browser storag

From a JavaScript event handler:

* Call `Blazor.pause` to pause a circuit.
* Call `Blazor.resume` to resume a circuit.
* Call `Blazor.pauseCircuit` to pause a circuit.
* Call `Blazor.resumeCircuit` to resume a circuit.

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

```javascript
window.addEventListener('visibilitychange', () => {
if (document.visibilityState === 'hidden') {
Blazor.pause();
Blazor.pauseCircuit();
} else if (document.visibilityState === 'visible') {
Blazor.resume();
Blazor.resumeCircuit();
}
});
```
Expand Down
2 changes: 1 addition & 1 deletion aspnetcore/release-notes/aspnetcore-10/includes/blazor.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ During server-side rendering, Blazor Web Apps can now persist a user's session (
* Proactive resource management (pausing inactive circuits)
* [Enhanced navigation](xref:blazor/fundamentals/routing?view=aspnetcore-10.0#enhanced-navigation-and-form-handling)

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

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

Expand Down
Loading