phenix-contact-centre-2-web
Contact Centre 2 user interface — an ASP.NET MVC shell hosting an Angular 8 SPA for viewing and managing contact data and preferences.
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, typescript, javascript |
| Frameworks | ASP.NET MVC 5, Angular 8.2 |
| Runtimes | .NET Framework 4.6.2, Node 10 |
| Tests / CI | some / CI in place |
| Last commit | 2026-07-16 |
| Owner | Owner unknown (mapping to be curated) |
| Domain | Contact centre and CRM (system generated; curate in repo-owners.json to override) |
| Product area | Phenix |
| Hosted | On-prem Deployed to our own machines
|
| Releases | 3 release pipeline(s): \marketing\contact-centre-2\phenix-contact-centre-2-web develop; \marketing\contact-centre-2\phenix-contact-centre-2-web release; \marketing\contact-centre-2\phenix-contact-centre-2-web stealth |
| Integration | rest, wcf, signalr |
| 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: application-framework, phenix-feature-service
- Speaks WCF (client)
Detaches when its pinning dependencies are cut or multi-targeted (application-framework, phenix-feature-service); and when its WCF surface gains a modern interface or its WCF calls move to one.
Capability duplication
Part of the Contact centre family (survivor): Current generation web
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-contact-centre-2-web to modern .NET
Runs on .NET Framework 4.6.2, Node 10, out of mainstream support. Blocked until stage 2 cuts: application-framework, phenix-feature-service.
Impact: Reduces the end-of-life runtime count
proposedAssessment notes
phenix-contact-centre-2-web
Purpose
The UI for the Contact Centre 2 system, used to view and manage contact data and preferences fed into the shared ContactCentre database by many systems. An ASP.NET MVC website bootstraps an embedded Angular SPA (ClientApp/) covering address book, contacts, business, prospector, permissions, and automated-emails features.
Tech stack
Server shell: C# ASP.NET MVC on .NET Framework 4.6.2 (packages.config NuGet format), Autofac, TC.Cache with Redis, Cognito auth client. Front end: Angular 8.2 with angular-redux, RxJS 6, TypeScript, built via Angular CLI 8 on Node 10; tests in Jasmine/Karma with Protractor e2e config. The SPA calls the Contact Centre 2 API (contactCentre2ApiSettings.ApiUrl).
Deployment
Included as prod_application with 3 releases. Build pipelines: phenix-contact-centre-2-web, ... develop, ...-release (classic pipelines; README shows build/release badges for QA, PreProduction, Production, Training, DR). Release pipelines under \marketing\contact-centre-2\: develop, release, stealth.
Dependencies
Its primary runtime dependency is phenix-contact-centre-2-api (REST + SignalR). Server-side internal packages map to: tc-connectionbroker, tc-exceptions, application-framework (TC.Phenix.ApplicationFramework), backoffice-useraccount-service (TC.UserAccount.ServiceClient), phenix-feature-service (TC.Phenix.Feature), company-info-api (TC.Phenix.CompanyInfo), service-fee-api (TC.ServiceFee.Api.Client), phenix-task-reminder-wcf (TC.TaskReminder.ServiceClient). Local development requires phenix-root running for auth cookies. External: AWS Cognito.
Data stores
No database of its own; uses shared Redis cache via TC.Cache/ConnectionBroker.Redis. All contact data comes from the ContactCentre database through the APIs.
Integration points
REST calls to the Contact Centre 2 API, SignalR for real-time updates, and WCF service clients (task reminder, user account) on the MVC server side.
Code health
78 Jasmine spec files in the Angular app plus a single .NET test project (ContactCentre2.Web.Tests) — reasonable front-end coverage, thin server coverage. Good README with run instructions. Actively maintained (last commit 2026-07-16).
Modernisation risks
Angular 8 and Node 10 are both long end-of-life, blocking security patches and modern tooling. The .NET Framework 4.6.2 MVC shell with packages.config needs migration to ASP.NET Core or a standalone SPA hosting model. Tight coupling to phenix-root cookie-based auth complicates local development and decoupling.