Sharing Authentication Cookies in ASP.NET Upgrade Scenarios [13/18] Migrating ASP.NET to ASP.NETCore

Опубликовано: 29 Март 2023
на канале: dotnet
4,611
41

In this video, Mike demonstrates how ASP.NET authentication cookies can be shared between multiple apps and how this technique can be used to share authentication between ASP.NET and ASP.NET Core apps in upgrade scenarios. This solution is more narrow than using System.Web adapters as shown in the previous video but gives an even better end user experience in situations where it applies.

Series:
1. .NET Migration Overview -    • .NET Migration Overview [1 of 18] Mig...  
2. Why Upgrade to .NET? -    • Why Upgrade to .NET? [2 of 18] Migrat...  
3. Getting Started with .NET Upgrade Assistant -    • Getting Started with .NET Upgrade Ass...  
4. Analyzing a Solution with .NET Upgrade Planner -    • Analyzing a Solution with .NET Upgrad...  
5. Upgrade Analysis with .NET Upgrade Assistant -    • Upgrade Analysis with .NET Upgrade As...  
6. Upgrading a Project with .NET Upgrade Assistant -    • Upgrading a Project with .NET Upgrade...  
7. Intro to the Upgrade Assistant Visual Studio Extension -    • Intro to the Upgrade Assistant Visual...  
8. Creating a New Project with the Upgrade Assistant Visual Studio Extension -    • Creating a New Project with the Upgra...  
9. Migrating an Endpoint with the Upgrade Assistant Visual Studio Extension -    • Migrating an Endpoint with the Upgrad...  
10. Migrating a Class Library with System.Web Dependencies -    • Migrating a Class Library with System...  
11. Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios -    • Using System.Web Adapters to Share Se...  
12. Using System.Web Adapters to Share Authentication in ASP.NET Upgrade Scenarios -    • Using System.Web Adapters to Share Au...  
13. Sharing Authentication Cookies in ASP.NET Upgrade Scenarios -    • Sharing Authentication Cookies in ASP...  
14. Migrating static content from ASP.NET to ASP.NET Core -    • Migrating static content from ASP.NET...  
15. Deploying an Incrementally Migrated ASP.NET App to Azure App Service -    • Deploying an Incrementally Migrated A...  
16. ASP.NET to ASP.NET Core Migration Wrap-Up -    • ASP.NET to ASP.NET Core Migration Wra...  
17. Upgrading from WCF to CoreWCF -    • Upgrading from WCF to CoreWCF [17 of ...  
18. Deep Dive into System.Web Adapters -    • Deep Dive into System.Web Adapters [1...  

Chapters:
00:00 - Intro
01:00 - Configuring auth cookie sharing client in ASP.NET Core
06:00 - Adding account controller to ASP.NET Core
09:00 - Configuring auth cookie sharing from ASP.NET MVC
11:00 - Testing the updated application
13:00 - Reviewing completed actions and next steps

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

Links:
Get the code - https://github.com/mjrousos/UpgradeSa...
Migrating ASP.NET to ASP.NET Core - https://learn.microsoft.com/en-us/asp...
.NET Upgrade Planner - https://apisof.net/upgrade-planner
.NET Upgrade Assistant (VS Extension) - https://learn.microsoft.com/aspnet/co...
.NET Upgrade Assistant (command line) - https://github.com/dotnet/upgrade-ass...
System.Web Adapters - https://github.com/dotnet/systemweb-a...

🙋‍♀️🙋‍♂️ 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