Table of Contents

Interface ILocalSession

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

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).

public interface ILocalSession
Extension Methods

Remarks

May be implemented as a part of Active Session object or as a separate object attached to the ASP.NET Core session

Properties

CompletionToken

Cancellation token that will be fired after the active session completion (eviction/disposal) at start of cleanup/

Id

An identifier of this instance

IsAvailable

Indicator showing that this session object is properly initialized and may be used.

Properties

A set of arbitrary objects associated with this session that are accessible via their string keys.

SessionServices

The service (DI) container for the scope attached to this sesession