What it changed
- Legacy ASP.NET and C# applications rebuilt in Node.js on serverless infrastructure.
- A large body of slow stored procedures refactored, and the business logic moved where it can be tested.
- Faster systems that cost nothing when idle, and a codebase AI agents and new engineers can both work in.
The situation
Once the platform was on AWS, the next problem was what it was made of. The core systems were legacy ASP.NET and C#, built for the server they used to live on. Much of the business logic sat in SQL stored procedures: an enormous number of them, many very slow, hard to test, and understood by fewer people every year.
What I did
I modernised the stack piece by piece, moving away from ASP.NET and C# to Node.js on serverless infrastructure. Each piece was rebuilt, tested against the old behaviour, and switched over while the rest kept running.
The stored procedures got the most care. I refactored a very large number of them: rewriting the slow queries, removing logic that had been duplicated across procedures over the years, and moving business rules out of the database into application code, where they can be read, tested and changed safely. The database went back to doing what it's good at.
Why it matters to you
I was a .NET developer for a long time before I moved to open source and AWS, so I know these systems from the inside: why they were built that way, and where they hide their surprises. Legacy systems are where most of a company's real business rules live. Modernising them is less about the new technology than about not losing a single one of those rules on the way.