dotnet / dotnet/command-line-api
Allow a simple implementation of enabling dependency injection
Open
Area-Hosting and DI
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
These days it would be nice if there was a simple way of utilizing dependency injection in command line applications as well.
Currently i am using the latest version, using middleware to populate the bindingcontext with services, but that does not allow open generic registration (for easy logger registration). Perhaps that is a scenario worth keeping in mind.
Contributor guide
Assessment
This issue has not been assessed yet.