Platform Evolution
Assessment run-2026-07-27-1 · 213 of 213 repos assessed
Repos / backoffice-useraccount-legacy

backoffice-useraccount-legacy

Legacy WCF service (extracted from TFS-era BackOffice2008 code) exposing person, membership and branch user-account data from the UserAccount_Legacy SQL database, with a geo-coordinates lookup helper.

54 · amberhighloosely attachedOn-premZDD: a long roadservice

Health score

54

0 to 100 across seven weighted factors; nothing is hidden. Green is 75 and above, amber 50 to 74, red below 50. How scoring works.


Runtime currency / 25
0
.NET Framework, out of mainstream support
Legacy transport / 15
2
Hosts WCF or SOAP endpoints with no successor on modern .NET
Test posture / 15
8
Some tests, coverage is thin
Security hygiene / 15
15
No credentials found in source
Dangerous coupling / 15
15
No dangerous coupling detected
Activity / 10
10
Actively maintained
Deployment hygiene / 5
5
CI in place
Health over time
2026-07-24 (run-2026-07-24-1): 542026-07-27 (run-2026-07-27-1): 54
No change since 2026-07-24 (54 to 54).

Facts

Languagescsharp, sql
FrameworksWCF
Runtimes.NET Framework 4.8, .NET Standard 2.0 (libraries)
Tests / CIsome / CI in place
Last commit2026-06-22
OwnerOwner unknown (mapping to be curated)
DomainIdentity and access (system generated; curate in repo-owners.json to override)
Product areaPhenix
HostedOn-prem Deployed to our own machines
  • Release "\finance\backoffice\UserAccountLegacy Database": QA: deployment-group phase (agents on our own machines)
  • Release "\finance\backoffice\UserAccountLegacy Database": Staging: deployment-group phase (agents on our own machines)
  • Release "\finance\backoffice\UserAccountLegacy Database": Production: deployment-group phase (agents on our own machines)
  • Release "\finance\backoffice\UserAccountLegacy Database": Training: deployment-group phase (agents on our own machines)
  • Release "\finance\backoffice\backoffice-useraccount-legacy CI": QA: deployment-group phase (agents on our own machines)
Releases2 release pipeline(s): \finance\backoffice\UserAccountLegacy Database; \finance\backoffice\backoffice-useraccount-legacy CI
Integrationwcf, soap
SourceOpen in Azure DevOps

Risk flags

Each flag links to its glossary definition.

Dependencies in context

Laying out the graph…
greenamberreddata store (square, dashed link)Node size follows fan-in. Click any node to open it.

Entanglement

loosely attached Bound into the core by 1 mechanism(s).

  • Speaks WCF (host)

Detaches when its WCF surface gains a modern interface or its WCF calls move to one.

Migration playbooks

Generated from this repo's assessment data: what is feasible, what blocks it, and the steps in order. Ratings: green means actionable now, amber means sequence other work first, red means blocked, grey means not applicable.

ZDD adoption

A long road

Technically eligible one day, but the blockers are structural: hosted WCF or SOAP contracts that cannot run two versions at once, or heavy legacy coupling. Sequence the modernisation work first. Hosts WCF or SOAP endpoints: strict serialization contracts cannot safely run two versions at once (the shared-enum trap). End-of-life runtime compounds the work.

Dependencies and gotchas
  • 2 system(s) depend on this repo; during a rolling deploy they will talk to old and new versions at once, so responses must stay compatible
Steps
  1. Adopt the four-stage discipline from the ZDD engineering standard: pre-deployment compatibility, deployment, feature activation behind a flag, post-release cleanup.
  2. Raise automated test coverage first: ZDD trades the end-of-sprint manual gate for continuous automated confidence, so the tests are the entry ticket.
  3. Make every change dual-version safe: backwards-compatible APIs (new major version for breaking wire changes), expand and contract for any schema change, and consumers tolerant of unknown fields.
  4. Audit serialized data: anything in Redis, queues or shared caches must deserialize cleanly across adjacent versions.
  5. Wrap behaviour changes in feature flags so code deploys dark and release becomes a business decision, not a deployment event.
  6. Route deployments through the Workflow Engine's automated drain, deploy, health-check, return cycle (the path proven by the first automated production run in mid-2026).
  7. Verify with area-scoped regression rather than the whole-platform cycle, and watch error rates after rollout with automated rollback on alert.

SQL Server exit

Feasible after replatforming (1 owned database)

The database is solely owned so no other system has to move, but the runtime is end-of-life; sequence the replatform first, then the engine swap.

Steps
  1. Inventory the schema and query surface of sqlserver:UserAccount_Legacy: tables, stored procedures, triggers, cross-database joins and anything else engine-specific.
  2. Confirm the target: PostgreSQL (relational model; keep transactions and joins, swap the engine).
  3. Replatform to modern .NET first (see the recommended actions): current PostgreSQL and MongoDB drivers and EF Core providers target modern .NET, and doing one risky change at a time is cheaper than doing two.
  4. Data access is not through an ORM, so port the SQL by hand: translate T-SQL constructs, replace stored procedures with application code or target-native equivalents, and add integration tests around the queries that matter first.
  5. Stand up the target alongside SQL Server, backfill with an ETL pass (pgloader or an export/import job), then dual-write or replicate until parity is proven.
  6. Move reads to the target, watch correctness and latency, then cut writes over and keep SQL Server read-only until confidence is earned.
  7. Decommission the SQL Server database and remove the connection strings and firewall paths that pointed at it.

Containerisation

Feasible after replatforming

Appropriate eventually, but not from here: the legacy runtime and the hosted WCF surface both have to go first, and that work is already in this repo's recommended actions.

Blockers
Steps
  1. Replatform to modern .NET first (see the recommended actions), replacing the hosted WCF/SOAP surface with REST, gRPC or messaging so consumers can follow. Containerising then becomes routine.
  2. Add a Dockerfile and make the app read all configuration from environment variables and the secrets manager, never from machine-local files.
  3. Log to stdout and expose a health check endpoint so ECS can supervise it.
  4. Adopt the shared ci.yml pipeline template with the container parameters (awsRegion, containerAfterBuild, ecsTerraformRepo), which is exactly how the estate's existing AWS services deploy.
  5. Define the service in the Terraform repo, deploy to a non-production environment, then shift traffic and disarm the deployment-group release pipeline.

Recommended actions

Replatform backoffice-useraccount-legacy to modern .NET

Runs on .NET Framework 4.8, .NET Standard 2.0 (libraries), out of mainstream support. No pinning dependency blocks it; sequence by fan-in (providers before consumers).

Impact: Unblocks 2 dependent system(s)

proposed

Assessment notes

backoffice-useraccount-legacy

Purpose

Hosts UserAccountLegacyServiceHost.svc, a WCF service over legacy user-account data: Person, PersonMembership, PersonBranch, GlobalMembership and ticketing records. Extracted from the archived TFS BackOffice2008/MainLine/Ops/UserAccountLegacy codebase. A GeoCoordinates component enriches user accounts with coordinates via the address-lookup service. Publishes TC.UserAccountLegacy.ServiceContract and ServiceClient NuGet packages (multi-targeted netstandard2.0/net462/net472/net48/net8.0) for consumers.

Tech stack

C#: WCF service host on .NET Framework 4.8 (wsHttpBinding), core service logic on .NET Standard 2.0 using raw System.Data.SqlClient, and multi-targeted contract/client packages so both Framework and .NET 8 consumers can call it. SQL schema managed in db/UserAccount_Legacy (create + differential change scripts).

Deployment

Actively deployed (prod_application, 2 releases). Build pipelines backoffice-useraccount-legacy CI (azure-pipelines.yml, VS 2022 build of the ServiceHost plus dotnet packaging of the client) and backoffice-useraccount-legacy Database (build-useraccountlegacy.db.yml); release pipelines \finance\backoffice\backoffice-useraccount-legacy CI and \finance\backoffice\UserAccountLegacy Database.

Dependencies

Calls the address-lookup service via TC.AddressLookup.ServiceContract over ConnectionBroker WCF (repo backoffice-address-lookup-service). Also references internal TC.Mail and TC.Exceptions contracts. No third-party external services.

Data stores

SQL Server UserAccount_Legacy database (owned by this repo; connection resolved via ConnectionBroker GetDatabaseConnectionString("UserAccount_Legacy")).

Integration points

Inbound SOAP/WCF (wsHttpBinding, including a no-security binding). Outbound WCF to the address-lookup and mail services. No REST endpoints or message bus.

Code health

Four test projects (service, service host, client, geo-coordinates) though coverage looks thin (e.g. a single PersonTests.cs for the core service). YAML CI runs tests/**/*Tests.csproj. Last commit 2026-06-22 — still receiving changes.

Modernisation risks

Explicitly a legacy bridge: WCF host on .NET Framework 4.8 with raw ADO.NET data access. The multi-targeted client (including net8.0) suggests it is deliberately kept alive for both old and new consumers, so retirement depends on migrating consumers to backoffice-useraccount-service or equivalent REST APIs. Legacy framework and WCF coupling make this high priority despite recent activity.