Dependency Injection using Microsoft Unity Application block ( DI IOC) - 30 minutes training

  Рет қаралды 440,805

.NET Interview Preparation videos

.NET Interview Preparation videos

10 жыл бұрын

Learn Design & Architecture Pattern in Mumbai offline stepbystepschools.net/
For more such videos visit www.questpond.com
For more such videos subscribe kzbin.info...
See our other Step by Step video series below :-
Learn C# Step by Step goo.gl/FNlqn3
Learn Design Pattern Step by Step:- goo.gl/eJdn0m
Learn Angular tutorial step by step tinyurl.com/ycd9j895
Learn MVC Core step by step :- tinyurl.com/y9jt3wkv
Learn Azure Step by Step :- tinyurl.com/y6fmrech
Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
Python Tutorial for Beginners:- • Python Tutorial for Be...
Learn Data Science in 1 hour :- tinyurl.com/y5o7qbau
Learn Power BI Step by Step:- tinyurl.com/y6thhkxw
Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
Learn SQL Server Step by Step tinyurl.com/ja4zmwu
Learn Tableau step by step :- tinyurl.com/kh6ojyo
In this 30 minutes video training we will try to understand what is DI and how to implement the same by using Microsoft unity application block. The complete code is demonstrated using visual studio and C# language.
For seeing the IOC video see this video :- goo.gl/rhNwM9
We are also distributing a 200 page Ebook ".NET Interview Question and Answers". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on questpond@questpond.com with the shared link and we will email you the PDF.

Пікірлер: 215
@dnfvideo
@dnfvideo 3 жыл бұрын
Do not miss our Interview Question video series 30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M
@atnafujembere5626
@atnafujembere5626 2 жыл бұрын
a
@deelanmj
@deelanmj 5 жыл бұрын
This helped me understand Unity and Dependency Injection better than most of the explanations found on the web. Simple and straight to the point. Thank you.
@villanuevacarlos14
@villanuevacarlos14 8 жыл бұрын
This is the best video to explain Dependency Injection. You Sir deserves a cookie.
@SenPradip
@SenPradip 9 жыл бұрын
Guruji, you made it so simple than others. That's the key for major attraction on you and your way of teaching. Thanks a ton SIR !!
@mahreenafzal87
@mahreenafzal87 8 жыл бұрын
It is one of the best video, I have ever seen on Unity framework. Simple and to the point.
@CevicheChessSalsa
@CevicheChessSalsa 9 жыл бұрын
This is the best video about dependency injection I have found out there. Your videos are very educational and keep up the good work. Congratulations !!!
@rk142303
@rk142303 6 жыл бұрын
Benny Blanco
@SushrutKanetkar
@SushrutKanetkar 7 жыл бұрын
Amazing lecture! One of the best teachers ever ! Kudos Shiv !
@alexchoiyl
@alexchoiyl 9 жыл бұрын
Very well explained, looking forward to part 2, thanks.
@manishkjanu
@manishkjanu 10 жыл бұрын
Thanks for sharing this knowledge. You simplified the things and it helps us to understand it. Waiting for second part of it where will use XML file for configuration of objects and also answer that why OracleDal object is injected during resolve of customer class.
@gallieon8718
@gallieon8718 8 жыл бұрын
Hi. Very grateful for your efforts. I can say I understood right from the first video. Please consider doing the next installment. it would be very helpful for a lot of us. Thanks again.
@emanuelfaisca1783
@emanuelfaisca1783 6 жыл бұрын
What you are doing is usefull. I finaly understood these concepts with your explanations!
@shaikhzoyeb
@shaikhzoyeb 6 жыл бұрын
thank you so much it was a pretty good tutorial and i learned how to decouple an application by implementing DI IOC injections
@rohitash4122
@rohitash4122 9 жыл бұрын
Excellent video. Clarified several doubts.
@zagroti
@zagroti 7 жыл бұрын
Thank you for taking the time to explain the dependency injection.
@ronnieullah
@ronnieullah 9 жыл бұрын
another impressive explanation of a difficult theory. Very helpful. Please keep up the good work.
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
Regular subscriber of yours by now. I've been actively watching your videos and one reason is I learn really well from your lecture, practical example and of course you have a brilliant talent overall to teach complicated ideas. I had been looking everywhere to learn DI and nowhere I could understand better the topic more better than I did here. Thank you for all the effort you had given to teach us fellow beginners. My best wishes for your best success.
@tanmaymishra92
@tanmaymishra92 2 жыл бұрын
Just FYI ... unity container now has been moved to a different namespace, called 'Unity' , so while searching nuget you will have to look for that, and microsoft.practices and all other dll wont show up in references, they all will be residing under the 'Unity' itself
@seldom89
@seldom89 7 жыл бұрын
Simple explanation yet very concise. Good job sir.
@sanfordhoffman2392
@sanfordhoffman2392 8 жыл бұрын
Very good video. Thank you for taking the time to explain this concept.
@kamdemkakengne
@kamdemkakengne 7 жыл бұрын
Very nice lesson on Dependency Injection! Thank you so much ! It helped me a lot!
@chandanasoundararajan8790
@chandanasoundararajan8790 Жыл бұрын
🙏 No words to thank you. Good teacher can make better generations. you are one among them. Thanks Sir. God bless you
@samiullahgopang3873
@samiullahgopang3873 5 жыл бұрын
it took a lot time to learn IOC & DI but no one could better but finally your videos
@chetan11011984
@chetan11011984 5 жыл бұрын
Hi, Your explained very simply. Video was very good. I was very much involved in it. Thank you.
@nithinb9671
@nithinb9671 4 жыл бұрын
Best explanation out there. Probably forgot to upload second part maybe because this video is very clear, why to create an other video😊😊
@mdgosoddin192
@mdgosoddin192 7 жыл бұрын
Greate Explination Shiv sir Really u decreases my Lot of pressure im ur Big Fan
@anishkanna92
@anishkanna92 3 жыл бұрын
Wow Wow Wowwww... thankkkkk youuuuuu sooooooooooooo much sir.... I went on depression for last two days to understand this thing.. all other channels are explaining same examples again and again .. this one is lit... whatever questions i had you just explained everything... You're like a god to me now.. Thanks much again.
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
I feel you brother. I had been feeling the same with understanding Dependency Injection. But now, I am feeling much better.
@ramachandraaddala
@ramachandraaddala 9 жыл бұрын
Hey Man, I gone through not less 5 videos to understand DI, but you are awesome in explanation and any dumb person like me can understand. I have posted in my LinkedInn and wishing you to keep good work continue.
@urvashigutka5091
@urvashigutka5091 Жыл бұрын
Great...many vidoes just gives theoretical knowledge...u gave practical knowledge
@zuzuba3481
@zuzuba3481 4 жыл бұрын
No words to appreciate bro.. thank you so much...
@lisazhou7776
@lisazhou7776 5 жыл бұрын
very good video to explain the injection dependency, thank you!
@seesharp477
@seesharp477 6 жыл бұрын
Very good explanation good sir, on both the IoC and the DI. Thank you
@BhushanChaudhari1988
@BhushanChaudhari1988 8 жыл бұрын
Thank you for such a detailed video.
@srikanthuppala8297
@srikanthuppala8297 5 жыл бұрын
Great Sir. Thank you so much for your explanation.
@srinivasubhuyya351
@srinivasubhuyya351 9 жыл бұрын
Thanks Good video.i searched a lot in Google .but finally i got a clear idea about dependency injection......
@seemamajoka1761
@seemamajoka1761 8 жыл бұрын
Very good video for understanding DI.Thanks :) But i need to explore more Please continue sharing.
@IlyaHoltz
@IlyaHoltz 5 жыл бұрын
Very Good video explaining dependency injection. Great work!
@rukmininaik987
@rukmininaik987 4 жыл бұрын
One of the best video on DI.
@truhoang
@truhoang 8 жыл бұрын
Thank you so much :), now I understand what Unity package used for :) :)
@ulfarorarson3885
@ulfarorarson3885 7 жыл бұрын
Thanks for this video, very good explaination!
@josemarinno
@josemarinno 8 жыл бұрын
Hi, very good video, but you said you will show other way to configuration in the second part of the video but i can't find the second part. Could you please show me the link. Thanks you so much.
@backupfolder1839
@backupfolder1839 8 жыл бұрын
Thanks so much! your videos are so useful...
@rockingdude8383
@rockingdude8383 9 жыл бұрын
Excellent video. Best short video for dependency injection. Thanks a lot and let us know when is the 2nd part releasing :-)
@Sonny0276
@Sonny0276 7 жыл бұрын
Great Video. Thank you for posting.
@escorpianoyqueee
@escorpianoyqueee 7 жыл бұрын
Nice video. Basically you need to 1) nuget unity, 2) register types somewhere at your startup and 3) use Resolve instead of new()... and that´s it
@azmatali3308
@azmatali3308 7 жыл бұрын
This video was Amazing.... thanks a ton
@SujaiSuresh1992
@SujaiSuresh1992 8 жыл бұрын
it was a nice one . Nicely explained... thanks a lot..
@amit4bhargava1
@amit4bhargava1 9 жыл бұрын
This is really informative and nicely presented. Please share the link of next video
@akshat_shakya_pro2797
@akshat_shakya_pro2797 9 жыл бұрын
Excellent, Amazing , awesome.. :)
@sonuuniyal502
@sonuuniyal502 3 жыл бұрын
Sir i have seen your video on ioc which is the finest video on this topic because other blogs and tutorials are making it too difficult to understand🙏🙏🙏
@baalasrinivas9074
@baalasrinivas9074 7 жыл бұрын
Thank you so much, it was really useful.
@arjunanselvam
@arjunanselvam 7 жыл бұрын
Great explanation.
@DheerajKumarWebDetails
@DheerajKumarWebDetails 7 жыл бұрын
and finally you explained polymorphism in this video, It is same as in polymorphism
@santoshmandal6805
@santoshmandal6805 3 жыл бұрын
Its very informative and liked the way u explained..
@RohitRamDhulapati
@RohitRamDhulapati 8 жыл бұрын
Great video. Thank you very much
@adetolaadesomoju2689
@adetolaadesomoju2689 8 жыл бұрын
Well explained, thanks
@mannenagamani6831
@mannenagamani6831 8 жыл бұрын
I am really happy to know this thank u so much
@thirunavukarasumuthu9161
@thirunavukarasumuthu9161 2 жыл бұрын
Thanks for sharing your knowledge. Very much Appreciated
@ghkhellfire007
@ghkhellfire007 5 жыл бұрын
Superb sir,god bless you
@PraveenKumar-ft2kr
@PraveenKumar-ft2kr 6 жыл бұрын
Thanks sir.. Excellent one 😊😊
@aamirjamal6833
@aamirjamal6833 8 жыл бұрын
Very beautifully explained... thanks a lot..
@arvindsemwal7516
@arvindsemwal7516 9 жыл бұрын
Great Video. Please provide the part 2 link.
@avtarsashia4897
@avtarsashia4897 4 жыл бұрын
Thank you sor...this content is really useful
@vermabhanu53
@vermabhanu53 6 жыл бұрын
Nice Explanation!
@abhishek02031988
@abhishek02031988 5 жыл бұрын
Hi, thanks for making this video. I finally learned how DI works. But now I want to learn more and I can't find the next part of this video. Could you please share it?
@angieloo6863
@angieloo6863 6 жыл бұрын
very useful video, keep it up!
@hrudayaranjanmohanty2689
@hrudayaranjanmohanty2689 2 жыл бұрын
Very useful... Thank you so much Sir
@provensucess
@provensucess 2 жыл бұрын
Excellent video!
@Nikhil23229
@Nikhil23229 5 жыл бұрын
Great video. Thanks
@4667malik
@4667malik 8 жыл бұрын
Thaxx very gud Please share second video link..
@GladiatorSenthil
@GladiatorSenthil 8 жыл бұрын
IOC explained elegantly.
@jayaprakashmuthugopal1895
@jayaprakashmuthugopal1895 9 жыл бұрын
Great Video.
@padmaraj5803
@padmaraj5803 5 жыл бұрын
Good explanation thanks
@redahamiti7577
@redahamiti7577 8 жыл бұрын
Hi, Here you can you use a simple Conditionnal Resolution via Unity, related to the example of the above nice Video: IUnityContainer objContainer= new UnityContainer(); objContainer.RegisterType(); objContainer.RegisterType("sql"); objContainer.RegisterType("oracle"); var Sql = objContainer.Resolve("sql"); var cust= objContainer.Resolve (new DependencyOverride(typeof(Idal), Sql)); cust.CustomerName = "inject Dependances"; cust.add();
@dnfvideo
@dnfvideo 10 жыл бұрын
@Abhishek here is the IOC video facebook.com/video.php?v=690253231015623
@idanbudin3932
@idanbudin3932 4 жыл бұрын
Very clear explanation, though in my own opinion it would be better to cut some of the repetitions. I think your explanations are clear enough without reexplanations which made me kind of loose interest and feel that I am wasting time. Still good video after all, thanks! :)
@shayakdutta8878
@shayakdutta8878 9 жыл бұрын
So why did it decide to inject OracleDal and not SQLServerDal?
@baartho
@baartho 8 жыл бұрын
+Shayak Dutta Because the OracleDal was the last one defined.
@janjansen7957
@janjansen7957 8 жыл бұрын
+Bartholomaus Bernsmann ok, can I define then SQLServerDal for injection without changing order of registration?
@nanonerd100
@nanonerd100 8 жыл бұрын
Pretty sure it injects the last item registered. Switch SQL and Oracle so SQL is last and SQL gets injected.
@vd853
@vd853 7 жыл бұрын
Can I assume that if OracleDal cause an exception, it will use SQLServerDal instead?
@raksp6763
@raksp6763 6 жыл бұрын
When registering the same interface multiple times however, the ordering does matter; in that case, each subsequent call to RegisterType will overwrite the previous registration for that interface.
@AS-dc7hb
@AS-dc7hb 9 жыл бұрын
it used the orace data layer by default. how we can use the sqldata layer in this example.
@crisvega71
@crisvega71 3 жыл бұрын
no it is not by default I guess. It is because the last class associated by IDAL is ORACLE DAL
@srini3993
@srini3993 7 жыл бұрын
hi can you tell me - from where obj.container.resolve came to know that it is calling sql or Oracle???? it is used defined classes... how does utility came to know these??
@sruthibalachandran387
@sruthibalachandran387 8 жыл бұрын
Very informative video. Could you please upload the next part soon and share us the link?
@DanyalMalik54
@DanyalMalik54 9 жыл бұрын
Nice VIdeo, i was looking for some one who can explain it from scratch with hands on example, Where is the next video that shows the use of config file??
@dasharathamm1202
@dasharathamm1202 8 жыл бұрын
Excellent one for dependency injectionm
@vothuong08
@vothuong08 7 жыл бұрын
excellent video.Thanks so much. Where i can find next video ?I could not see after tried to search on youtube.
@PremKumar-wv8xt
@PremKumar-wv8xt 6 жыл бұрын
super explanation sir
@akshat_shakya_pro2797
@akshat_shakya_pro2797 9 жыл бұрын
Dear Sir.. Please share the second video to configure through XML.
@akron2000
@akron2000 9 жыл бұрын
Nice tutorial. Where can I find the part 2?
@suryakantsharma7999
@suryakantsharma7999 5 жыл бұрын
example neither too hard nor too simple just perfect
@sandeepbrk
@sandeepbrk 5 жыл бұрын
Thanks. Great video. Very well explained in simple way..
@jayantaghosh7678
@jayantaghosh7678 3 жыл бұрын
very very good explanation .. IoC
@SushilSingh2005
@SushilSingh2005 9 жыл бұрын
Wow never thought it was so simple....Where is the part 2??
@TheMostBeautifulSights
@TheMostBeautifulSights 3 жыл бұрын
Thank you so much!
@LiwaySaGu
@LiwaySaGu 4 жыл бұрын
excellent!!!!
@anilkale5138
@anilkale5138 7 жыл бұрын
Video give better visual and conceptual understanding of DI.
@nithinchandran7959
@nithinchandran7959 6 жыл бұрын
how to handle many business objects such as customers, suppliers, agents etc in dependency injection? Should we add every object in the container
@Ristogod
@Ristogod 9 жыл бұрын
Why is it necessary to watch the other DI IOC video when you repeat it all here?
@basundhibiryani3546
@basundhibiryani3546 9 жыл бұрын
Resolve -- will be used in Service Locator pattern, Service Locator Technique is different from DI right ? Also what if we need SQL Server instance to be passed rather than Oracle instance ???
@sale1609
@sale1609 2 жыл бұрын
Very nicely explained. Can you please share the link for SOLID principle video. thanks.
@neilvermeulen5283
@neilvermeulen5283 3 жыл бұрын
Thank you.
@yousufanwer99
@yousufanwer99 3 жыл бұрын
sir please make second part of this video 1-Conditional Resolve 2-Load Configuration from config file 3- Life time management i am waiting
@mdsiddic
@mdsiddic 8 жыл бұрын
hi brother it's nice explanation... in mycompany I need to implement this concept as per my architecture advice .. could you please share second part of this video for condition resolve
@dnfvideo
@dnfvideo 8 жыл бұрын
Second part is available under .NET subscription, visit www.questpond.com
@simtri8264
@simtri8264 6 жыл бұрын
Question - at 26:20 mins -- instead hwy not it create a customer object without constructor ?- why it automaticlly created with constrcuor and that to with OracleDal- we disn't called any injection for the constructor param wight ?
Interface in C#
38:55
.NET Interview Preparation videos
Рет қаралды 162 М.
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 24 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,8 МЛН
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 95 М.
Dependency injection fundamentals in C# - DI vs IoC vs DIP
13:30
Amichai Mantinband
Рет қаралды 29 М.
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 460 М.
What's Your ENGLISH LEVEL? Take This Test!
21:31
Brian Wiles
Рет қаралды 1,7 МЛН
C# Delegates explained
8:47
.NET Interview Preparation videos
Рет қаралды 515 М.
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
Amichai Mantinband
Рет қаралды 20 М.
c# (Csharp) and .NET :- Difference between IEnumerable and IEnumerator.
13:39
.NET Interview Preparation videos
Рет қаралды 494 М.
#6  Dependency Injection using Spring Boot
13:34
Telusko
Рет қаралды 26 М.
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 24 МЛН