AddSingleton(), AddScoped() & AddTransient() in a .NET 7 Web API 🚀

  Рет қаралды 17,292

Patrick God

Patrick God

Күн бұрын

Пікірлер: 35
@NIKOLAOSGYPAS
@NIKOLAOSGYPAS Жыл бұрын
Crystal clear explanation. thank you Patrick
@PatrickGod
@PatrickGod Жыл бұрын
Glad I could help. Thrilled to have you in the .NET Web Academy! 😁
@Waaade1
@Waaade1 Жыл бұрын
best explanation on youtube for sure ! thanks Patrick
@vintagewander
@vintagewander Жыл бұрын
wow exactly what I needed to learn, thanks Patrick
@Roman-uy7qp
@Roman-uy7qp Жыл бұрын
You are such a legend.
@PatrickGod
@PatrickGod Жыл бұрын
Thank you so much! 😅
@embossCoder
@embossCoder Жыл бұрын
Really well explained. Please keep uploads this kind of videos. Really helpful. Thank you.
@PatrickGod
@PatrickGod Жыл бұрын
Thank you for your kind feedback!
@joaogabrielv.m328
@joaogabrielv.m328 Жыл бұрын
Hell yeah! This video really helped, Patrick. Keep up, man
@PatrickGod
@PatrickGod Жыл бұрын
Glad I could help! 😁
@edosoghomonyan3072
@edosoghomonyan3072 11 ай бұрын
Thank you my friend, it's a great example of DI life time!
@fissoleouf23
@fissoleouf23 3 ай бұрын
excellent video! thank you so much! I defintely got the point since one year trying to understand !!! just a tiny precision: singleton can be useful in some use cases like logger :)
@dasfahrer8187
@dasfahrer8187 Жыл бұрын
Not a fan of zombie stuff, but I really appreciate the fun example.
@Kirtish19
@Kirtish19 Жыл бұрын
Nice informative video. Series is last of us.
@dasfahrer8187
@dasfahrer8187 Жыл бұрын
Sound like these really need to be thought about in regards to the context of the API, database updates and whether or not EF tracking has been turned off (which in an API it probably should be).
@arturg6771
@arturg6771 Жыл бұрын
Thanks for the video. please record a video about API and cloud solutions. maybe CRUD
@PatrickGod
@PatrickGod Жыл бұрын
You mean deploying your Web API to Azure, for instance?
@arturg6771
@arturg6771 Жыл бұрын
@@PatrickGod Yes Web API to Azure, it would be cool to see from you, you explain and show coolly. If you want to do with AWS it will also not be bad
@ruslan_yefimov
@ruslan_yefimov Жыл бұрын
@@PatrickGod That would be awesome :) Setting up different deploys, database as a separate microservice or whatever you think is more importand
@arturg6771
@arturg6771 Жыл бұрын
@@PatrickGod It would be cool to see Azure and MongoDB or some other database
@mhsn27mhsn10
@mhsn27mhsn10 7 ай бұрын
thank you , very simple video
@raphaellukas3328
@raphaellukas3328 Жыл бұрын
Ich liebe The Last Of Us :-) Gestern die letzte Episode gesehen! Was halten Sie von der Spieladaption?
@PatrickGod
@PatrickGod Жыл бұрын
Phänomenal. Sowohl Spiel als auch Serie, wunderbar umgesetzt. 😁
@idkanymoreman
@idkanymoreman Жыл бұрын
hi patrick, awesome stuff as usual. if i have a row of 200,000 in a table, is using Ef Core a good idea? if so, how can i make the fetching process faster.. it takes way too long to fetch. thanks
@basszoneproduction
@basszoneproduction Жыл бұрын
I hope your found your answer already, if not. What is the purpose of fetching 200,000 in one go?
@idkanymoreman
@idkanymoreman Жыл бұрын
@@basszoneproduction yes, it was out of curiosity.. and I didn't learn about offset and pagination. Im using that now to fetch data. But In most of my use cases, I found dapper to be faster for fetching data than ef core.
@basszoneproduction
@basszoneproduction Жыл бұрын
Cool!
@shabanelmogy7912
@shabanelmogy7912 Жыл бұрын
thanks
@CFox.7
@CFox.7 Жыл бұрын
No idea what this is and why it popped up in my recommended but got a feeling Chat GPT will be doing this very soon
@Roman-uy7qp
@Roman-uy7qp Жыл бұрын
ChatGBT sucks. If it can do something in a more skilled manner than you can it means you weren't very skilled anyway.
@AmirAliZargaran82
@AmirAliZargaran82 9 ай бұрын
thanks a lot
@ameetjayawant4114
@ameetjayawant4114 Жыл бұрын
The Last of Us!!
@PatrickGod
@PatrickGod Жыл бұрын
😁
@N8Eule1
@N8Eule1 Жыл бұрын
Thank you, again a very good tutorial. For the donation, can you please post a PayPal address for this, I don't want to give out my credit card details just like that.
@thebeeamberheardsdogsteppe6368
@thebeeamberheardsdogsteppe6368 Жыл бұрын
THE LAST OF US
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 913 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Serilog 🚀 Logging in .NET 7 Made Simple & Fun
16:23
Patrick God
Рет қаралды 50 М.
.NET 6 🚀 AutoMapper & Data Transfer Objects (DTOs)
15:48
Patrick God
Рет қаралды 74 М.
The Biggest React Framework You've Never Heard of
20:29
Theo - t3․gg
Рет қаралды 51 М.
Adding Filtering, Sorting And Pagination To a REST API | .NET 7
24:02
Milan Jovanović
Рет қаралды 63 М.
The Only .NET Scheduler You Should Be Using!
16:38
Nick Chapsas
Рет қаралды 59 М.
Why Every .NET Developer NEEDS Dependency Injection
10:00
Patrick God
Рет қаралды 13 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 315 М.
Swagger is Gone in .NET 9! Replace It With This.
9:34
Nick Chapsas
Рет қаралды 96 М.
I Can’t Believe They Added AI To The Browser
9:55
Web Dev Simplified
Рет қаралды 48 М.
The Latest Celebrity Tech Scam…
19:21
Linus Tech Tips
Рет қаралды 2,5 МЛН