Skip to content

Add ability to modify the ServiceLifetime on AddSqlServerDbContext #1194

@benjaminsampica

Description

@benjaminsampica

In some contexts, the service lifetime of the DbContext registration needs to not be the default of Scoped, which is what the default AddDbContext<> registration lifetime is. Please let me modify the lifetime easily.

Metadata

Metadata

Assignees

Labels

area-integrationsIssues pertaining to Aspire Integrations packages

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions