Table of Contents

Enum RDWebServiceLifetime

Namespace
RDCore.Web.Services
Assembly
RDCore.Web.dll

How long a service's object lives: what makes another one.

public enum RDWebServiceLifetime

Fields

Scoped = 0

One object per request, which each parameter that needs the service in the request's run is given.

Singleton = 2

One object per machine, kept between requests: a pool machine's reset lets go of it, and a kept machine keeps it for its life.

Transient = 1

One object for each parameter that needs it.