transient lifetime

A service lifetime in which the container creates a new instance every time the service is requested.

In more detail

It is registered with AddTransient. It suits lightweight, stateless services such as a clock or formatter.

Related terms

Taught in

References