All work

Case study · Employee experience platform · Modernization · NDA

Modernizing a live platform without breaking it

How I moved a large production API onto a modular ABP architecture in place — upgrading the data layer, adding new product modules and moving live surveys off Firebase — while existing clients kept working.

Role
Architect & lead developer
Backend
ASP.NET Core · ABP 8 · EF Core 8
Data
SQL Server · Redis · Firebase → SQL
Approach
Phased, with regression gates

The problem

The platform runs engagement, happiness and 360° surveys for enterprise clients across several regions. Its API had grown as one large ASP.NET Core project: raw SQL and a query builder next to EF Core 6, Firebase holding live survey state, and background work split between Hangfire and hosted services.

New products, starting with recurring pulse surveys, needed clean, layered modules. But the API was in production for every client, so a big-bang rewrite was off the table.

Options I weighed

A separate ABP host next to the existing API. Clean, but two deployments, duplicated infrastructure and cross-service calls for shared data like respondents and messaging. I planned this first, then dropped it.

Enable ABP inside the existing host. One deployment, with new modules loading in-process next to the existing controllers. I chose this, knowing it forced an EF Core 6 → 8 upgrade and that ABP's conventions could change existing responses if left unchecked.

The design

Phased, with regression gates

A baseline captured first, the EF Core upgrade isolated from the ABP change so any regression points to one cause, and one commit per phase for a clean rollback.

ABP without side effects

ABP bootstrapped with Autofac and its base ASP.NET Core module only, so no response wrapping or new error format ever reaches the existing endpoints.

Layered product modules

Pulse and Experience built as ABP modules — domain, application, contracts, EF Core and HTTP API — each with its own tables and migration history, purely additive to the shared database.

Shared messaging

Email, SMS and WhatsApp delivery moved into one shared library, with atomic claiming, retry backoff and recovery of stuck messages.

Off Firebase, safely

Engagement surveys moved from Firebase to SQL, with a legacy sync, a migration state per survey and a cutover endpoint.

Moving live surveys off Firebase without a freeze. Each survey carries a migration state — native, read-only or migrated — so the old and new systems run side by side, and each company is cut over when it's ready instead of all at once.

Outcome

EF Core upgrade, zero new build warnings
6 → 8
new product modules
2
messaging channels on one shared queue
3

Building something like this?

Say hello