ASP.NET Core Service Lifetimes Explained #shorts

preview_player
Показать описание

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

Most known scope is HTTP request, e.g. if you have an API endpoint and use some Scoped service, deep down in your code (repo, db, middleware) it will always resolve the same service instance thoughout the request, with the next request it will be another instance

ErminekCZ
Автор

also interesting to note that the blazer server and blazer web assembly define each of these three differently with minor nuances. Could you do a follow up video with all three of them. Blazer server blazor web assembly and dotnet core.❤

LoganDunning
Автор

Which one to use for a SerialPort communicating with an RS232 module?

wvvwwwvvw
Автор

Any book recommendations for things in this lane? I’m good with the videos but i usually by a book 📕 and high light things like this, or place them in a markdown file.

jaymartinez
Автор

Which one would you recommend for a "standard web service", scoped or transient?

DjHomerr
Автор

I still don't get the difference between transient and scoped

DaminGamerMC