phenix-booking-ui
ASP.NET MVC site for post-booking activities on a Phenix booking (summary, audit, documents, admin, itinerary, myTC tabs), partially migrated out of Phenix Retail.
Health score
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.
Facts
| Languages | csharp, javascript, typescript |
| Frameworks | ASP.NET MVC 5, MediatR, SimpleInjector, Gulp 4 |
| Runtimes | .NET Framework 4.7.2 |
| Tests / CI | some / CI in place |
| Last commit | 2026-07-24 |
| Owner | Owner unknown (mapping to be curated) |
| Domain | Bookings and fulfilment (system generated; curate in repo-owners.json to override) |
| Product area | Phenix |
| Hosted | On-prem Deployed to our own machines
|
| Releases | 1 release pipeline(s): \ops\phenixbooking\phenix-booking-ui CI |
| Integration | rest, wcf |
| Source | Open in Azure DevOps |
Risk flags
Each flag links to its glossary definition.
Dependencies in context
Entanglement
kernel Bound into the core by 2 mechanism(s).
- Pinning dependency: phenix-feature-service
- Speaks WCF (client)
Detaches when its pinning dependencies are cut or multi-targeted (phenix-feature-service); and 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 roadTechnically 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. Legacy web front end: session state and framework age make mixed-version fleets risky until state is externalised.
- Consumes WCF contract packages: never take a breaking client bump mid-feature, and treat obsolete warnings as migration debt
- Feature flags come from phenix-feature-service (WCF-only): flag reads themselves are a legacy dependency to watch
- Adopt the four-stage discipline from the ZDD engineering standard: pre-deployment compatibility, deployment, feature activation behind a flag, post-release cleanup.
- Raise automated test coverage first: ZDD trades the end-of-sprint manual gate for continuous automated confidence, so the tests are the entry ticket.
- 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.
- Audit serialized data: anything in Redis, queues or shared caches must deserialize cleanly across adjacent versions.
- Externalise any remaining session state so users can move between nodes mid-session without disruption.
- Wrap behaviour changes in feature flags so code deploys dark and release becomes a business decision, not a deployment event.
- 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).
- 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
Not applicableNo SQL Server dependency is recorded for this repo. Nothing to migrate.
Containerisation
Feasible after replatformingAppropriate, but the .NET Framework runtime has to go first; container work rides along with the replatform rather than preceding it.
- .NET Framework only runs on Windows; practical (Linux) containers need modern .NET
- Replatform to modern .NET first (see the recommended actions). Containerising then becomes routine.
- Add a Dockerfile and make the app read all configuration from environment variables and the secrets manager, never from machine-local files.
- Log to stdout and expose a health check endpoint so ECS can supervise it.
- 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.
- 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 phenix-booking-ui to modern .NET
Runs on .NET Framework 4.7.2, out of mainstream support. Blocked until stage 2 cuts: phenix-feature-service.
Impact: Reduces the end-of-life runtime count
proposedAssessment notes
phenix-booking-ui
Purpose
Phenix Booking is the post-booking UI for a Phenix booking. It implements the Summary, new Booking detail, Audit, Documents, Admin, Itinerary and myTC tabs; other booking tabs (legacy booking, notes, payments, customer, commission, etc.) still route to Phenix Retail or other Phenix apps because the migration out of Retail was never completed.
Tech stack
C# on .NET Framework 4.7.2 (csproj; README states 4.6.2 dev pack), ASP.NET MVC 5, SimpleInjector DI, MediatR, packages.config-style NuGet. Frontend assets built with Gulp/Sass plus TypeScript, using internal @tc/phenixstyles, @tc/web-styles, @tc/web-icons npm packages. AWS Cognito auth client, TC.ConnectionBroker suite (Sql, Redis, Wcf, Aws), extensive TC.Cache stack with Redis storage.
Deployment
Two release pipelines under \ops\phenixbooking\ (CI and stealth) from build pipelines phenix-booking-ui CI and phenix-booking-ui release; release_count 2. No pipeline YAML in the repo, so builds are classic/designer pipelines. Runs under IIS as part of the wider Phenix site, not standalone.
Dependencies
Internal: routes users to phenix-retail for unmigrated tabs and consumes the Phenix feature service for feature flags; also calls many Phenix backend services (booking, mail, documentation, contact-centre, credit-check, teams, suppliers) via TC.* service-client NuGet packages. External: AWS Cognito for authentication.
Data stores
No owned database. Redis is used as the cache storage (CacheStorage=redis in Web.config) via the shared Phenix cache infrastructure.
Integration points
Server-rendered MVC UI; outbound REST calls to Phenix APIs via ConnectionBroker HTTP clients and legacy WCF via TC.ConnectionBroker.Wcf.
Code health
MSTest unit test project and NUnit integration test project exist. Actively developed (last commit 2026-07-24) with a well-maintained README. Legacy csproj format with packages.config and hint-path references.
Modernisation risks
High: .NET Framework 4.7.2 ASP.NET MVC app tied to IIS with no path to .NET 8 without a rewrite; the Retail-to-Booking migration is half-finished so booking functionality is split across repos; classic (non-YAML) build pipelines; large legacy NuGet dependency graph.