I have to say, this is the first time I've ever understood what Dependency Injection is all about... too bad it's now 1AM and I'll forget it by the time I get up tomorrow. Great video! Thanks!
I mean technically it's been scientifically proven that you remember stuff you learn well before you go to sleep, as it's fresh in your memory and your brain often processes your memories as you sleep ;)
Why this video was a tremendously good investment of my time: • Your explanation helped me understand the relationship between a Dependency Injection framework (in this case the one included in .NET Core) and the Moq library. • The way you created and declared the container in the Program class was another "aha!" moment for me. • Your voice speed is great for playing the video at 1.5x. Thank You so much.
Thanks man! This saved me a lot time. Documentations in the web make one confused about the issue and that's so rough to go over them. But your clarification and going over the issue with simple implementation slowly is so much understandable for beginners like us. Thank u again I appreciated it a lot.
Really appreciate the effort that went into this video. I've struggled with some of these concepts for years and you have certainly cleared things up for me. Well done and thank you!!
I would like to say Thank you a lot. I spent more then 3 months trying to understand Dependency Injection without success. This is the first time I were able to understand this topic. thanks again. Great Video!
That Really turned out to be a very Excellent & Quite Comprehensive Walkthrough really presenting the need of main need and importance of Dependency Injection Billy! Thanks!!!
If I could like this over and over I would. This is simple direct to the point tutorial of IoC principle that's easy to understand and unlike the other tutorials about DI from Lynda and PluralSight that are padded with talks which bores the learner, this one pretty much clears up my confusion, and has added up learning on MS container and unit testing. Thank you and please keep making tutorials on .net.
I read Microsoft documentation, watched few videos and still couldn't fully understand how to implement DI... until Your video, thank You! Now I know what DI is, for what reason we use it, and how DI influence app architecture and design pattern.
Excellent and crystal clear breakdown of DI. Wish you had spent more time on Moq, though. That part felt rushed and I'm still extremely fuzzy on mock objects.
Looks like it would be a great video. Unfortunately I watch videos at night when I have time and it’s on my phone because that’s what I have near me. The font is so small on my phone I can’t even make it out. It would be nice if you use a larger font size.
It looked like you weren't using Dependency Injection with the tests, but manuallly instantiating classes and passing to the constructor. Could you instead have just changed the IProductStockRepository in the service container to be the mock version instead?
I have a question... Say you're using MediatR to send a command for the app to do something, and the handler has one or more dependencies. You "could" pass the Container to the command (which can get ugly fast), and then have the command handler use that to get its dependencies, but how would/could you do it without passing the Container around? Great tutorial otherwise, thanks for taking the time to make it! I think you can skip the product.ToString() when you're in an interpolated string though.
I have gone through plenty of documentations and videos. This is by far the best. Thank you.
Best explanation of DI on the internet. Thank you sir. Cheers from France.
I have to say, this is the first time I've ever understood what Dependency Injection is all about... too bad it's now 1AM and I'll forget it by the time I get up tomorrow.
Great video!
Thanks!
Same! Lol
I mean technically it's been scientifically proven that you remember stuff you learn well before you go to sleep, as it's fresh in your memory and your brain often processes your memories as you sleep ;)
@@Alex-ABPerson Yeeah... that never worked for me once :P
@Trevor Jonathan What does that have to do with this video? Or is this a bot
Why this video was a tremendously good investment of my time:
• Your explanation helped me understand the relationship between a Dependency Injection framework (in this case the one included in .NET Core) and the Moq library.
• The way you created and declared the container in the Program class was another "aha!" moment for me.
• Your voice speed is great for playing the video at 1.5x.
Thank You so much.
I guess it is kind of randomly asking but does anyone know a good place to watch newly released series online?
@Elijah Crosby Flixportal :D
@Joe Miles thank you, signed up and it seems to work =) Appreciate it!
@Elijah Crosby glad I could help :)
By far the best explanation given about dependency injection in my opinion. I just loved the way you teach.
Thanks man! This saved me a lot time. Documentations in the web make one confused about the issue and that's so rough to go over them. But your clarification and going over the issue with simple implementation slowly is so much understandable for beginners like us. Thank u again I appreciated it a lot.
Really appreciate the effort that went into this video. I've struggled with some of these concepts for years and you have certainly cleared things up for me. Well done and thank you!!
One of the most excellent explanation of DI. Although its 5AM and my eyes are hurting, but worth every second.
Omg man, there’s best explain of di and ioc container I’ve seen🔥🔥🔥. All clear and simple. Thnx!
I would like to say Thank you a lot. I spent more then 3 months trying to understand Dependency Injection without success. This is the first time I were able to understand this topic. thanks again.
Great Video!
That Really turned out to be a very Excellent & Quite Comprehensive Walkthrough really presenting the need of main need and importance of Dependency Injection Billy!
Thanks!!!
If I could like this over and over I would. This is simple direct to the point tutorial of IoC principle that's easy to understand and unlike the other tutorials about DI from Lynda and PluralSight that are padded with talks which bores the learner, this one pretty much clears up my confusion, and has added up learning on MS container and unit testing.
Thank you and please keep making tutorials on .net.
I read Microsoft documentation, watched few videos and still couldn't fully understand how to implement DI... until Your video, thank You! Now I know what DI is, for what reason we use it, and how DI influence app architecture and design pattern.
Very nice video! It's great because it shows a somewhat realistic enough scenario in full detail. 👍
This is the best video on dependency injection. Great content. But where is Billy? Don't see any recent videos on the channel.
Thank you very much.. the charts you put together and the easy implementation was perfect to teach/learn this!
2021 and I'm learning new things aside from Dependency Injection! Thanks!
Great walk through with basic implementation of DI patterns.
Thank you for Dependency Injection.
Really love it....cleared all my doubts.....
I think this might be the clearest explanation, at 32:11 when you showed the diagram, it all just clicked :D Cheers
Great explanation, it is easier than it looks on paper definitely.
Excellent and crystal clear breakdown of DI. Wish you had spent more time on Moq, though. That part felt rushed and I'm still extremely fuzzy on mock objects.
amazing explanation. congrats Billy!
great video man, thank you!
Brilliant Billy!
excellent explanation, very clear and on point
Really liked the video. Thank you so much for a great explanation. You should do your course on LinkedIn.
Thank you for this good explanation
Great video showing implementation before and after, it would be awesome if you could do a series showing the standard design patterns.
subbed!
Awesome video. Thanks!
This was great. Thank you for this.
Nice stuff.
Thanks this helped a lot.
nicely explained
excellent video. thanks a lot.
Looks like it would be a great video. Unfortunately I watch videos at night when I have time and it’s on my phone because that’s what I have near me. The font is so small on my phone I can’t even make it out. It would be nice if you use a larger font size.
Perfect explanation. Is there a source code of this example?
It looked like you weren't using Dependency Injection with the tests, but manuallly instantiating classes and passing to the constructor. Could you instead have just changed the IProductStockRepository in the service container to be the mock version instead?
How to handle dependency injection in the case of single interface implemented by multiple classes.
I have a question... Say you're using MediatR to send a command for the app to do something, and the handler has one or more dependencies. You "could" pass the Container to the command (which can get ugly fast), and then have the command handler use that to get its dependencies, but how would/could you do it without passing the Container around?
Great tutorial otherwise, thanks for taking the time to make it! I think you can skip the product.ToString() when you're in an interpolated string though.
This was great! You should be a professor :-) #NewSub
why are all DI videos on youtube so convoluted???????
example is very complicated. it could be much simpler.
Great video, Thanks!