Episode

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

with Mike Rousos

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.

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 - Configuring session serialization
  • 13:10 - Configuring session sharing in controllers and views
  • 16:20 - Migrating additional controllers after session sharing is configured
  • 18:50 - Showing side-by-side session data sharing

Connect

.NET
ASP.NET
ASP.NET Core
ASP.NET