ASP NET Core dependency injection tutorial

ASP NET Core dependency injection tutorial

kudvenkat

5 лет назад

411,894 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

learner
learner - 31.08.2023 03:32

What if don't inject and when we need to change MockEmpRep() to SqlEmpRep() type we just changed the code inside the mock and as a result only one place needed to changed.? Please someone clarify me this.

Ответить
Ravi Vishwakarma
Ravi Vishwakarma - 13.08.2023 06:22

How does the call parameterize the constructor 0.12

Ответить
Leon
Leon - 03.03.2023 21:20

can someone please explain to me how would I create an instance of HomeController? As I understand the DI Container will handle the dependency injection.

Ответить
Rohit Kalyanpuri
Rohit Kalyanpuri - 07.02.2023 12:38

Hi, one questions here, why we need DI, we are using just because its written in book, we can work without it also. its just increasing the file in the folder. what if we use Serviceprovide.getRequiredService instead of assigning at startup class . please suggest ?

Ответить
Oliga
Oliga - 07.02.2023 06:08

Thanks teacher venkat, check in today !

Ответить
RAHUL MEHRA
RAHUL MEHRA - 28.12.2022 20:04

Your teaching method is very impressive and doubt clearing

Ответить
ramzi rich
ramzi rich - 22.12.2022 22:06

I failed my interview because of why we use interface , the interviewer wanted to go so in depth with this question in this video and the previous one I understood why we use interface and and DI thank you very much I searched a lot for this topic but you offer the easiest explanation Thank you from the bottom of my heart

Ответить
Shaimaa Sayed
Shaimaa Sayed - 14.11.2022 23:40

Thank you so much really helpful

Ответить
Yahya Kawia
Yahya Kawia - 27.10.2022 11:39

Thanks for the explanation on instructor injection. It has helped my understanding of the dependency injection concept.

Ответить
Antonio Colombo
Antonio Colombo - 23.09.2022 18:35

Thanks! That's exacly what I was looking for

Ответить
Prem Kumar
Prem Kumar - 20.09.2022 05:49

Your videos is so great..

Ответить
Adam Ameen
Adam Ameen - 19.09.2022 11:03

What a brilliant video.. Great stuff. I judged the video by the thumbnail, and thought it wouldn't be great, but what a great explanation.. 🔥❤ "Never judge a book by it's cover"

Ответить
Virendra Kumar
Virendra Kumar - 31.08.2022 04:29

Severity Code Description Project File Line Suppression State
Error CS0161 'Startup.ConfigureServices(IServiceCollection)': not all code paths return a value EmployeeManagement C:\Projects\2019\EmployeeManagement\EmployeeManagement\Startup.cs 25 Active

Ответить
Christos Kili
Christos Kili - 27.07.2022 13:12

Great playlist - too bad it;s for V2.2

Ответить
Aashwin Bhushal
Aashwin Bhushal - 03.06.2022 15:17

where is the next video?

Ответить
sanjay dobhal
sanjay dobhal - 15.04.2022 00:53

Great explanation.. Nobody explains like you . Hats off to you.

Ответить
jatin kumar
jatin kumar - 11.04.2022 06:40

Amazing explanation. Thanks

Ответить
Kumar Shrey
Kumar Shrey - 07.01.2022 14:46

7 January 2022

Ответить
Afzal Bazeer
Afzal Bazeer - 05.01.2022 17:34

The best. Ur explanations are awesome sir.

Ответить
Mamadou DIALLO
Mamadou DIALLO - 06.11.2021 21:22

Thanks Kudventkat for your time to sharing this helpful tuto, keep it up i appreciate it a lot

Ответить
Interview Happy
Interview Happy - 20.10.2021 11:16

Ultimate explanation

Ответить
ProGaLioN
ProGaLioN - 14.09.2021 15:50

WOW , Thank you so much , very useful video

Ответить
jaheer sha Shaik
jaheer sha Shaik - 14.08.2021 18:00

Wow, Simply Wow

Ответить
Somnath Sharma
Somnath Sharma - 23.06.2021 07:51

But in what scenario where we need to change mockrepository class to sqlrepository class implementation as you mentioned in video

Ответить
Meera Maahi Doshi
Meera Maahi Doshi - 21.06.2021 09:40

i am not getting the output marry instead still getting hello world with version 3 above. what would be the problem?

Ответить
Vinoth Rajendran
Vinoth Rajendran - 10.06.2021 08:09

Fools disliked the video

Ответить
agentstona
agentstona - 02.06.2021 17:59

its not tedious to do a FIND REPLACE refactor across 50-60 controllers ........ Its also not error prone ........jesus you guys teaching loose coupeling like the BIBLE ....... the only reason whyd ud change is if you didnt plan or Design properly in the first place........stop teaching that loose coupeling is better ......TIGHT COUPELING IS BETTER !!!!! for memory load ,cpu load and optimization !!!!!!!!

Ответить
Sudipto Dutta
Sudipto Dutta - 15.05.2021 07:03

I am getting an error. Plz help me out in this regard.

inconsistent accessibility property type is less accessible

Ответить
Human
Human - 05.05.2021 21:21

Thank you very much Venkat. Your videos are really helpful.

Ответить
Kumar Shrey
Kumar Shrey - 26.04.2021 21:37

27 April 2021

Ответить
abdul kadir
abdul kadir - 08.04.2021 14:32

Great

Ответить
Patel Abhay
Patel Abhay - 02.04.2021 14:45

Can you please add a video which shows Multiple implementations for Dependency Injection like in the current video (Part 19) you show one implementation for MockEmployeeRepository, how to manage if in future we have other implementation for IEmployeeRepository?

Ответить
Bhadrik Jagad
Bhadrik Jagad - 18.03.2021 14:59

👍👍👍👍👍👍

Ответить
Nikhil Kolhe
Nikhil Kolhe - 28.02.2021 23:44

First time I understood dependency injection🙏🙏

Ответить
Ronald
Ronald - 15.02.2021 01:38

Can I use a repository pattern with .Net Core Entity framework so that I can switch out implementations? For example lets say I want to use a class like MockEmployeeRepository for testing but I also want the flexibility to use a SQL Server data store. Thanks !!!

Ответить
Maviya Qureshi
Maviya Qureshi - 11.02.2021 20:57

Thank sir

Ответить
Tetley
Tetley - 31.01.2021 09:22

Right to the point, no wasted time bloating the video, just a very clear explanation of DI. Thanks.

Ответить
Arun Joshi
Arun Joshi - 26.01.2021 18:50

what is dependency injection in custom filter

Ответить
T jay
T jay - 09.01.2021 15:00

Thank you so much what a excellent explanation

Ответить
Ashok Raju
Ashok Raju - 18.12.2020 12:40

short and to the point, thanks

Ответить
David Fong
David Fong - 30.11.2020 02:27

Subscribed!

Ответить
Michael Wassell
Michael Wassell - 27.11.2020 14:23

Great video, just what I need for my university project.

Ответить
Maviya Qureshi
Maviya Qureshi - 16.11.2020 10:18

Finally!!! I have understood what DI is. Thanks Sir.

Ответить
Reyneer Morales
Reyneer Morales - 16.11.2020 04:00

What if I want to use a class library? a class library does not include the startup.cs class.

Ответить
Kelum Edirisinghe
Kelum Edirisinghe - 03.11.2020 11:32

well explained!

Ответить
Junaid
Junaid - 31.10.2020 18:05

What an amazing explanation. Kudos!

Ответить
David Moya
David Moya - 27.10.2020 17:07

Fantastic Video Gentleman

Ответить