Choosing a ServiceLifetime

added by DotNetKicks
1/28/2021 3:09:21 PM

619 Views

A subtle source of errors and less-than-subtle source of frustration is understanding and using service lifetimes appropriately with .NET Core dependency injection. Service lifetimes, while complicated on the surface, can help developers that need to share state across different lifetimes of an application. Typically, a long-running application has three service


0 comments