Wisej.Web.ServiceScope
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
EXPERIMENTAL: Specifies the scope of services added using AddService.
Name | Description |
---|---|
Name | Description |
---|---|
Global
A single static instance of the service is available to all sessions.
Session
The registered instance is available only to the current sessions. A new session should create and register a new instance.
Transient
A new instance of the service is created every time it's needed and automatically disposed at the end of the request.
EXPERIMENTAL: Adds a scoped service to the service container.