Skip to content

[UUF] Missing information #50747

@gewarren

Description

@gewarren

Type of issue

Missing information

Description

Great info generally, but in the "Disposal of Services " section the following line is confusing: "If a type or factory is registered as a singleton, the container disposes the singleton automatically." Why mention the singleton case but not transient and scoped services? Are they not automatically disposed as well?

Page URL

https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/extensions/dependency-injection-guidelines.md

Document Version Independent Id

7fb2be80-cb54-27bf-4f93-423d8540429e

Platform Id

df1bff59-742c-a7b3-cfc6-4fc1f6510458

Article author

@gewarren

Metadata

  • ID: 8d1c8ef1-6a01-df24-34ad-570f88df9303
  • PlatformId: df1bff59-742c-a7b3-cfc6-4fc1f6510458
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions