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

  Рет қаралды 44,327

Amichai Mantinband

Amichai Mantinband

Күн бұрын

Пікірлер: 53
@tiffaleyshon1126
@tiffaleyshon1126 10 ай бұрын
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 10 ай бұрын
agree
@joofville
@joofville 9 ай бұрын
Agree and subscribed
@omersoncruz1081
@omersoncruz1081 7 ай бұрын
Super agreed. Im loving this guy now. #Subscribed
@QVMaster
@QVMaster 4 ай бұрын
ME 3 Excellent Description.
@learndevtech
@learndevtech 7 күн бұрын
Magic video and very deep knowledge sharing! Can't recommend the courses enough!
@mohannadqa5101
@mohannadqa5101 10 ай бұрын
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 10 ай бұрын
This video is amazing Can’t wait for the next one.
@IncompleteDeveloper
@IncompleteDeveloper Ай бұрын
Very helpful that you distinguished DI, DIP and IoC container. Sometimes these are all lumped together, opening the door for confusion
@AK-vx4dy
@AK-vx4dy 10 ай бұрын
Nice clear and practical take. Excellent job !
@BGivo
@BGivo 10 ай бұрын
Love your recent videos. Thank you!
@ertackosucu
@ertackosucu 4 ай бұрын
This is the best video explaining those concepts. Amazing, thank you.
@noneedtoknowthishandle
@noneedtoknowthishandle 4 ай бұрын
Your content is great. I am following you since a year and I have learned alot. Surely gonna buy those courses.
@shahzadahmad-vg2ou
@shahzadahmad-vg2ou 10 ай бұрын
Bro, I was always confused between these terms, Thank you for this awesome video.
@dhmilmile1
@dhmilmile1 10 ай бұрын
Thanks for the great explanation.
@LauAtam
@LauAtam 3 ай бұрын
Wow, I really needed this video, very clear explanation
@FredericMerouze
@FredericMerouze 10 ай бұрын
great explanation amichai, thank you :)
@kamilmikua5794
@kamilmikua5794 9 ай бұрын
nice, we need more content like this, good job!
@flavioboscarol1555
@flavioboscarol1555 25 күн бұрын
told slightly "fast" :) ...but well done and complete....thanks for the excellent explanation.
@itsgddemon7573
@itsgddemon7573 10 ай бұрын
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.
@thijsvandervegt3377
@thijsvandervegt3377 10 ай бұрын
Hey Amichai, have you ever thought about making videos about Modular Monoliths? Thanks for the video btw :)
@theanachronism5919
@theanachronism5919 10 ай бұрын
Awesome! Maybe I ask what you use for drawing on the screen during the screen record?
@QVMaster
@QVMaster 4 ай бұрын
I could just say it's AMAZING
@Luiz-yo2qf
@Luiz-yo2qf 8 ай бұрын
Hi mate. Awesome video! thank you for the great explanation.
@adamsontag1874
@adamsontag1874 10 ай бұрын
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.
@davidjiang7929
@davidjiang7929 10 ай бұрын
Another great lesson! Would you please consider making more videos on c# core concepts needed for .NET? 😊
@margosdesarian
@margosdesarian 10 ай бұрын
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 10 ай бұрын
Standard procedure for me, Tim Corey -> Set speed to 1.25x , Amichai -> Set speed 0.75x == Learning curve exponential :)
@dashaenne
@dashaenne 10 ай бұрын
🤣
@davood7497
@davood7497 9 ай бұрын
Clear and Concise !
@mercyfulM30
@mercyfulM30 6 ай бұрын
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!
@hasithadhananjaya2806
@hasithadhananjaya2806 2 ай бұрын
5:35 end of DIP and start of IOC
@therongovender9471
@therongovender9471 3 ай бұрын
At around 3min would that not be Abstraction instead of encapsulation?
@JackFord322
@JackFord322 10 ай бұрын
What tool do you use to draw in your videos?
@FarmerWidmo
@FarmerWidmo 10 ай бұрын
Silly question, but what if GithubClient accepted some parameters as well? How would I register it in the DI container?
@PedroBarbosaRoman
@PedroBarbosaRoman 10 ай бұрын
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!
@oseifrimponggg
@oseifrimponggg 2 ай бұрын
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 :)
@Noone-bb5qh
@Noone-bb5qh 10 ай бұрын
I can’t thank you enough 🙏🙏🙏
@devgenesis6436
@devgenesis6436 10 ай бұрын
what is the tool fro drawing diagrams in vscode
@devfric3149
@devfric3149 9 ай бұрын
It might be a tool on the video recording sofware but not sure what he is using.
@xerxesking6734
@xerxesking6734 10 ай бұрын
Awesome 👌
@riccarrasquilla379
@riccarrasquilla379 10 ай бұрын
thanks for the video
@cyra9544
@cyra9544 6 ай бұрын
Thanks a lot!
@cuongday9005
@cuongday9005 7 ай бұрын
skills of 9.0-IELTS Listener
@danielrobinson8629
@danielrobinson8629 9 ай бұрын
סרטון מעולה אחי, מאיפה האנגלית?
@daver94
@daver94 10 ай бұрын
Thanks ❤
@andrijs1521
@andrijs1521 2 ай бұрын
your missing timestamps for each one :/
@hoki8296
@hoki8296 3 ай бұрын
Awesome
@greekplayback
@greekplayback 10 ай бұрын
תודה אלוף ❤
@SpaceBrain-1
@SpaceBrain-1 3 ай бұрын
My brain thanks you
@g3ff01
@g3ff01 6 ай бұрын
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
Background Tasks Are Finally Fixed in .NET 8
10:29
Nick Chapsas
Рет қаралды 119 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
a cozy night of coding | building my personal website
9:05
Steph Ran
Рет қаралды 3,4 М.
3 Powerful Design Patterns You Should Know
14:26
Amichai Mantinband
Рет қаралды 14 М.
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
Amichai Mantinband
Рет қаралды 28 М.
Every Single LINQ Extension Method With Examples | .NET & C# Essentials
42:28
Clean Architecture vs Domain-Driven Design (DDD) - Understand the Difference
11:26
Stop returning custom error responses from your API. Do this instead.
12:07
Amichai Mantinband
Рет қаралды 86 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 907 М.
SQLModel + FastAPI: Say Goodbye to Repetitive Database Code
19:50
Гига богатый геймер vs бедный геймер
30:55
Трум Трум Оки Токи
Рет қаралды 114 М.
Карина Кросс #shorts
0:16
Dolly and Friends Shorts Cartoons
Рет қаралды 361 М.
When the PHONE CASE can be your BEST FRIEND! #shorts
0:33
One More
Рет қаралды 18 МЛН
для всей семьи
0:56
Стакановец
Рет қаралды 191 М.
Satisfying Vend 😦 Ep.5 #shorts #satisfying #vendingmachine
0:23
TYE Arcade
Рет қаралды 17 МЛН
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.