(#69) Dependency Injection in MVC 5 | mvc tutorial for beginners in .net c# | MVC By Nitish

  Рет қаралды 89,929

WebGentle

WebGentle

Күн бұрын

Пікірлер: 140
@DheerajKumar-xr6ud
@DheerajKumar-xr6ud 4 жыл бұрын
Hello All Mr. Dislike, As you have disliked his session/effort, Can you please share us your own session where you have corrected his mistake or explained the same thing in better than him. Please appreciate his hard work...If you think it is very easy to make upload any video in KZbin.. Leave it .NET session....I kindly request you to make one one session for ABC for nursery student and upload on KZbin...Then you will understand how much effort it takes to make video and upload.The person who do not how to bats, They were used to give advice to "Sachin T" how to bat. Please appreciate it if someone is doing something good. you will also feel happy..Try it once. :-) Thank you very much Dear WebGentle for making such good video...Keep doing....much appreciated. :-) :-)
@AbhinavKumardns
@AbhinavKumardns 4 жыл бұрын
they might be some competitors I guess. I have been following him since so long. He is very clear even in .Net core.
@02565224215
@02565224215 4 жыл бұрын
Most relevant for what I have been looking for. Keep it up brother. Thank you so much!!!
@saivaraprasadarao6990
@saivaraprasadarao6990 Жыл бұрын
i saw many videos , but this video is really awesome and am surprised how easily Nitish has made me understand the dependency injection so easily. you have a great talent guru. request you please make videos on vue.js , dotnet 7 , microservices docker etc. once again big Thank you 🙏
@WebGentle
@WebGentle Жыл бұрын
Thank you so much for your words, please keep sharing our content with others and on your social media, we get motivation to make such content when people watch more. Happy Learning 🎉
@KhalidAfridi1
@KhalidAfridi1 2 жыл бұрын
Thank you so much bro. really appreciated your hard work and so easy explaination. I learnt a lot from this series of MVC. Dependency Injection was the most confusing topic for me, but you explained it in so easy way. Hat off to you. many thanks. 🤠👍
@mohdnasirhussain1
@mohdnasirhussain1 6 жыл бұрын
oh mere bhai bahut bahut sukriya aapka dil se aapne sun hi li meri. bahut bahut sukriya aapko allah trki de
@radhasingh23
@radhasingh23 3 жыл бұрын
The way you have explained it was awesome.you fully cleared the doubts.thanks
@bhagyashreeghhsn5491
@bhagyashreeghhsn5491 4 жыл бұрын
Sir your teaching style n content is too good .it's language is simple and easy to understand.
@WebGentle
@WebGentle 4 жыл бұрын
Thankyou for the compliment
@sudhirsingh-rh3gj
@sudhirsingh-rh3gj 4 жыл бұрын
Simple and precisely explained . 👍👍👍👍👍
@WebGentle
@WebGentle 4 жыл бұрын
Thank you so much 🙂
@kalpeshkoli19
@kalpeshkoli19 5 жыл бұрын
@WebGentle Thank you very much......understood the concept of Dependency injection very well.....you have kept it very simple..thanks once again
@rohanrvs
@rohanrvs 5 жыл бұрын
Thanks for this video. I have one question. In your video you updated the concrete class in unity config from employee to custom. So my question is can't we keep both concrete classes implementing that iemployee interface. So that I can inject one dependancy in one controller and another in another controller. Eg.i inject Iemployee of employee class in controller 1 and Iemployee of custom class in controller 2.
@fInDmEbRuh
@fInDmEbRuh 4 жыл бұрын
custom class in controller 2 means another custom class of controller 2, right??
@tytran-n4h
@tytran-n4h 9 ай бұрын
can you help me please "Exception of type 'Unity.Exceptions.InvalidRegistrationException' was thrown"
@subodhbende2533
@subodhbende2533 3 жыл бұрын
Bhai kitni asani se explain kiye ho..... dependacy injection ke 2 more types bhi explain krdo pls.....method and property
@stoic2454
@stoic2454 4 жыл бұрын
Helped alot in gaining clarity in a seemingly difficult concept, thanx for the vdo, wish you all the success in future endeavours.
@WebGentle
@WebGentle 4 жыл бұрын
Thanks for the beautiful words. I am glad this video helped you.
@yogeshbhawsar5002
@yogeshbhawsar5002 5 жыл бұрын
Very good explanation well done . now it is clear to me where to use dependency injection. thanks
@abhayshah2998
@abhayshah2998 3 жыл бұрын
Very good approach to understand the concept. Hats off bro.
@RAHULROY-sb9nt
@RAHULROY-sb9nt 2 жыл бұрын
Unity.mvc5 is not working ...is there any good alternative package for .net framework??
@vinaydeveloper1369
@vinaydeveloper1369 6 жыл бұрын
Thanku sir vedio jaldi jaldi sir banaiye .a0ki vedio se hum sab khub sikhate hai.thanku sir hame e commerce websites development karni shikhani hai sir...5hanku sir apki vedio ka bahut intjar rata hai
@diptibakyanayak7142
@diptibakyanayak7142 2 жыл бұрын
I liked the video on dependency injection. Do you have video for SOLID principls?
@AnjuSingh-q2r
@AnjuSingh-q2r Жыл бұрын
Awesome Explanation !!! Thank You !!
@kidsworld1730
@kidsworld1730 5 жыл бұрын
Thanks a lot. Have one suggestion. It would be very much helpful if you explain Dependency Injection by using different databases. Or can say, how to achieve dependency injection in Business Layer and Data access layer? I wish many of us looking for such example eagerly. Thanks Again.
@waqashussain4152
@waqashussain4152 2 жыл бұрын
Great Explanation. I have a Question. Is one Interface implemented on different classes at the same time by using Unity? If yes, then how to implement please let me know. For Example: IEmployee Interface is implemented on more than one class at the same time. Like:
@DecentProgrammer
@DecentProgrammer 4 жыл бұрын
Very Informative Video... Please keep making videos for us.. And ignore dislikes... make videos for people who like and see all of your videos.
@WebGentle
@WebGentle 4 жыл бұрын
Thank you
@yogeshkumar9992
@yogeshkumar9992 3 жыл бұрын
Sir mvc5 kya use hota hai abhi expire to nhi hua hai please tell me
@sajiddhukka9053
@sajiddhukka9053 3 жыл бұрын
Thank you nitish well explained, I have one question hope you clear me with this. Kya employee ka object hamesha banta hai every request pe. If yes toh how to use last created obj. if no then how to prevent to create obj again and again...
@rahulladwal2594
@rahulladwal2594 4 жыл бұрын
Thanks a lot bro. Now dependency injection is clear to me. Thanks again!!!
@SaurabhGupta-yp2gi
@SaurabhGupta-yp2gi 3 жыл бұрын
Thanks for such useful information... nobody tells these things 🙏🙏🙏
@sanchi1515
@sanchi1515 2 жыл бұрын
Sir..do u have ur videos on design patterns ..please share the link..your explanation us awesome.. Please share i need them asap.
@anilsinghsw
@anilsinghsw 3 жыл бұрын
Very well explained. Thanks, Nitish
@jugad_tech6687
@jugad_tech6687 6 жыл бұрын
Great job brother. All videos are best.
@sunilsingh-tk9br
@sunilsingh-tk9br 6 жыл бұрын
Mujhe mvc me demo project krna hai pr kahi nhi hai ..youtube pr..jisse ye pata chal sake ki real project me kaise implement krte hai..crud operation with repository pettern k sath kr krke thak gya. Mujhe real project chahiye logic clear krne k liye..please kuch help kr skte hain?? Waiting for your reply
@WebGentle
@WebGentle 6 жыл бұрын
I will cover real world project in MVC.
@sunilsingh-tk9br
@sunilsingh-tk9br 6 жыл бұрын
@@WebGentle thanks but jaldi upload kijiyega..
@Gauravkumar-jm4ve
@Gauravkumar-jm4ve 10 ай бұрын
Very clearly nicely explained, can u pls mak a video on clean architecture in .Net 7
@vikrantdalvi9886
@vikrantdalvi9886 3 жыл бұрын
Niece example and explanation.... you are doing good
@codingislife6387
@codingislife6387 2 жыл бұрын
Thanks Sir. You Cleared By Basic Concept
@WebGentle
@WebGentle 2 жыл бұрын
Thank you for your words. I love to hear your feedback on LinkedIn where you can tag my profile www.linkedin.com/in/meettonitish
@asimsultaan1436
@asimsultaan1436 4 жыл бұрын
sir i have an issue unity.mvc5 download ni ho rahi... ( Attempting to resolve dependency 'Unity (≥ 5.11.1)'. 'Unity' already has a dependency defined for 'System.Runtime.CompilerServices.Unsafe'.) kuch is typeka error a raha....
@amitagrawal5289
@amitagrawal5289 6 жыл бұрын
A heartful thank to you sir...Your videos helped alot...Can you plzz upload some real time project in MVC...waiting very eagerly for it...
@samiuddin9276
@samiuddin9276 4 жыл бұрын
Bht Achi video the bhai jan lekin aik question hai jaisa k aap nay start main kaha k business logic hamaray pass hai and controller wala project client k pass hai to jab ham class new add kartay hain jaisa k aap nay Employee k bajaye Custom class use kia to then phir client ko kehna parayga k aap config file main new class ko register karo jaisa k aap nay unity config class main employee class ko hata kar Custom class register ki ?
@skaduj
@skaduj Жыл бұрын
i did all directions but i have an error Unity.Exceptions.InvalidRegistrationException How can i fix it, can you help me please :(
@Tabassmi
@Tabassmi 2 жыл бұрын
Kaash Ap ne usi tarha .Net Core bhi Hindi main Banaiy hote lectures Big Fan From Pakistan 😘
@WebGentle
@WebGentle 2 жыл бұрын
Sbhi students hindi nhi jante Dost. English m world wide students learn kr skte h easily.
@MrShreedar
@MrShreedar 3 жыл бұрын
Thank you so much for clear explanation.
@kaushikbhadani
@kaushikbhadani 3 жыл бұрын
Very well explained. Thank you, Nitish.
@roshanpawar4895
@roshanpawar4895 3 жыл бұрын
can u make Angular with MVC vedios?
@deepwebtube
@deepwebtube 5 жыл бұрын
Superb job done! Kept it simple and to the point!
@gayathridevib-wf1pl
@gayathridevib-wf1pl 2 жыл бұрын
Thank you sir for this clear explanation..
@ashvinfofandi107
@ashvinfofandi107 5 жыл бұрын
Very good explanation.please explain more in details with multiple database and with real life examples
@taiyebsingapuwrala
@taiyebsingapuwrala 5 жыл бұрын
Thanks Nitish i must say great explanation.Keep it up
@K2_wings
@K2_wings 3 жыл бұрын
Beautifully explained 👏
@sagarbhopale6857
@sagarbhopale6857 5 жыл бұрын
Very nice explanation..Thank you very much..
@ashutyagi9877
@ashutyagi9877 3 жыл бұрын
Really great explanation sir
@suyashdate8594
@suyashdate8594 4 жыл бұрын
How can we resolve dependency when different classes implementing same interface
@myprincesstanishka7914
@myprincesstanishka7914 4 жыл бұрын
Thanks bro..its really helpful and nicely explained
@WebGentle
@WebGentle 4 жыл бұрын
Happy to help
@sridevibathula64
@sridevibathula64 2 жыл бұрын
You are really amazing ❤️
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
Great Sir,I am grateful to you.
@palkeshjain7646
@palkeshjain7646 4 жыл бұрын
Always awesome and clear all concept. Thank you. I have one more questions , if we want one more layer of our model.edmx and we want to implement with real db, how can we easy to design
@abhinavyadav7890
@abhinavyadav7890 5 жыл бұрын
Thank you very much, nice and clear cut explanation
@anjalivashist6784
@anjalivashist6784 3 жыл бұрын
Good Work!!
@JupyTerGaming
@JupyTerGaming 5 жыл бұрын
Yrr itni achi video P itne kam views, Yhi to problm h india ki. Aur bolte h growth krni h Thank you bhai ☺
@WebGentle
@WebGentle 5 жыл бұрын
Haha that's cool 😊
@gauravjoshi5054
@gauravjoshi5054 5 жыл бұрын
Simple and clean explanation thank you
@bbott25
@bbott25 10 ай бұрын
Thankyou for the tutorial
@moeezahmad8088
@moeezahmad8088 2 жыл бұрын
It is giving an error in Constructor _employee = employee; asking to typecast it e.g. _employee = (Employee)employee;
@shubhtrendz
@shubhtrendz 4 жыл бұрын
Thank u bro u hv explained so well
@TheBharath19
@TheBharath19 5 жыл бұрын
Fantastic explanation, Good Job
@sanjayjha9367
@sanjayjha9367 6 жыл бұрын
sir jee very helpful video Thank You sir jee
@yogeshgangwar8307
@yogeshgangwar8307 2 жыл бұрын
i love ur vid, u r awesome bro...
@ARV-sf5td
@ARV-sf5td 5 жыл бұрын
Well explained thank you so much... Keep it up brother
@rovinsgupta1696
@rovinsgupta1696 4 жыл бұрын
Sir great explanation
@WebGentle
@WebGentle 4 жыл бұрын
Thanks for liking
@amjadislamamjad8
@amjadislamamjad8 Жыл бұрын
out class brother
@AliAhmadShahzada
@AliAhmadShahzada 5 жыл бұрын
Excellent tutorial brother. Thankyou !!
@asimsultaan1436
@asimsultaan1436 4 жыл бұрын
sir i have an issue unity.mvc5 download ni ho rahi... ( Attempting to resolve dependency 'Unity (≥ 5.11.1)'. 'Unity' already has a dependency defined for 'System.Runtime.CompilerServices.Unsafe'.) kuch is typeka error a raha.... help plz
@NeerajSharma-pw1zu
@NeerajSharma-pw1zu 2 жыл бұрын
so far I have not been able to find any satisfactory explaination for use of Dependency Inversion (DI). Not even in this video. Apart from issue with unit testing, I do not see any benefit of DI. If any has logical knowledge/explaination of this subject(DI), please comment. What is wrong with tight coupling? Explaination @4:55 to @5:45 didnt make any sense. If you want to change any implementation, the process of change with or without DI is same. the consumer has a strong binding with interface in DI and interface has strong coupling with service class, then why have this extra step of Interface?
@K2_wings
@K2_wings 3 жыл бұрын
Sab clear kar diya thanks
@ghanshamkashyup6235
@ghanshamkashyup6235 3 жыл бұрын
Very well expliain finaly i understood
@PreetiSingh-zu5lz
@PreetiSingh-zu5lz 4 жыл бұрын
Nice Work!
@anishpal2397
@anishpal2397 3 жыл бұрын
very well explained ..
@chaudharyhit
@chaudharyhit 3 жыл бұрын
Great Expiation
@SunilSahu-ni3fv
@SunilSahu-ni3fv 6 жыл бұрын
Thank You Sir for clearing my concept.
@AliHaider-fn2mm
@AliHaider-fn2mm 4 жыл бұрын
nice explanation
@faisalpathan2722
@faisalpathan2722 6 жыл бұрын
Excellent! Thanks man.
@firdaushalam2067
@firdaushalam2067 5 жыл бұрын
Thanks sir ji pls provide us resolve dependency by method and property using dependancy injections
@SanjayAgrawal-zw2pk
@SanjayAgrawal-zw2pk 5 жыл бұрын
please also make a video series for SOLID principles
@akshaykumar5012
@akshaykumar5012 6 жыл бұрын
wonderful tutorial
@muhammadalmaskhan9265
@muhammadalmaskhan9265 5 жыл бұрын
great bro ... It helped vry much
@WebGentle
@WebGentle 5 жыл бұрын
I am glad my vidoes are helpful for you. Keep learning
@SonuKumar-zl2cb
@SonuKumar-zl2cb 5 жыл бұрын
Thanks sir ji pls provide us perform crud operations using dependacy injections
@anuragmohanty1301
@anuragmohanty1301 5 жыл бұрын
Excellent
@nileshmonde4879
@nileshmonde4879 4 жыл бұрын
Great bro
@hazikabbasi8967
@hazikabbasi8967 Жыл бұрын
superb 🙂
@mangeshsawant7535
@mangeshsawant7535 3 жыл бұрын
Thank you so much
@gasstove9437
@gasstove9437 5 жыл бұрын
why dependency injection when we had removed dependency using interface
@mohdnasirhussain1
@mohdnasirhussain1 6 жыл бұрын
mvc api mai b pls video bana dijiye vo b important hai. kiyoki abhi mvc API hi baki hai
@deepakrishnappa7685
@deepakrishnappa7685 5 жыл бұрын
Very well explained and easily understandable. Thank you. Very very helpful. Great work. If you can make Videos on SOLID principles and Design Patterns it would be a great.
@anuragmohanty1301
@anuragmohanty1301 2 жыл бұрын
Very Nice
@amolkalbhor2580
@amolkalbhor2580 6 жыл бұрын
Thanks a lot sir.... for this tutorial.
@sunilsingh-tk9br
@sunilsingh-tk9br 6 жыл бұрын
Another great tutorial..
@cooolone4u
@cooolone4u 5 жыл бұрын
Thank you sir
@RajuNerurkar
@RajuNerurkar 6 жыл бұрын
Very nice sir.
@manishsenapati4613
@manishsenapati4613 3 жыл бұрын
Too Good
@sagarrajpure7797
@sagarrajpure7797 5 жыл бұрын
Thanks Sir...
@RTXPhotorealismGameplay
@RTXPhotorealismGameplay 5 жыл бұрын
Perfect .......
@rishavraj3127
@rishavraj3127 3 жыл бұрын
Too Easy
@captnrango6029
@captnrango6029 4 жыл бұрын
Excellenet
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
thanks sir
@nitingudale3321
@nitingudale3321 5 жыл бұрын
Nice
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Dependency Injection in .NET Core (.NET 6)
1:00:32
IAmTimCorey
Рет қаралды 196 М.
What is Dependency Injection in .NET?
7:31
DotNetMastery
Рет қаралды 28 М.
Dependency Injection for ASP NET Core 6.0 - An UPDATED 2022 Tutorial
8:10
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН