- Get link
- X
- Other Apps
Transient is a single instance per code request.
Singleton is a single instance for the lifetime of the application domain.
Scoped is a single instance for the duration of the scoped request, which means per HTTP request in ASP.NET.
.net
asp.net
Http Request
lifetime
Lifetime - Transient - Singleton and Scoped
Scoped
Singleton
Transient
- Get link
- X
- Other Apps
Comments