🔌 Modernizing .NET — Part 31: Use Ports and Adapters to Make ASP.NET Core Migration Incremental

Wrap legacy framework dependencies behind stable interfaces so infrastructure can change without rewriting business logic.