Table of Contents

Namespace MVVrus.AspNetCore.ActiveSession

Classes

ActiveSessionBuilderExtensions

Contains extension methods used to configure middleware for ActiveSession feature

ActiveSessionConstructorAttribute

Attribute used to select or deny use of constructors for type-based runner factories

ActiveSessionContextExtension

This class contains extension methods for the HttpContext class associated with the ActiveSession feature

ActiveSessionExtensions

Contains commonly used extinsion methods for the IActiveSession interface.

ActiveSessionOptions

The object containing options for configuring an ActiveSession feature

ActiveSessionServiceCollectionExtensions

Contains extension methods used to configure services for ActiveSession feature

ActiveSessionStoreStats

A record containing current statistics of ActiveSession store

EnumerableRunnerBase<TItem>

This class is a base class for sequence-oriented runner classes (see Remarks section). It is an abstract class intended to be a base for specific sequence-oriented runner classes. It implements a common logic for those runners.

LocalSessionExtensions

This static class is a container for extension methods for ILocalSession interface.

RunnerBase

An abstract class intended to be used as a base for runner classes implementing IRunner<TResult>

RunnerExtensions

Contains extension methods for IRunner<TResult> interface

RunnerStatusExtensions

Class containing an extension method for RunnerStatus enumerable

Structs

ExtRunnerKey

This struct is intended to pass a runner identifier into a code external to an ActiveSession library (e.g as a part of URL).

KeyedRunner<TResult>

The type of structure used to return newly created runner

RunnerBkgProgress

Used to return information about a progress of a background execution of the runner

RunnerId

A type to be used by a runner identifier. It usually exposed by a runner via its Id property.

RunnerResult<TResult>

Used to return result of a runner execution.

Interfaces

IActiveSession

An interface used to access Active Session object

IActiveSessionFeature

The feature interface for an ActiveSession feature to be put into a Features collection.

ILocalSession

An interface that is implemented by session objects of ActiveSession library - local to each host and attched to ASP.NET Core sessions (those are possibly distribute).

ILockedSessionService<TService>

Represents an exclusive service accessor for a scoped service from the active session's DI container.

IMiddlewareFilter

This interface presnts a middleware mapping filter object.

IMiddlewareFilterSource

This interface presnts a source object for a middleware mapping filter.

IRunner

A base, non-typed part of any generic runner interface, IRunner<TResult>

IRunnerFactory<TRequest, TResult>

A factory object used to create a new runner

IRunnerProxy

Extension of IRunner to support remote runner calls. Not implemented yet

IRunnerProxy<TResult>

Extension of IRunner<TResult> to support remote runner calls. Not implemented yet

IRunner<TResult>

A generic interface that must be implemented by an ActiveSession runner.

ISessionServiceLock<TService>

This generic interface is intended to obtain an exclusive access to a scoped service instance within the current active session's service scope (if any).

ISessionService<TService>

This generic interface facilitates obtaining a service instance from the current active session's service scope DI container(if any).

Enums

RunnerStatus

Enumeration containing possible states of a runner object? implementing a IRunner<TResult>interface.