Skip to content

Dependency Injection concept content without Hosting #41827

@IEvangelist

Description

@IEvangelist

Describe the issue or suggestion

Please rewrite this article without using Microsoft.Extensions.Hosting nuget package. Usage of this package doesn't provide any value of understanding how dependency injection in .NET works. It will be better if example contained manual instantiating ServiceCollection class and it's usage in console application. Example usage of HostApplicationBuilder already have it's place in HostBuilder (generic host) docs.
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-usage


Associated WorkItem - 286732

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.user-feedbackIssues related to "Unified User Feedback".

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions