You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/bff/fundamentals/blazor/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ The Interactive Server mode allows developers to render pages built with Blazor
104
104
105
105
The BFF pattern is not typically applicable to this mode, as most interactivity is handled on the server by the Blazor Server framework with state changes being pushed to the client via WebSockets.
106
106
107
-
You may still want to explore `AuthenticationStateProvider` for managing authentication state, see the section below for more information.
107
+
You may still want to explore `AuthenticationStateProvider` for managing authentication state, see the section below for more information. You may also want to explore the [Session Management](/bff/fundamentals/session/index.md) section for more information on how to configure the BFF to use sessions.
108
108
109
109
### Interactive WebAssembly
110
110
@@ -131,15 +131,16 @@ You will also need to modify the `Program.cs` file in the `Server` project to co
131
131
```csharp
132
132
// Server/Program.cs
133
133
builder.Services.AddBff()
134
-
.AddServerSideSessions() // Add in-memory implementation of server side sessions
134
+
// Add in-memory implementation
135
+
.AddServerSideSessions()
135
136
.AddBlazorServer();
136
137
```
137
138
138
139
The `AddBlazorServer` method will configure the BFF to use services on the host that allow the client to interact with the server securely.
139
140
140
141
You will also need to modify the ASP.NET Core pipeline to use the BFF:
0 commit comments