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
In the Add Npgsql database context with enrichment code example, the line:
connectionName: "postgresdb",
is invalid because, as is stated few lines later, "The EnrichNpgsqlDbContext won't make use of the ConnectionStrings configuration section since it expects a DbContext to be registered at the point it's called.
The text was updated successfully, but these errors were encountered:
ncarandini
changed the title
Remove connectionName: "postgresdb" from **Add Npgsql database context with enrichment** code example
Remove connectionName: "postgresdb" from "Add Npgsql database context with enrichment" code example
Dec 27, 2024
ncarandini
changed the title
Remove connectionName: "postgresdb" from "Add Npgsql database context with enrichment" code example
Remove connectionName from "Add Npgsql database context with enrichment" code example
Dec 27, 2024
Type of issue
Code doesn't work
Description
In the Add Npgsql database context with enrichment code example, the line:
is invalid because, as is stated few lines later, "The
EnrichNpgsqlDbContext
won't make use of theConnectionStrings
configuration section since it expects aDbContext
to be registered at the point it's called.Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/database/postgresql-entity-framework-integration?tabs=dotnet-cli
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/database/postgresql-entity-framework-integration.md
Document Version Independent Id
b0430379-092c-6361-27aa-a4c48d6b641e
Article author
@IEvangelist
The text was updated successfully, but these errors were encountered: