Category .NET

Service Life Time in ASP.NET Core

In ASP.NET Core, the service lifetime is a concept that determines how long an instance of a service will be kept in memory and reused by the application. The service lifetime is specified when a service is registered with the…