Dependency Injection works in API, but failing in a .NET 8 console application

Subscribers:
4,430
Published on ● Video Link: https://www.youtube.com/watch?v=CzLR6bhRqcM



Duration: 0:00
33 views
1


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




Other Videos By Peter Schneider


2024-11-17Tiling an Excel array in 2 dimensions, ideally not using VBA
2024-11-17Unix: rm prompt not working when invoked from a piped loop
2024-11-17Is there any performance improvement if I declare this const inside or outside the function?
2024-11-17Raspberrypi: NetworkManager: WiFi access point disable internet connection sharing
2024-11-17Mathematica: Largest subsequence of digits that form a prime?
2024-11-17Extract number from the end of text string in Excel
2024-11-17Security: More secure way than sending cookies through JSON from server to server?
2024-11-17Ux: Is there any idea to visualize the JSON data to make it easier to understand?
2024-11-17Django + Apache2 + React doesn't work
2024-11-17Why would Instance startup take more than 42 minutes to start?
2024-11-16Dependency Injection works in API, but failing in a .NET 8 console application
2024-11-15Salesforce: Is it possible to create a Page with navigation of ListViews on the left and Lists on...
2024-11-15Salesforce: Timer in not working as expected in LWC
2024-11-15Softwareengineering: Planning Dynamic Patient Charts with Version Control and Historical Accuracy...
2024-11-15Bitcoin: How could this transaction be confirmed?
2024-11-15Retrocomputing: Did PCs ever actually have a halt instruction?
2024-11-15Unix: Is there a way for an entry to be mounted with mount -a, but not at boot?
2024-11-15Why am I unable to copy and execute a function in C?
2024-11-15Retrocomputing: Default Mac OS 8 default desktop color
2024-11-15Retrocomputing: Pinout of Philips P2000 "composite" output
2024-11-15Retrocomputing: Unix tools for manipulating Commodore CP/M disk images