DEPENDENCY INJECTION in ASP.NET Core | Getting Started With ASP.NET Core Series

DEPENDENCY INJECTION in ASP.NET Core | Getting Started With ASP.NET Core Series

Rahul Nath

3 года назад

43,102 Просмотров

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


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

Aamir Ali
Aamir Ali - 03.09.2023 09:09

What is difference between services.AddTransient<DependencyService1>(); and services.AddTransient<DependencyService1, DependencyService1>();
Behind scene what is happening how its registering Single Class or Linking <Interface/Abstract,Class> object in Dependency Injection and behind the scene how it allowing and disallowing object life time

Ответить
Canuckpirate
Canuckpirate - 07.06.2023 20:03

Thank you for including a book recommendation for those who want to take a deep dive - I'm always looking for recommendations on resources and people are hesitant to make recommendations they don't personally directly benefit from

Ответить
Amit Sharma
Amit Sharma - 26.04.2023 13:14

Very Precise, Simple and easy to understand .. really liked it.

Ответить
Lunolux
Lunolux - 24.04.2023 00:01

nice

Ответить
islam Ahmed
islam Ahmed - 30.01.2023 15:09

Great Tutorials and awesome channel thanks Rahul it helps me a lot

Ответить
thefront
thefront - 10.11.2022 08:35

FYI, Startup.cs is missing because it got merged into the Program.cs file. Hope that helps someone!

Ответить
Volodya Kachalka
Volodya Kachalka - 23.09.2022 11:36

You're great teacher, greetings from Poland :)

Ответить
Chetan Sn
Chetan Sn - 16.09.2022 05:23

Good job, detailed explanation which helps in realtime development.

Ответить
Akash Tripathi
Akash Tripathi - 30.08.2022 16:26

Hi Rahul, how can we Inject parameterized constructor using dependency injection?

Ответить
Le Anh Xuan
Le Anh Xuan - 24.08.2022 09:47

Hello Rahul, I eally appreciate your clear explanation but have a question: After override IFunctionsHostBuilder at startup; When I call azure function from client side with url and appkey then function fails with error message like this: Microsoft.AspNetCore.Authentication.Core: No authentication handlers are registered. Did you forget to call AddAuthentication().Add[SomeAuthHandler]("WebJobsAuthLevel",...)?. Please help me know how the way to fix this trouble.

Ответить
DP
DP - 20.07.2022 14:35

I've no words to explain how good You explain a Complicated concept this much Easily, your channel is going to be very big in the future, All the best Sir. Love from INDIA ♥♥♥.

Ответить
ryan lee martin
ryan lee martin - 08.07.2022 00:53

I appreciate this video but man do I hate how .net does this stuff. My eyes glaze over at all this ServiceProvider, ServiceCollection, IOperation... stuff. I hate it so much lol

Ответить
Deivamani Dhandabani
Deivamani Dhandabani - 10.06.2022 17:14

Please post the video for SOLID principles with the real time scenarios implementation

Specifically Open/Closed and Liskov Substitution Principle

Ответить
Keith Mar
Keith Mar - 08.06.2022 06:16

Nice job. You're a great explainer.

Ответить
Anup Chandran
Anup Chandran - 01.06.2022 21:59

Thank you :)

Ответить
Deivamani Dhandabani
Deivamani Dhandabani - 27.05.2022 17:47

Could you please explain the scenarios when should use Azure Web Jobs Vs Azure Functions Vs Logic Apps
and need the scenario to use Azure Service bus Queues and Topics

Please advise.

Ответить
Deivamani Dhandabani
Deivamani Dhandabani - 27.05.2022 17:45

Good explanation Thanks Rahul.

Ответить
Siddharth
Siddharth - 05.05.2022 22:30

I like that you covered small details while explaining a concept. --- Give this man a raise (Obama pointing finger).

Ответить
Srikanth ek
Srikanth ek - 08.04.2022 04:19

Thanks for the video, i have a question, say i have a class library without any startups.cs or program.cs , is it possible to implement dependency injection without startup.cs or program.cs ?

Ответить
Ezhisaivallaban R
Ezhisaivallaban R - 18.02.2022 09:09

Thanks for clear explanation

Ответить
MUHAMMAD AYAZ MEHMOOD ABDUL HAYEE
MUHAMMAD AYAZ MEHMOOD ABDUL HAYEE - 06.02.2022 16:54

Why we use Interfaces for dependency injection or repository patten? is there any other way to achieve this ?

Ответить
John Goodson
John Goodson - 02.02.2022 20:34

This is great!

Ответить
NetscapeInTheWood
NetscapeInTheWood - 31.01.2022 02:34

Thanks 😎

Ответить
Antariksh verma
Antariksh verma - 26.01.2022 01:31

Thank you for great videos Rahul !

Ответить
Igor Lira
Igor Lira - 17.01.2022 00:45

This is just amazing, thank you very much!

Ответить
juhair ahamed
juhair ahamed - 15.01.2022 22:43

Thanks again for good explanation

Ответить
P Kapil Sri Sai
P Kapil Sri Sai - 13.01.2022 10:22

Love the way you explain.....

Ответить
Saturnin Ramirez
Saturnin Ramirez - 11.01.2022 19:04

very good explications , thanks

Ответить
Anthony
Anthony - 09.01.2022 23:20

Thanks Rahul. This was great.

Ответить
Sidhant Verma
Sidhant Verma - 13.12.2021 14:41

Pure Gold Content. Thanks a lot man for all of the great content you make.

Ответить
Juan Vera
Juan Vera - 10.12.2021 03:01

Ah man, I have to ruin the 420 like count because you deserve one more like. Great video!

Ответить
Vishwanath Bhat
Vishwanath Bhat - 28.11.2021 08:48

I really appreciate your work. Thank you so much for sharing your knowledge. I am currently using Visual Studio 2022. Lot of things changed, there is no startup.cs. Would it be possible to update your videos for Visual Studio 2022 ?

Ответить
zeeshan bage
zeeshan bage - 28.10.2021 11:21

why I did not found you earlier. Making my interview preparation easy with each video. Great explanation not just this video but all.

Ответить
Centrilla
Centrilla - 13.10.2021 13:57

This is a gem...

Ответить
sree7986
sree7986 - 02.10.2021 14:48

nice explanation Rahul, i really liked the diagram showing the lifetimes

Ответить
Aaron Castaños
Aaron Castaños - 26.09.2021 07:46

now i can start

Ответить
Anthony Park
Anthony Park - 03.08.2021 20:38

The best. I really really appreciate your clear explanation. I'm sure this channel is going to get much bigger. Thank you

Ответить
TheYoutuber
TheYoutuber - 10.07.2021 20:42

You are awsome sir! You are fucking Awsome!

Ответить
Thomas Munguya
Thomas Munguya - 09.07.2021 18:13

You explain so well. I'm glad I stumbled upon your channel. Keep it up.

Ответить
Sourav Roy
Sourav Roy - 07.07.2021 16:31

awesome

Ответить
NK
NK - 02.07.2021 09:04

Every request to the controller will result in creation of new DependencyService1 and DependencyService2 objects because they are registered as Transient. However within the DependencyService1/2 code you have used various types of IOperations (registered as transient/scoped/singleton). In the case of scoped and singleton, how does the program ensure that within every new instance of DependencyService1/2 you get same instance of scoped (in the single request) and same instance of singleton (across all requests)? Is this the functionality of the DI container's internal implementation? Also, is this an example of multilevel DI that you have shown? Level 1 is the DependencyService1/2 and Level 2 is the Operation.

Ответить
Ranger Pedia
Ranger Pedia - 28.06.2021 12:43

Awesome sir👍

Ответить
Patrick Mullen
Patrick Mullen - 27.06.2021 11:43

Great video 👍

Ответить
Ahmed Basha
Ahmed Basha - 16.06.2021 16:01

Amazing work, so far it's the best explanation for Dependency Injection.

Ответить
Satheesh
Satheesh - 13.06.2021 08:07

You are amazing man. No one else explained this in easy and understandable way

Ответить