Skip to content

Commit b0f651f

Browse files
authored
Merge pull request #726 from DuendeSoftware/wcabus-patch-1
Update 4-entity-framework.md
2 parents 2f55919 + 479f00f commit b0f651f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/docs/identityserver/quickstarts/4-entity-framework.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ directory:
7070
dotnet add package Microsoft.EntityFrameworkCore.Sqlite
7171
```
7272

73-
#### Configuring Rhe Stores
73+
#### Configuring The Stores
7474

7575
`Duende.IdentityServer.EntityFramework` stores configuration and operational
7676
data in separate stores, each with their own DbContext.
@@ -85,7 +85,7 @@ To use these stores, replace the existing calls to `AddInMemoryClients`,
8585
`ConfigureServices` method in `src/IdentityServer/HostingExtensions.cs` with
8686
`AddConfigurationStore` and `AddOperationalStore`, like this:
8787

88-
```cs
88+
```csharp
8989
// HostingExtensions.cs
9090
public static WebApplication ConfigureServices(this WebApplicationBuilder builder)
9191
{
@@ -189,7 +189,7 @@ maintenance strategy that is appropriate for your architecture.
189189
In `src/IdentityServer/HostingExtensions.cs`, add this method to initialize the
190190
database:
191191

192-
```cs
192+
```csharp
193193
private static void InitializeDatabase(IApplicationBuilder app)
194194
{
195195
using (var serviceScope = app.ApplicationServices.GetService<IServiceScopeFactory>()!.CreateScope())
@@ -230,7 +230,7 @@ private static void InitializeDatabase(IApplicationBuilder app)
230230

231231
Call `InitializeDatabase` from the `ConfigurePipeline` method:
232232

233-
```cs
233+
```csharp
234234
public static WebApplication ConfigurePipeline(this WebApplication app)
235235
{
236236
app.UseSerilogRequestLogging();

0 commit comments

Comments
 (0)