Skip to content

Commit 91d44a4

Browse files
committed
Updates
1 parent ff0f4a7 commit 91d44a4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

aspnetcore/blazor/components/httpcontext.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ uid: blazor/components/httpcontext
2525
public HttpContext? HttpContext { get; set; }
2626
```
2727

28-
During interactive rendering, an <xref:Microsoft.AspNetCore.Http.HttpContext> instance might not even exist. For scenarios where the <xref:Microsoft.AspNetCore.Http.HttpContext> is required in interactive components, we recommend flowing context data with [persistent component state](xref:blazor/components/prerender#persist-prerendered-state) from the server during static SSR.
29-
30-
When an <xref:Microsoft.AspNetCore.Http.HttpContext> instance is available, the context is dependent on the transport:
31-
32-
* WebSockets receives a single context as the result of the initial handshake.
33-
* Long polling receives a new context per client "poll" request.
34-
* A SignalR service receives a mocked/faked/shim context.
28+
During interactive rendering, an <xref:Microsoft.AspNetCore.Http.HttpContext> instance might not even exist. For scenarios where the <xref:Microsoft.AspNetCore.Http.HttpContext> is required in interactive components, we recommend flowing context data with [persistent component state](xref:blazor/components/prerender#persist-prerendered-state) from the server.
3529

3630
For additional context in *advanced* edge cases&dagger;, see the discussion in the following articles:
3731

0 commit comments

Comments
 (0)