This demonstration / tutorial is highly underrated! I'm surprised that it has so few likes and comments. Thank you Sir. *Subscribed!*
@joeljohncenteno4913 Жыл бұрын
This is straight to the point. well said well instructed. I like it when the tutorial starts from scratch
@glooman24556 ай бұрын
Great tutorial! The explanation is very pure and professional.
@edwinhandschuh8647 ай бұрын
Thank you. I finally found someone who demonstrated current MS DI for a pure console app. Excellent job!
@robdas110 ай бұрын
That was an excellent presentation. I learned more in this 20 minute video, than 20 hours of trying to understand generic hosting from reading online documentation. Well done. I will look for more of your videos.
@Jocker88 Жыл бұрын
Thank you Cronin, I was using another way to implement DI into my console projects but I was so wrong, thank you to explain these think. Nice explanation, have a good day :)
@cronintechnology9901 Жыл бұрын
You'll sometimes see people using ActivatorUtilities.CreateInstance() instead of calling GetRequiredService directly, but that's a very similar approach, really.
@mohankumars68118 ай бұрын
Great, post more videos like building an application from scratch
@gerardchoolakian5570 Жыл бұрын
Simple but efficient. Thank you!
@AldecirSantos-nm6pm6 ай бұрын
Olá meu amigo! A explicação foi excelente! Meus parabéns e muito obrigado pela riqueza da informação! 😊
@vipulshrivastava10697 ай бұрын
Thank you so much sir for this valuable lesson...
@danielvisan34054 ай бұрын
thank you! You make my life better
@Ahmedhosnybarbary Жыл бұрын
Thank you , very clear very informative
@ArnoldSzathmary2 жыл бұрын
thank you very much for the wonderful explanation
@DominicCronin Жыл бұрын
Thank you
@dotnet-azure Жыл бұрын
thank you so much. very straightforward :)
@manudelmarche Жыл бұрын
Absolutely brilliant
@mauriziomammuccini6657 Жыл бұрын
The sample application is one of the best on Dependency Injection using C#. Compliments for exposition precision and clarity, Cronin.
@cemprafalq2 жыл бұрын
Explained perfectly 👌.
@DominicCronin2 жыл бұрын
Thank you
@divinocodino5 ай бұрын
Thanks was helpful
@bobdumont6742 Жыл бұрын
good stuff. thank you!
@Khozanai9 ай бұрын
Very nice!
@riccarrasquilla3799 ай бұрын
thanks for the video
@pt_trainer92445 ай бұрын
Thank you
@ghanshyam014 Жыл бұрын
well explained !!!
@dangerosa0124 күн бұрын
Great video!! Not necessary install DI from nugget package. it's already a dependency from Hosting package, so installing Hosting it automatically install DI also
@DominicCronin23 күн бұрын
Good tip. Thanks.
@jithin.johnson Жыл бұрын
Thank you!
@suryazn4575 Жыл бұрын
Hi Cronin, That is a nice explanation I have a doubt what is the difference between Microsoft.Extension.DI and Unity Container ? Can you please explain the difference and when exactly we use them? I think for logging we need to explicitly inject if we use unity
@cronintechnology9901 Жыл бұрын
I think Unity was the name for the previous generation of DI in .NET.
@ernest1520 Жыл бұрын
Why using Host at all and not just create a ServiceCollection instance? It looks like you're only using the Host to get access to service collection anyway.
@cronintechnology9901 Жыл бұрын
I actually do use it for more than that in the demo. In any case, it's pretty much a standard way of working: in real life, you'll end up wanting it before long anyway.
@Anthonyfromtheuk-g3j Жыл бұрын
Good video, thanks. Maybe worth running your audio through some ai cleanup tool or recording it cleaner, hiss in background almost had me skipping this video at the start.
@cronintechnology990111 ай бұрын
Thanks for pointing this out. I hadn't noticed it. I think it's the computer's fan.
@thomashamilton564 Жыл бұрын
Good video - but your mouse settings are _really_ annoying.
@cronintechnology9901 Жыл бұрын
Those settings suit my normal way of working, but I take your point. I have different settings for a recording session anyway, so I'll look at whether I can add mouse settings to my list. Thanks.