Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios [11 of 18] Migrating



Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios [11 of 18] Migrating

Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios [11 of 18] Migrating

In this video, Mike uses System.Web adapters to share session state between an original ASP.NET app and a new ASP.NET Core app that he is incrementally migrating the endpoints to from the original app. Using this shared session solution, session state is preserved even if users hit some endpoints in the old app and some in the new app.

Series:
1. .NET Migration Overview – https://youtu.be/zHgYDZK3MrA
2. Why Upgrade to .NET? – https://youtu.be/Fb6PsBW2ekg
3. Getting Started with .NET Upgrade Assistant – https://youtu.be/FRrslz_AHzE
4. Analyzing a Solution with .NET Upgrade Planner – https://youtu.be/_nox9CYaA_s
5. Upgrade Analysis with .NET Upgrade Assistant – https://youtu.be/TwAKnZ-XcU4
6. Upgrading a Project with .NET Upgrade Assistant – https://youtu.be/ttangBEcZfo
7. Intro to the Upgrade Assistant Visual Studio Extension – https://youtu.be/B2vz98yfskc
8. Creating a New Project with the Upgrade Assistant Visual Studio Extension – https://youtu.be/LQxSX_gkNj4
9. Migrating an Endpoint with the Upgrade Assistant Visual Studio Extension – https://youtu.be/RpGnyN8c5qw
10. Migrating a Class Library with System.Web Dependencies – https://youtu.be/TB7nfriQuGI
11. Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios – https://youtu.be/_XG3EYRcgY8
12. Using System.Web Adapters to Share Authentication in ASP.NET Upgrade Scenarios – https://youtu.be/5hEghsFQB48
13. Sharing Authentication Cookies in ASP.NET Upgrade Scenarios – https://youtu.be/WF-8Yz8QKcw
14. Migrating static content from ASP.NET to ASP.NET Core – https://youtu.be/SmP38AW4KkY
15. Deploying an Incrementally Migrated ASP.NET App to Azure App Service – https://youtu.be/u5Hspwt50O0
16. ASP.NET to ASP.NET Core Migration Wrap-Up – https://youtu.be/rPEZ3_-CjDM
17. Upgrading from WCF to CoreWCF – https://youtu.be/w2FUHYLR0hM
18. Deep Dive into System.Web Adapters – https://youtu.be/zXoGXbB3JDI

Chapters:
00:00 – Intro
01:25 – Using System.Web.Adapters in views
03:00 – Options for sharing session state between projects
04:40 – Configuring session sharing using System.Web.Adapters
11:30 – Congiguring session serialization
13:10 – Configuring session sharing in controllers and views
16:20 – Migrating additonal controllers after session sharing is configured
18:50 – Showing side-by-side session data sharing

Follow Mike:
Twitter: https://twitter.com/mjrousos
GitHub: https://github.com/mjrousos

Links:
Get the code – https://github.com/mjrousos/UpgradeSample
Migrating ASP.NET to ASP.NET Core – https://learn.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/
.NET Upgrade Planner – https://apisof.net/upgrade-planner
.NET Upgrade Assistant (VS Extension) – https://learn.microsoft.com/aspnet/core/migration/inc/overview
.NET Upgrade Assistant (command line) – https://github.com/dotnet/upgrade-assistant
System.Web Adapters – https://github.com/dotnet/systemweb-adapters

🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa

🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet

#dotnet #upgradeassistant #aspnetmvc

Comments are closed.