net7.0
namespace Microsoft.AspNetCore.SystemWebAdapters
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public sealed class SessionAttribute : Attribute
{
[Obsolete("Prefer SessionBehavior instead.")]
public SessionBehavior Behavior { get; set; }
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net7.0 | |
Assembly | Microsoft.AspNetCore.SystemWebAdapters.CoreServices , Version=1.4.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.SystemWebAdapters.CoreServices (1.4.0) net7.0 |
Obsolete | Prefer SessionBehavior instead. |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |