filmov
tv
Migrating an ASP.NET WebForms app to ASP.NET Core, one page at a time - Part 2

Показать описание
Part 2:
In this video I add an endpoint to the WebForms application to serialize the current ClaimsPrincipal using MessagePack. I started working on the code to consume this from an authentication handler in the Core application, but got sidetracked by learning that turning on Nullable Reference Types can break EF Core, so hopefully I'll finish the authentication in the next video.
Series:
Migrating WebForms apps to ASP.NET Core is difficult. There's no straightforward migration path, and you can't use ASP.NET Core MVC in a .NET 4.x app. But a Core app can reverse-proxy to a WebForms app, and it can intercept page calls and return its own pages instead.
In this series of videos, I'm migrating the Wingtip Toys example application to ASP.NET Core MVC, handling things like Session, Authentication and more along the way.
In this video I add an endpoint to the WebForms application to serialize the current ClaimsPrincipal using MessagePack. I started working on the code to consume this from an authentication handler in the Core application, but got sidetracked by learning that turning on Nullable Reference Types can break EF Core, so hopefully I'll finish the authentication in the next video.
Series:
Migrating WebForms apps to ASP.NET Core is difficult. There's no straightforward migration path, and you can't use ASP.NET Core MVC in a .NET 4.x app. But a Core app can reverse-proxy to a WebForms app, and it can intercept page calls and return its own pages instead.
In this series of videos, I'm migrating the Wingtip Toys example application to ASP.NET Core MVC, handling things like Session, Authentication and more along the way.