Screen-by-Screen Triage: Deciding What to Retire Instead of Migrate

Most migration estimates we are asked to review have the same flaw. Someone counted the XAML files, multiplied by a number, and called it a plan. That arithmetic assumes every screen is worth moving. On a line-of-business app built between 2016 and 2022, a meaningful share of them are not.

The cheapest screen to migrate is the one you delete. This post is the triage we run during an assessment: how to sort every screen into keep, rewrite or retire, what evidence makes each call defensible, and how to retire a screen without breaking something downstream.

Do this before you convert a single renderer. A retire decision made in month three is a refund request; made in week one it is a budget cut.

Step 1: build the inventory

You need one row per screen. Start from the code, not from memory:

  • Enumerate ContentPage subclasses and their XAML files.
  • Enumerate navigation entry points: PushAsync, PushModalAsync, Shell routes, MainPage assignments, tab and flyout item definitions.
  • Cross-reference the two. Pages with no inbound navigation are the first interesting finding, and there are usually several.

Then record, for each screen: the custom renderers and effects it depends on, the third-party controls it uses, the platform-specific code it touches, the API endpoints it calls, and whether any automated test covers it.

That last column is usually empty. That is information, not a reason to stop.

Step 2: get usage numbers, or admit you do not have them

This is where the triage either becomes evidence-based or stays an argument between opinions.

If the app has analytics, pull screen-view counts for the last ninety days, broken down by distinct users rather than events. One power user opening a report screen forty times a day is not the same as forty users needing it.

If there are no analytics — common on internal apps — use proxies:

  • Server-side logs. An endpoint called only by one screen gives you that screen's usage for free. Match routes to screens and read the access logs.
  • Support tickets. Search the last two years for the screen's name. A screen nobody has ever filed a ticket about is either flawless or unused.
  • The people who use it. Ask the two or three field users who actually run the app daily, not the manager who commissioned it. Their answers are specific and frequently surprising.

If you genuinely cannot measure a screen and cannot find anyone who uses it, that is not a retire decision yet. It is a candidate, and Step 5 tells you how to confirm it cheaply.

Step 3: score cost, not just value

Usage tells you what a screen is worth. The other half of the decision is what it costs to bring forward. Three things drive migration cost far more than screen count:

Custom renderers and effects. A screen built from stock controls usually moves with little drama. A screen whose behaviour lives in three custom renderers carries a real conversion cost, and conversion is per-control work, not per-screen work.

Dead dependencies. A screen built around a third-party control suite with no maintained successor is not a migration, it is a rebuild of that screen's UI. The dependency inventory tells you which screens are in this category.

Platform code. Camera, Bluetooth, background location, file system access, native SDK bindings. These move, but they move slowly, and they need device testing that stock screens do not.

Score each screen high, medium or low on cost. You do not need precision here. You need to separate the screens that will take days from the screens that will take an hour.

Step 4: make the call

Put the two axes together. The decisions fall out:

Low usage, high cost — retire. This is the category people avoid naming. A reporting screen used by two people once a quarter, built on a dead chart control, is not worth a week. The honest answer is to remove it and point those two people at the web report or a CSV export.

High usage, low cost — keep and migrate as-is. Move it early. These screens build momentum and prove the pipeline works.

High usage, high cost — rewrite rather than port. If a screen is central and its implementation is the expensive part, converting renderer by renderer preserves a design you were going to change anyway. Rebuild it on stock .NET MAUI controls and keep the view model, which is the part characterization tests protect.

Low usage, low cost — migrate, but last. Cheap is not free. Put these at the back of the queue; if the budget runs out before you reach them, nothing important was lost.

Orphaned, unreachable or dead. Delete. No ceremony required.

Step 5: retire safely

A retire decision is not a delete commit. It is a sequence, and skipping the middle is how teams get burned.

  1. Instrument first. Add a log line or analytics event on entry to the screen in the current app and ship it. One release cycle of real data settles most arguments about whether anyone uses it.
  2. Announce it. Tell whoever owns the business process, in writing, with a date. Record the reply. If nobody objects in a release cycle, you have consent and a paper trail.
  3. Remove the entry point, not the code. Delete the navigation into the screen and leave the implementation in place for one release. If someone surfaces, you restore a menu item instead of reverting a refactor.
  4. Check the server side. A retired screen may be the only caller of an endpoint, a scheduled job, or a notification. Removing the screen without noticing that leaves dead infrastructure running — or worse, silently drops a step in a process that someone downstream still depends on.
  5. Then delete. Screen, view model, renderers, and the dependencies that existed only for it. The dependency removal is often where the real saving shows up, because one dead chart control can be the reason three screens were expensive.

Step 4 is the one that bites. Check it before Step 5, every time.

Step 6: write it down and have it signed

The output of triage is a table: every screen, its usage evidence, its cost band, the decision, and who agreed to it. One page.

This document is what stops the migration from being relitigated in month three, and it is what lets you give an engineering manager a number that is smaller than screen-count-times-a-constant with a reason attached. Retiring eleven of fifty screens is not a cut corner. It is the difference between a migration that finishes and one that stalls when the budget runs out with a third of the app still on an unsupported framework.

We also write down the screens we were asked to retire and declined to. If a screen has low measured usage but is the one thing a regulator, an auditor or a safety process depends on, usage numbers are the wrong instrument. Triage is a judgement supported by evidence, not an arithmetic rule.

A note on timing

Triage is cheapest when it happens before any conversion work and after you have a dependency inventory, because the dependency list is what populates the cost column. If you are already mid-migration, it is still worth doing on the remaining queue — the screens you have not reached yet are exactly the ones where a retire decision still saves money.

If a store deadline is closer than the migration, triage waits. Get one compliant release out first, then triage the queue behind it.


Send us the repository and we will send back a written plan: the screen table, the keep, rewrite and retire calls with the evidence behind each one, and a sequenced work order. Tell us about the app — its Xamarin version, what it does, and what is forcing the change.