You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* AddWrappedAspNetCoreSession
* Update date and rephrase sentence in wrapped.md
* Update wrapped.md for clarity and link fix
* Update wrapped ASP.NET Core session documentation
* Fix markdown link formatting in wrapped.md
* Update aspnetcore/migration/inc/wrapped.md
Co-authored-by: Tim Deschryver <[email protected]>
---------
Co-authored-by: Tim Deschryver <[email protected]>
Copy file name to clipboardExpand all lines: aspnetcore/migration/inc/wrapped.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,19 @@ description: Wrapped ASP.NET Core session state
4
4
author: rick-anderson
5
5
ms.author: riande
6
6
monikerRange: '>= aspnetcore-6.0'
7
-
ms.date: 11/9/2022
7
+
ms.date: 2/24/2025
8
8
ms.topic: article
9
9
uid: migration/inc/wrapped
10
10
---
11
11
12
12
# Wrapped ASP.NET Core session state
13
13
14
-
This implementation wraps the session provided on ASP.NET Core so that it can be used with the adapters. The session will be using the same backing store as `Microsoft.AspNetCore.Http.ISession` but will provide strongly-typed access to its members.
14
+
The [AddWrappedAspNetCoreSession](https://github.com/dotnet/systemweb-adapters/blob/main/src/Microsoft.AspNetCore.SystemWebAdapters.CoreServices/SessionState/Wrapped/WrappedSessionExtensions.cs)implementation wraps the session provided on ASP.NET Core so that it can be used with the adapters. The session uses the same backing store as [`Microsoft.AspNetCore.Http.ISession`](/dotnet/api/microsoft.aspnetcore.http.isession) but provides strongly-typed access to its members.
15
15
16
-
Configuration for ASP.NET Core would look similar to the following:
16
+
Configuration for ASP.NET Core looks similar to the following:
The framework app would not need any changes to enable this behavior.
20
+
The framework app doesn't need any changes to enable this behavior.
21
+
22
+
For more information, see the [AddWrappedAspNetCoreSession sample app](https://github.com/dotnet/systemweb-adapters/blob/main/samples/CoreApp/Program.cs)
0 commit comments