A step-by-step walkthrough of applying the Strangler Fig pattern to migrate a Node.js/Express API to .NET 10 without a full rewrite. The approach uses YARP (Yet Another Reverse Proxy) as a traffic router placed in front of both the legacy and new APIs. Requests are incrementally rerouted endpoint by endpoint from the Node API to a new .NET 10 minimal API, using YARP route ordering and HTTP method matching. The demo uses PostgreSQL with Dapper and shows how to configure clusters, routes, and response header transforms in YARP. The same technique applies to migrating .NET Framework apps to .NET 10.
•13m watch time
Sort: