Featured work / Logistics modernization case study
Elatre modernized an 850,000-line legacy .NET WCF freight monolith using Roslyn AST dependency graphs, Claude Code, Checkmarx One SAST attack-path release gates, and a YARP Strangler Fig proxy. The program reduced p95 API latency from 1,850 milliseconds to 140 milliseconds, cut cloud and licensing costs by 54%, and achieved 99.6% shadow-traffic parity.

p95 API latency
Cloud and licensing expenditure
Shadow-traffic comparison
Legacy .NET WCF application scope
A freight platform is more than a collection of endpoints. Its behavior includes validation rules, exception handling, integrations, and the relationships between operational records. Replacing a service implementation without understanding those dependencies can produce software that compiles successfully but behaves differently when real workloads arrive.
The challenge in this program was an 850,000-line .NET WCF monolith. Elatre used a staged architecture to move functionality toward cloud-native .NET 9 and AI agents. That approach connected source-code analysis, assisted engineering, security checks, traffic routing, and behavior comparison rather than treating code generation as the entire migration.
The objective was to improve production performance and operating economics while maintaining a measured view of behavioral parity. A new implementation needed evidence behind its release, not simply a convincing code diff.
| Layer | Technology or method | Purpose |
|---|---|---|
| Dependency analysis | Roslyn AST dependency graphs | Understand code structure and relationships before selecting refactoring boundaries. |
| Assisted engineering | Claude Code | Support implementation and refactoring inside an engineering review process. |
| Target platform | Cloud-native .NET 9 and AI agents | Establish the modernized application and workflow architecture. |
| Security release gates | Checkmarx One SAST attack-path checks | Evaluate code security as part of release readiness. |
| Traffic migration | YARP Strangler Fig proxy and shadow traffic | Introduce new implementations incrementally and compare behavior before wider cutover. |
Elatre used Roslyn abstract syntax tree dependency graphs to examine the legacy codebase. An AST represents the structure of source code rather than treating the repository as plain text. That distinction helps engineering reason about symbols, calls, interfaces, and the relationships that a simple keyword search can miss.
For a large WCF application, the useful question is not only where a service method is defined. It is what that method depends on, which callers depend on its behavior, and which shared components would change with it. Those relationships influence the size and risk of a migration unit.
Dependency analysis supports practical decisions about sequencing. A tightly coupled area may require more preparation than a bounded capability with a clear contract. Shared data access and cross-cutting rules also deserve attention before an apparently small service is separated from the monolith.
Our agentic legacy application modernization services use this type of architecture-led decomposition to connect code transformation with production behavior.
Claude Code formed part of the modernization toolchain. Its role sat within a broader process that included dependency analysis, code review, security checks, and behavior comparison. That surrounding structure matters because generated or refactored code can be syntactically correct while changing an important business rule.
A productive migration task needs a bounded objective. The engineer should know the existing contract, the desired implementation boundary, and the checks that determine whether the change is acceptable. Large, loosely specified rewrites make those decisions harder to inspect.
For WCF modernization, compatibility questions can extend beyond method names. Data serialization, error responses, timeouts, and transactional behavior may affect callers. The code migration needs to account for those contracts instead of assuming that a modern framework automatically reproduces them.
Elatre connects assisted development with the ownership and integration discipline of an enterprise custom software development team. The deliverable is maintainable software with a release process, not an accumulation of generated files.
The program used a YARP Strangler Fig proxy to support incremental migration. In this pattern, a routing layer provides a controlled way to direct requests between an existing application and replacement implementations. It allows the system to evolve by capability instead of requiring every part of a monolith to move at once.
The proxy is a migration boundary, not a substitute for application correctness. Route configuration, authentication behavior, upstream availability, and error handling still require deliberate design. Traffic should move because the replacement is ready for that responsibility.
A staged approach also makes operational decisions easier to isolate. Engineering can examine a particular path, compare its behavior, and assess the consequences of changing its routing. That is more manageable than investigating a single cutover in which unrelated parts of the application changed together.
Elatre measured 99.6% shadow-traffic parity during the modernization program. Shadow comparison gives engineering a way to examine how a replacement responds to representative requests before treating it as the production authority for that traffic.
Parity requires a defined comparison. Differences in timestamps, generated identifiers, or formatting should not be confused with changes to business meaning. Equally, a small-looking difference in a financial value, shipment status, or validation result can matter more than a large textual difference in a nonessential field.
Write operations need particular care when designing shadow execution. Replaying a request should not create duplicate real-world actions. A sound comparison design separates observation from production side effects and makes unexplained differences visible for review.
The measured parity result was one part of the release evidence. Performance, security, and operational readiness remained separate concerns rather than being compressed into a single percentage.
Checkmarx One SAST attack-path release gates formed part of the delivery architecture. Their purpose was to bring code security findings into the decision to release a change, including changes produced with AI assistance.
A release gate needs a clear policy: which findings block deployment, how exceptions are reviewed, and who owns remediation. Otherwise, scanning can become a report that arrives after the engineering decision has already been made.
Static analysis is useful alongside other checks. It does not replace runtime authorization, configuration review, integration testing, or production monitoring. The modernization architecture connected these responsibilities rather than treating a successful scan as proof that every possible failure had been removed.
| Measure | Before | Program outcome |
|---|---|---|
| p95 API latency | 1,850 ms | 140 ms |
| Cloud and licensing costs | Legacy operating baseline | 54% reduction |
| Shadow-traffic parity | Comparison against legacy behavior | 99.6% |
| Application scope | 850,000-line .NET WCF monolith | Modernization toward cloud-native .NET 9 and AI agents |
The latency result concerns p95, rather than an average request. This distinction keeps the performance outcome tied to the measurement supplied for the program. The cost result covers cloud and licensing costs, rather than implying an equivalent reduction in every category of engineering expenditure.
AI agents become more useful when the surrounding application has clear interfaces and permissions. Our custom AI agent development and enterprise automation services connect agent workflows to defined business operations rather than exposing an entire legacy system through unrestricted access.
For a logistics organization planning modernization, Elatre can help connect dependency analysis, application engineering, security, traffic migration, and operational measurement in one delivery program.
Tell us which systems, workflows, and operating results your team needs to improve. We can review the architecture and define a practical implementation scope.