Skip to content

Commit

Permalink
Remove DbContextPooling from appsettings tests and docs (#2381)
Browse files Browse the repository at this point in the history
This setting is no longer valid.
  • Loading branch information
eerhardt authored Feb 23, 2024
1 parent 641552c commit 7590f58
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ The .NET Aspire Microsoft EntityFrameworkCore Cosmos component supports [Microso
"Microsoft": {
"EntityFrameworkCore": {
"Cosmos": {
"DbContextPooling": true,
"Tracing": false
}
}
Expand All @@ -99,7 +98,7 @@ Also you can pass the `Action<EntityFrameworkCoreCosmosDBSettings> configureSett
or

```csharp
builder.EnrichCosmosDbContext<MyDbContext>(settings => settings.HealthChecks = false);
builder.EnrichCosmosDbContext<MyDbContext>(settings => settings.Tracing = false);
```

## AppHost extensions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public class ConformanceTests : ConformanceTests<TestDbContext, MicrosoftEntityF
"SqlServer": {
"ConnectionString": "YOUR_CONNECTION_STRING",
"HealthChecks": false,
"DbContextPooling": true,
"Tracing": true,
"Metrics": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public class ConformanceTests : ConformanceTests<TestDbContext, NpgsqlEntityFram
"PostgreSQL": {
"ConnectionString": "YOUR_CONNECTION_STRING",
"HealthChecks": false,
"DbContextPooling": true,
"Tracing": true,
"Metrics": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public class ConformanceTests : ConformanceTests<TestDbContext, PomeloEntityFram
"MySql": {
"ConnectionString": "YOUR_CONNECTION_STRING",
"HealthChecks": false,
"DbContextPooling": true,
"Tracing": true,
"Metrics": true
}
Expand Down

0 comments on commit 7590f58

Please sign in to comment.