Dependency Injection works in API, but failing in a .NET 8 console application
Dependency Injection works in API, but failing in a .NET 8 console application
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/1267887/tanveer-ibn-haresh)Tanveer-Ibn- Haresh
(stackoverflow.com/users/9117063/hossam)Hossam
(stackoverflow.com/users/134204/panagiotis-kanavos)Panagiotis Kanavos
A special thanks goes out to the (stackoverflow.com/questions/79191504/dependency-injection-works-in-api-but-failing-in-a-net-8-console-application)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
console-application c# .net-core dependency-injection .net-8.0