Lifetime
Add this feature using AddLifetimes() extension;
app.Features.AddLifetimes([...]);
Application
Adds services with Singleton attribute to IServiceCollection as singleton.
c => c.Application()
Instance
Adds services with Transient attribute to IServiceCollection as
transient.
c => c.Instance()
Scope
Adds services with Scoped attribute to IServiceCollection as scoped.
c => c.Scope()