Is keyed DI something you've been crying out for? Or does it just complicate things? Leave a comment. Source code available at: github.com/JasperKent/RockPaperScissorsInjection Remember to subscribe at kzbin.info/door/qWQzlUDdllnLmtgfSgYTCA And if you liked the video, click the 👍.
@liquidpebbles9 ай бұрын
Extremely useful feature. Thanks for bringing it to light
@DNI404 Жыл бұрын
I use keyed DI in Autofac, very useful.
@GambitVil Жыл бұрын
Thanks very much to keeping us up to dated with new features!
@codingbloke Жыл бұрын
Nice clear video, with an understandable worked example. Very good 👍
@Odawggy007 Жыл бұрын
Hi there, thanks for the tutorial on this new feature for .NET 8. Although a potentially useful feature, I'm not a big fan of injecting IServiceProvider. Would it not be nicer if instead you could inject a dictionary of the key and object type?
@CodingTutorialsAreGo Жыл бұрын
What would be the practical difference?
@G41headache Жыл бұрын
Hi, i was looking for some kind of course to explain the fundamentals of threading in .NET, but it seems all I can find is focused on async/await, or it's not really good quality. Could you consider making a video about threading concepts and how to manage them with .NET (not just .NET Core)? I'm looking for explanations about types of threads, stack vs heap, race conditions, synchronization, deadlocks, thread pools, different ways to create threads, UI threads and dispatchers, App domains etc... there is potentially a lot to cover
@CodingTutorialsAreGo Жыл бұрын
I've only got the one video on this: kzbin.info/www/bejne/lZa0ZJ2cgputhKc If you don't focus on async/await then you' not doing it right. This is Core, but async and the TPL are available in Framework, so much of it will be the same.
@Lonchanick11 ай бұрын
Nice!!! (But way too much advanced for me)
@anm3037 Жыл бұрын
Why call it DEPENDENCY INJECTION? What’s wrong with calling it Method Parameter …. simple English?
@CodingTutorialsAreGo Жыл бұрын
Because a method parameter is a more general term. Not all parameters are injected.
@anm3037 Жыл бұрын
@@CodingTutorialsAreGo Please define what you mean by "injected", if what you have in mind is not: passing parameter to a method.
@CodingTutorialsAreGo Жыл бұрын
@@anm3037 It when the parameter is not directly passed to the method in code that the developer has written, but when the developer configures a set of rules for the circumstances under which certain parameters should be passed, and the system does the actual passing based on those rules.
@krccmsitp2884 Жыл бұрын
Dependency Injection (or short DI) is a distinct programming principle: en.wikipedia.org/wiki/Dependency_injection
@cactus809 Жыл бұрын
Every area of human activity has its own specialized language, and software engineering is no exception. We utilize this language, often constructed around patterns, to articulate our thoughts and intentions irrespective of the spoken language individuals use for communication. Furthermore, it aids in distinguishing between undereducated individuals whose most notable achievements were the discovery of Stack Overflow and subsequent use of ChatGPT.