Dependency injection fundamentals in C# - DI vs IoC vs DIP

  Рет қаралды 40,539

Amichai Mantinband

Amichai Mantinband

Күн бұрын

Пікірлер: 50
@tiffaleyshon1126
@tiffaleyshon1126 9 ай бұрын
Dude! I'm a programmer of over 20 years and I've never seen it explained this clearly and concisely before.
@nick_stelmakh
@nick_stelmakh 9 ай бұрын
agree
@joofville
@joofville 7 ай бұрын
Agree and subscribed
@omersoncruz1081
@omersoncruz1081 5 ай бұрын
Super agreed. Im loving this guy now. #Subscribed
@QVMaster
@QVMaster 3 ай бұрын
ME 3 Excellent Description.
@mohannadqa5101
@mohannadqa5101 9 ай бұрын
5:06 Man, finally it clicked. I'm so happy thank you. Dependency injection. Such a fancy word for an obvious concept. But now it makes sense, you are injecting a dependency rather than sticking with a specific dependency.
@issamboutissante1542
@issamboutissante1542 9 ай бұрын
This video is amazing Can’t wait for the next one.
@AK-vx4dy
@AK-vx4dy 9 ай бұрын
Nice clear and practical take. Excellent job !
@BGivo
@BGivo 9 ай бұрын
Love your recent videos. Thank you!
@noneedtoknowthishandle
@noneedtoknowthishandle 2 ай бұрын
Your content is great. I am following you since a year and I have learned alot. Surely gonna buy those courses.
@ertackosucu
@ertackosucu 3 ай бұрын
This is the best video explaining those concepts. Amazing, thank you.
@shahzadahmad-vg2ou
@shahzadahmad-vg2ou 8 ай бұрын
Bro, I was always confused between these terms, Thank you for this awesome video.
@kamilmikua5794
@kamilmikua5794 7 ай бұрын
nice, we need more content like this, good job!
@LauAtam
@LauAtam Ай бұрын
Wow, I really needed this video, very clear explanation
@dhmilmile1
@dhmilmile1 9 ай бұрын
Thanks for the great explanation.
@itsgddemon7573
@itsgddemon7573 9 ай бұрын
Could you consider making a video about what is the difference between making the validation inside the valueobjects, entities and with fluentValidation, could we mix and match these validations and what is the best approach.
@FredericMerouze
@FredericMerouze 9 ай бұрын
great explanation amichai, thank you :)
@adamsontag1874
@adamsontag1874 8 ай бұрын
Thank you for very nice and clean explanation. I have a few questions: 1. As you need Service provider to be built, does that mean that you can register services only on startup of the application or is there a technique to safely register services during runtime ? 2. Let's say I have DbContext from entity framework and I have two databases meaning they have two different connection strings. Is there a way to use EF with dependency injection in a way that would be able to resolve the correct database ? And again thank you for great explanation it was very helpful to me.
@thijsvandervegt3377
@thijsvandervegt3377 9 ай бұрын
Hey Amichai, have you ever thought about making videos about Modular Monoliths? Thanks for the video btw :)
@hasithadhananjaya2806
@hasithadhananjaya2806 19 күн бұрын
5:35 end of DIP and start of IOC
@davidjiang7929
@davidjiang7929 8 ай бұрын
Another great lesson! Would you please consider making more videos on c# core concepts needed for .NET? 😊
@theanachronism5919
@theanachronism5919 9 ай бұрын
Awesome! Maybe I ask what you use for drawing on the screen during the screen record?
@davood7497
@davood7497 8 ай бұрын
Clear and Concise !
@Luiz-yo2qf
@Luiz-yo2qf 7 ай бұрын
Hi mate. Awesome video! thank you for the great explanation.
@margosdesarian
@margosdesarian 9 ай бұрын
Hi Amichai, it would be great if you could slow down just a little bit - say 5%. Its a little hard to keep up at that speed :) OH dont worry, i discovered that you can run it at 75% speed., although you do sound as if you have had a few too many beers ...
@R3ap4r
@R3ap4r 9 ай бұрын
Standard procedure for me, Tim Corey -> Set speed to 1.25x , Amichai -> Set speed 0.75x == Learning curve exponential :)
@dashaenne
@dashaenne 9 ай бұрын
🤣
@QVMaster
@QVMaster 3 ай бұрын
I could just say it's AMAZING
@oseifrimpongg
@oseifrimpongg 28 күн бұрын
Hi everyone, not to be "that guy" but I am a beginner in c# learning concepts and trying to build projects and I'm totally lost here. What are the other concepts, I should learn before coming to this video? Of course, I know classes and basic OOP, but I need this video to make me smile and not question my potential in becoming a SE :)
@mercyfulM30
@mercyfulM30 4 ай бұрын
hey, first of all thank you for the video. maybe quite an newbie question but how do you generate the classes and method so fast? is it a shortcut/key or is it something like copilot? thank you very much!
@Noone-bb5qh
@Noone-bb5qh 8 ай бұрын
I can’t thank you enough 🙏🙏🙏
@greekplayback
@greekplayback 9 ай бұрын
תודה אלוף ❤
@riccarrasquilla379
@riccarrasquilla379 9 ай бұрын
thanks for the video
@xerxesking6734
@xerxesking6734 9 ай бұрын
Awesome 👌
@hoki8296
@hoki8296 2 ай бұрын
Awesome
@cyra9544
@cyra9544 5 ай бұрын
Thanks a lot!
@therongovender9471
@therongovender9471 2 ай бұрын
At around 3min would that not be Abstraction instead of encapsulation?
@JackFord322
@JackFord322 9 ай бұрын
What tool do you use to draw in your videos?
@SpaceBrain-1
@SpaceBrain-1 Ай бұрын
My brain thanks you
@daver94
@daver94 9 ай бұрын
Thanks ❤
@FarmerWidmo
@FarmerWidmo 9 ай бұрын
Silly question, but what if GithubClient accepted some parameters as well? How would I register it in the DI container?
@PedroBarbosaRoman
@PedroBarbosaRoman 9 ай бұрын
Yes, I think you will have to do it. If you don't there could be an error in runtime possibly since the DI library he is using seems to be like that. There are also build time DI frameworks I think. Android developer here so take this with a grain of salt!
@devgenesis6436
@devgenesis6436 9 ай бұрын
what is the tool fro drawing diagrams in vscode
@devfric3149
@devfric3149 8 ай бұрын
It might be a tool on the video recording sofware but not sure what he is using.
@cuongday9005
@cuongday9005 5 ай бұрын
skills of 9.0-IELTS Listener
@danielrobinson8629
@danielrobinson8629 7 ай бұрын
סרטון מעולה אחי, מאיפה האנגלית?
@andrijs1521
@andrijs1521 Ай бұрын
your missing timestamps for each one :/
@g3ff01
@g3ff01 4 ай бұрын
Go ahead and tell us: did you lose some bet so you had to go ahead and tell "go ahead and..." every time you go ahead and say a verb?
Entity Framework Core Tutorial - Everything You Need to Know to Get Started
40:56
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
Amichai Mantinband
Рет қаралды 26 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,4 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 158 МЛН
Clean Architecture vs Domain-Driven Design (DDD) - Understand the Difference
11:26
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 882 М.
3 Powerful Design Patterns You Should Know
14:26
Amichai Mantinband
Рет қаралды 12 М.
5 C# Naming Conventions I Wish Everyone Followed
12:46
Amichai Mantinband
Рет қаралды 18 М.
Dependency Injection Explained in 7 Minutes
7:11
ArjanCodes
Рет қаралды 64 М.
Dependency Injection in .NET Core (.NET 6)
1:00:32
IAmTimCorey
Рет қаралды 194 М.
Dependency Injection | Внедрение зависимостей в C# и ASP.NET Core
50:38