December 2019
Intermediate to advanced
510 pages
11h 33m
English
The services define the scoped life cycle .AddScoped() method. Scoped instances are created once per request. The scoped life cycle is preferable compared to the transient life cycle regarding performance, but it is less efficient than the singleton life cycle. A scoped approach is usually applied to repository classes and services, and each request to the server will cause the creation of a new instance.
Read now
Unlock full access