Legacy .NET Framework applications still run much of South African business. Here is how to modernise them incrementally — reducing cost and risk without stopping delivery.
A great deal of working software in South African business still runs on the classic .NET Framework. It pays the bills, but every year it costs a little more to host, a little more to change, and a little more to hire for. The instinct is often to rewrite it from scratch. In practice, a full rewrite is where most modernisation budgets go to die: the new system chases a moving target while the old one keeps changing underneath it.
There is a calmer path. Modern .NET (the unified, cross-platform successor to .NET Framework and .NET Core) is fast, well supported and cloud-friendly. You can move towards it in stages, keeping the business running the whole way.
Start with an honest assessment
Before touching code, map what you actually have: the projects, their dependencies, the parts of the framework they lean on, and the integrations around them. Microsoft’s .NET Upgrade Assistant and the API portability tooling will tell you which dependencies have clean modern equivalents and which need rethinking. The output is a realistic picture of effort — and, just as importantly, of what is low-risk to move first.
Decouple before you upgrade
The hardest part of modernisation is rarely the language version — it is the tangle of assumptions baked into an old codebase. Teasing business logic apart from framework-specific plumbing is what makes the rest possible. A few moves pay off repeatedly:
- Move shared business logic into class libraries that target .NET Standard or modern .NET, so the same code runs old and new.
- Replace framework-only features (such as legacy configuration and HTTP modules) with portable equivalents.
- Put a clear boundary — an API or a service seam — around any component you intend to move independently.
Migrate in slices, not in one leap
With seams in place, you can migrate one slice at a time: a background service here, an API there, then a front end. The strangler-fig pattern — standing new modern components alongside the old system and routing traffic to them gradually — lets you ship modernised pieces to production continuously, instead of holding everything back for a single frightening cut-over.
Each slice is an opportunity to add the things the original never had: automated tests, health checks, structured logging and a repeatable build. By the time the last piece moves, you are not just on a newer runtime — you have a system that is cheaper to run and far easier to change.
Where to begin
The best first slice is usually something valuable but self-contained: a reporting job, an integration, or an API with few dependencies. It proves the approach, builds confidence, and delivers a real result quickly. From there, modernisation becomes routine rather than a once-off gamble.