Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Connections.​Features.​IPersistentStateFeature
Assembly: Microsoft.AspNetCore.Connections.Abstractions
Provides access to a key/value collection that can be used to persist state between connections and requests. Whether a transport supports persisting state depends on the implementation. The transport must support pooling and reusing connection instances for state to be persisted. <para> Because values added to persistent state can live in memory until a connection is no longer pooled, use caution when adding items to this collection to avoid excessive memory use. </para>
Properties
System.​Collections.​Generic.​IDictionary<​object, object>
State
Gets a key/value collection that can be used to persist state between connections and requests.