Tales from the .NET 8 Migration Trenches
summary
Migrates a large .NET 4.8 ASP.NET MVC app to .NET 8 incrementally by deploying an empty ASP.NET Core app that hosts system.web adapters and YARP as a reverse proxy, then porting one controller at a time with a shared multi-targeted library (using EF6 multi-targeting to avoid full EF Core rewrites). Shows discovery via reflection of endpoints, handling session and auth with remote APIs, moving DI from StructureMap to Lamar, preserving static assets with WebOptimizer and linked files, and deleting 500k lines once traffic fully shifts.
AI-written summary · about
chapters (11)
- 0:00.NET 8 migration challenges
- 3:22Incremental vs big bang rewrites
- 17:27System.Web Adapters and YARP
- 23:52Upgrade Assistant demo
- 31:35Deploy empty ASP.NET Core proxy
- 38:02Migrate first controller
- 46:15Bundling and minification hurdles
- 53:56Session state handling
- 57:51Hangfire in hybrid apps
- 1:00:00Final migration cleanup
- 1:02:28Key takeaways
related talks
55mUpdating Old .NET Framework Apps: Tips + Tricks to Help Make You More Prepared
01h 00m.NET Rocks Live – Modernizing .NET Applications
51mClean Architecture with ASP.NET Core 2.2
41mEmbracing Architectural Challenges in the Modern .NET World
29mHow to change mindset of coworkers?
45mHitchhiker’s Guide for Software Architects: Legacy Migration
01h 01mThree Rewrites, One Startup - An Architect’s Journey
51mBig microservices, small team a painful story
