Legacy .NET to Azure Migration for a Manufacturer

A manufacturer needed to move its legacy .NET production management platform to Microsoft Azure without stopping its production lines. Devox Software chose a phased replatform-and-refactor of 14+ services and 4+ databases, with no cutover longer than 45+ minutes.

Legacy .NET to Azure Migration for a Manufacturer

About the client

A manufacturer relied on old MES for production planning that became difficult to maintain over years. They needed a more flexible tech environment change without unexpected business interruption

About the Product

The project centered on a Manufacturing Execution System (MES) built on .NET Framework 4.6–4.8+ and hosted on 9+ on-premises Windows Server machines. The application supported several business-critical workflows:

  • Production planning and scheduling: coordinating production orders, lines and resource availability
  • Manufacturing execution: tracking production progress, work orders and operational statuses
  • Quality management: recording inspections, defects and quality-control results
  • Component traceability: linking production batches, component serial numbers and manufacturing records
  • Enterprise integrations: exchanging data with ERP, warehouse and other internal systems
  • Operational reporting: showing production teams and managers how manufacturing is performing

Over the years the platform built up tightly coupled components, server-specific configuration and integrations that assumed everything ran on the same network. A typical release took about 6+ hours of manual work on a Sunday maintenance window with 2–3+ release-related incidents per quarter.

That’s why the client wanted to keep the business logic that already ran its plants, and replace the infrastructure and components that blocked further AI-accelerated development.

Introduction

A full application rewrite would have introduced unnecessary delivery risk. At the same time, a straightforward lift-and-shift migration with code refactoring would have retained many of the architectural limitations that caused maintenance problems.

We recommended a phased modernization strategy that combined application assessment, selective .NET upgrades, cloud infrastructure implementation, and controlled workload migration, all with the help of AI Solution AcceleratorTM.

The objective was to establish a cloud-based foundation while preserving existing business processes and limiting operational disruption.

Project Team

Role Headcount Responsibilities
Solution Architect Part-time Migration architecture, Azure service selection, AI usage rules and review standards
.NET Engineers 2 Modernization, API development, integration refactoring, reviewing AI-drafted code
Azure / DevOps Engineer Part-time Cloud infrastructure, pipelines, monitoring, AI-generated Bicep and KQL review
Database Engineer Part-time SQL compatibility, data migration, reviewing AI-converted stored procedures and jobs
QA Engineers 1 Regression and integration testing, curating AI-generated test cases
Project Manager Part-time Delivery, risk, cutover scheduling, stakeholder communication

Challenges

  1. Legacy .NET architecture with infrastructure dependencies. Important business logic distributed across application modules, database procedures, and scheduled background processes, some components depended on Windows Server settings, local file storage, and environment-specific configurations. Our challenge was to identify which components could move to Azure with minimal changes and which required modernization before migration.
  2. Production operations could not be interrupted. The migration therefore had to account for application dependencies, database consistency, production schedules, and recovery procedures.
  3. Complex integrations with existing systems. Moving workloads to Azure required reviewing connection methods, authentication, network access, and failure handling.

Tech Stack

Legacy application: .NET Framework 4.6–4.8+, C#, ASP.NET

Modernized backend: .NET 8, ASP.NET Core Web API

Cloud platform: Microsoft Azure

Hosting: Azure App Service (Windows and Linux plans), WebJobs

Database: SQL Server (source), Azure SQL Database (target)

Messaging: Azure Service Bus

File storage: Azure Blob Storage

Secrets: Azure Key Vault with managed identities

Monitoring: Azure Monitor, Application Insights, Log Analytics

CI/CD: Azure DevOps Pipelines

Infrastructure as code: Azure Bicep

Connectivity: Azure Virtual Network, Site-to-Site VPN Gateway, Private Endpoints

AI tooling: Azure OpenAI (deployed in the client’s Azure tenant) for code and schema analysis; GitHub Copilot for code changes; .NET Upgrade Assistant for project conversion

Solution

The initial assessment covered .NET Framework versions, dependencies between production modules and shared app components, SQL Server schemas, ERP connections, and Windows-specific dependencies. A resulting dependency map showed which components could migrate independently and which had to move together.

Architecture

We designed the target architecture around managed Azure services while preserving connectivity with manufacturing systems that remained on-premises.

Azure App Service was selected as the proposed hosting environment for compatible web applications and APIs.

Azure SQL Database was considered for supported database workloads, subject to a compatibility assessment of SQL Server features, SQL Agent dependencies, and application-level database interactions.

For components that relied on unsupported features, the migration plan provided for additional refactoring or an alternative hosting model.

Azure networking design supported secure communication between cloud-hosted services and the client’s internal environment. The architecture separated application hosting, data storage, integration services, monitoring, and secrets management.

.NET Components Modernized

We identified suitable application services for migration from .NET Framework to modern .NET and ASP.NET Core. The modernization preserved existing manufacturing rules wherever possible. For example, production order validation, component tracking, and quality-control logic were treated as business-critical behavior that had to remain consistent after migration.

Refactored Data Exchange and Integration Workflows

For suitable asynchronous processes, we designed integrations around Azure Service Bus. This allowed application components to exchange messages without requiring every downstream service to be available at the same moment.

For example, a production event could be recorded by the manufacturing application and passed to a downstream processing service through a queue. Message retries and dead-letter handling provided mechanisms for identifying and recovering from failed deliveries.

Prepared and Executed the Database Migration

We assessed the source SQL Server environment and validated compatibility with the target database platform. The migration plan included:

  1. Schema and database feature compatibility checks.
  2. Data integrity validation and baseline record counts.
  3. Initial data transfer to the Azure environment.
  4. Synchronization planning for data changes occurring during the migration.
  5. Application-level testing against the target database.
  6. Final cutover and post-migration reconciliation.

The cutover approach was designed around the application’s write patterns and the client’s approved maintenance constraints. Where a brief maintenance window was unavoidable, it had to be coordinated with manufacturing stakeholders rather than assuming uninterrupted operation.

Traditional and AI-Accelerated Delivery

We planned the MES both ways: the traditional manual way and the AI-accelerated way. Here is how the two compare at each stage.

Stage Traditional delivery AI-accelerated delivery Effect on the MES
Understanding the code Senior engineers read code and stored procedures module by module and interview the two people who know the system. About 5+ weeks. AI summarizes every module and procedure, listing business rules, tables read and written, and external calls. Engineers verify the summaries. About 2.5+ weeks. Found 11+ undocumented dependencies before migration started
Dependency mapping Hand-drawn diagrams from static analysis, updated by hand as the team learns more Static analysis plus AI explanations merged into one dependency map that can be searched and kept up to date MES wave scope fixed 3+ weeks earlier than planned
Documentation Usually written at the end, if at all Drafted as a by-product of discovery and verified by engineers MES went from ~10%+ to 95%+ documented
Safety-net tests QA writes tests by hand for the main scenarios. Coverage stays limited because of time. About 4+ weeks. AI generates test cases from recorded MES inputs and outputs (masked work orders, status changes, scrap and rework events). QA keeps the useful ones. About 2+ weeks. ~480+ MES tests kept; coverage 12%+ → 82%+
Code conversion to .NET 8 Engineers make each configuration, file-access, logging and library change by hand. ~6+ weeks per service. Upgrade tooling plus AI drafts of the mechanical changes. Engineers convert the core order and status logic themselves. ~3.5+ weeks per service. 4+ MES services converted in ~14+ weeks instead of ~24+
SQL Agent jobs Each job rewritten by hand as a background service and tested by hand AI drafts each service from the job’s T-SQL; legacy and new versions run in parallel until their outputs match 14+ MES jobs moved in ~1.5+ engineer-weeks instead of ~3.5+

Results

Sum Up

For this manufacturer, migrating from legacy .NET infrastructure to Microsoft Azure was as much an operational challenge as a technical one. The platform supported manufacturing processes where data consistency, integration reliability, and predictable releases mattered more than simply adopting new technology. We structured the modernization around those constraints.

The result is a more maintainable cloud architecture designed to support future improvements in manufacturing applications, integrations, and operational reporting.

Book a call

Want to Achieve Your Goals? Book Your Call Now!

Having trouble booking? Open the booking page.

Contact Us

We Fix, Transform, and Skyrocket Your Software.

Tell us where your system needs help — we’ll show you how to move forward with clarity and speed. From architecture to launch — we’re your engineering partner.

Book your free consultation. We’ll help you move faster, and smarter.

Let's Discuss Your Project!

Share the details of your project – like scope or business challenges. Our team will carefully study them and then we’ll figure out the next move together.







    By sending this form I confirm that I have read and accept the Privacy Policy

    Thank You for Contacting Us!

    We appreciate you reaching out. Your message has been received, and a member of our team will get back to you within 24 hours.

    In the meantime, feel free to follow our social.


      Thank You for Subscribing!

      Welcome to the Devox Software community! We're excited to have you on board. You'll now receive the latest industry insights, company news, and exclusive updates straight to your inbox.