Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Injection concept content without Hosting #41827

Closed
IEvangelist opened this issue Jul 18, 2024 · 0 comments · Fixed by #41831
Closed

Dependency Injection concept content without Hosting #41827

IEvangelist opened this issue Jul 18, 2024 · 0 comments · Fixed by #41831
Assignees
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-fundamentals/prod Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] user-feedback Issues related to "Unified User Feedback".

Comments

@IEvangelist
Copy link
Member

IEvangelist commented Jul 18, 2024

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

@IEvangelist IEvangelist added doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 🗺️ reQUEST Triggers an issue to be imported into Quest. user-feedback Issues related to "Unified User Feedback". dotnet-fundamentals/prod labels Jul 18, 2024
@IEvangelist IEvangelist self-assigned this Jul 18, 2024
@dotnet-bot dotnet-bot added ⌚ Not Triaged Not triaged and removed ⌚ Not Triaged Not triaged labels Jul 18, 2024
IEvangelist added a commit to IEvangelist/docs that referenced this issue Jul 18, 2024
@sequestor sequestor bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Jul 19, 2024
@dotnet-bot dotnet-bot added resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] labels Jul 19, 2024
Evangelink pushed a commit to Evangelink/docs that referenced this issue Jul 24, 2024
* Add a new article for DI basics

* Add to TOC

* Cross reference. Fixes dotnet#41827

* Edit pass

* Add run app details

* Add missing bits

* Add some xrefs

* Correct xref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-fundamentals/prod Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] user-feedback Issues related to "Unified User Feedback".
Projects
No open projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants