Dependency Injection C# Tutorial
HTML-код
- Опубликовано: 5 июн 2023
- 💻Watch the full tutorial: • ASP.NET Core Tutorial ...
Dependency injection is the #1 technique you need to master to unlock the power of ASP.NET Core, given how it can significantly simplify your code and improve flexibility.
In this video I explain what dependency injection is and then I go over a practical implementation in a simple C# based .NET REST API.
🔥Become a Senior C# Backend Engineer: juliocasal.com/courses
🗺️Get My Free .NET Backend Developer Roadmap: juliocasal.com/roadmap
Join me on Patreon: / juliocasal
Follow me on LinkedIn: / juliocasal
Follow me on X: x.com/julioc
#csharp #dotnet #aspnetcore
You are awesome
This is underrated, thank you sir ^_^
Glad you think so!
I increased playtime to 1.25x, funny cause I read a comment of someone saying you speak fast... Extremely Helping videos. I wonder why you have less subscribers. May be make more videos.
Thank you, appreciate it!
Great explanation. Can you make a video about how to use scoped and other types with databases and other things like you mentioned in the end please. Thank you very much.
Here: ruclips.net/video/bKCzoR01lpE/видео.html
Brilliant, thank you
You're very welcome!
Thanks a lot for this valuable explanaiton. in case you have a new class, also, you will create an interface to it to register it, so, the place you want to consume it, you have to change the interface injection to the new interface, please correct me if I'm wrong. Also, I have inheritance "Abstract Class" with some common implementation for subclasses, using DI with inheritance is impossible, because they are different concepts. I tried it a lot, I didn't succeed. Appreciate if you correct me if I'm wrong. Thanks
You're welcome!
when to use singleton or addscoped? what scenario?
I cover that here: ruclips.net/video/AhAxLiGC7Pc/видео.html
Check the subtitles at 0.06. Hilarious!
Ouch! Thanks for letting me know.
Can't do subtitles manually for all the video, but at least fixed that part.
Can I get that PPT it's really awsm
It's included in a few of my paid courses.
the question when to use singleton , case!
?
Can you elaborate?
you are talking too fast
Sorry!