Asp.Net Core tutorial for absolute beginners (4): services and service lifetimes

preview_player
Показать описание
In this 3rd lesson we will talk a lot about controllers and services in Asp.Net Core.
#AspNetCore #DotNetCore #CSharp

Рекомендации по теме
Комментарии
Автор

I have watched the 4 first videos until now, you can't imagine how great is your explanation! thank you a lot.

wahebbenzaid
Автор

This was the best ever playlist on webapi for beginners, I have ever watched which covers all the topics. I am very grateful it was free on youtube. Thankyou so much 🎉🖤

mokkascience
Автор

Thank you so much for this video as well, very informative 🙏 (with love from Sri Lanka)

krishanthadharmasiri
Автор

The explanation about DI and service lifetimes is awesome.
I've gone through some of the other videos and courses but there was never explanation about the actual use of using DI.
The in depth explanations I'm seeing in these videos are unique.

All the questions I had earlier are answered in your video.
Great work and thanks a lot for these videos.

vinyasanallamaddireddy
Автор

Awesome videos thanks bro ur great thanks for sharing your thoughts and guidance please continue with awesome work salute to you brother

kunnudev
Автор

I would like to thank you for your efforts, very nice explanation

mohamedseliem
Автор

Thank you so much for this!!! you're truly a lifesaver

donmikkodanm.olmillo
Автор

Does the ordering matter when registering services? What I mean is, looking at the dependency graph, do we start from the terminal nodes and work our way up? Or it does not matter in which order the services are added in code?

bmrreddy
Автор

Thanks much for this tutorial!
As we don't instantiate a Controller anywhere, so we need someone to create a service which controller's constructor needs..that creation of service instance is done in DI container in start up class. Is my understanding correct?

VinuP
Автор

I have a question Dan. So if two separate requests come in from separate clients, and the controllers their requests get passed to require service c1, do they get the same exact instance or does the DI container instantiate two completely different instances of the c1 service?

ekcodes
Автор

Is there any reason you hide your cursor? I personally find it makes following along when you reference things a bit more difficult.

bigggmoustache