.NET & C# ยท ASP.NET Core
What is dependency injection lifetimes in ASP.NET Core?
ASP.NET Core has transient, scoped, and singleton service lifetimes. Transient creates a new instance per resolution, scoped usually creates one per request, and singleton creates one for the application lifetime.