1 implementation of Set
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
139
public void
Set
(string key, byte[] value)
6 references to Set
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\SessionStorageTempDataProvider.cs (1)
74
session.
Set
(TempDataSessionStateKey, bytes);
Microsoft.AspNetCore.Http.Extensions (2)
SessionExtensions.cs (2)
28
session.
Set
(key, bytes);
54
session.
Set
(key, Encoding.UTF8.GetBytes(value));
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
SessionStateTempDataProvider.cs (1)
58
session.
Set
(TempDataSessionStateKey, bytes);
Microsoft.AspNetCore.Session (2)
ISessionStore.cs (2)
23
/// A callback invoked during <see cref="ISession.
Set
(string, byte[])"/> to verify that modifying the session is currently valid.
24
/// If the callback returns <see langword="false"/>, <see cref="ISession.
Set
(string, byte[])"/> should throw an <see cref="InvalidOperationException"/>.