Episode
Using System.Web Adapters to Share Authentication in ASP.NET Upgrade Scenarios [12 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:00 - Authentication sharing architecture
- 02:30 - Configuring the auth client from ASP.NET Core
- 04:42 - Using ASP.NET identity in the ASP.NET Core app
- 06:10 - Configuring auth sharing from ASP.NET MVC app
- 07:40 - Migrating user controller to ASP.NET Core
- 10:00 - Options to enable logoff from ASP.NET Core
Recommended resources
- Get the code on GitHub
- Migrating ASP.NET to ASP.NET Core
- .NET Upgrade Planner
- .NET Upgrade Assistant (VS Extension)
- .NET Upgrade Assistant (command line)
- System.Web Adapters
- Get your questions answered on the Microsoft Q&A for .NET
- Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn
Related episodes
Connect
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:00 - Authentication sharing architecture
- 02:30 - Configuring the auth client from ASP.NET Core
- 04:42 - Using ASP.NET identity in the ASP.NET Core app
- 06:10 - Configuring auth sharing from ASP.NET MVC app
- 07:40 - Migrating user controller to ASP.NET Core
- 10:00 - Options to enable logoff from ASP.NET Core
Recommended resources
- Get the code on GitHub
- Migrating ASP.NET to ASP.NET Core
- .NET Upgrade Planner
- .NET Upgrade Assistant (VS Extension)
- .NET Upgrade Assistant (command line)
- System.Web Adapters
- Get your questions answered on the Microsoft Q&A for .NET
- Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn
Related episodes
Connect
Have feedback? Submit an issue here.