.NET is the base of most of the systems we maintain. We have .NET in 16 active systems, from messaging platforms to order systems that have run for years. We know both sides: new code in ASP.NET Core and the .NET Framework legacy that still pays the bills at many companies.
What we do with .NET
APIs. ASP.NET Core with versioning, validation, token authentication, pagination, idempotency on write operations and OpenAPI documentation. The API becomes the contract between the system and everything else: apps, portals, partners.
Workers. Background processing with BackgroundService and queues. Sending messages, reconciliation, file generation and integrations that cannot block the screen. Usually the worker consumes from RabbitMQ with MassTransit, as described in RabbitMQ consulting.
Data access. Entity Framework Core where productivity matters, Dapper where the SQL has to be exact. Versioned migrations, a database project in the repository and review of execution plans. See SQL Server consulting.
Observability. Structured logs, metrics and traces with OpenTelemetry. An error in production points to the request, the user and the query.
Migrating from .NET Framework to .NET 10
.NET 8 and .NET 9 went out of support in November 2026. The target for new migrations is .NET 10.
We work in six steps.
- Inventory. We list projects, dependencies, Windows APIs in use, WCF, Web Forms, classic ASP, Windows services and libraries with no modern version.
- Compatibility analysis. We run the inventory and use GitHub Copilot app modernization, Microsoft’s current modernization tool, and classify each point: compatible, simple adjustment, rewrite or isolation.
- Libraries first. We convert domain and utility projects to .NET Standard and then to .NET 10, keeping the old system consuming the same code.
- Characterization tests. Before changing a rule, we write tests that record current behavior. The migration must produce the same outputs.
- API and services. Windows services become workers. Controllers migrate to ASP.NET Core. WCF becomes REST or gRPC, depending on the consumer.
- Interface and cutover. Screens migrate in slices. In parallel, we run both versions with mirrored traffic before cutting over.
In an order system we have served since 2018, the core still uses .NET Framework 4.8, with WebForms and three Windows services. The modernization route follows the pace of operations. On an SMS platform, the evolution went from .NET Core 3.1 to version 9 over the years.
Architecture decisions
Modular monolith first. For small or medium domains, a monolith with well-separated modules is cheaper to run than ten services. We split out a service when it must scale or be deployed differently.
Idempotency. Write operations exposed to partners accept an idempotency key. Resends do not duplicate orders or charges.
Resilience. Explicit timeouts, retries with backoff and circuit breakers on external calls, with Polly or .NET’s own policies.
Configuration. Values per environment in files and variables, secrets in a vault. Nothing sensitive in the repository.
Performance. We measure before optimizing. CPU and memory profiles, allocations on hot paths and slow queries show up in the traces. Usually the gain is in the database and not in the C# code.
Working with a Brazilian team
Our engineers are based in Brazil, in time zones that overlap with the US working day, and we communicate in English. Code reviews and migration checkpoints fit your calendar.
How we deliver in weeks
- Our own boilerplates. A .NET solution with authentication, multi-tenant support, logging, health checks, Dockerfile and pipeline already configured.
- AI agents with senior review. Agents write characterization tests, endpoints and repetitive conversions. A senior engineer reviews every change.
- The same team from assessment to deploy. The person who inventories the legacy migrates the code.
- Fixed scope after the assessment. The free assessment produces the inventory, the migration route and the timeline in weeks.
For a new API, the reference timeline is 3 to 6 weeks. Migrating a system depends on the inventory, and the assessment sets the timeline.
Tests, security and continuous delivery
Test pyramid. Unit tests for business rules, integration tests with the database in a container and contract tests on APIs exposed to partners. Every pull request runs everything in the pipeline.
Security. Authentication with OpenID Connect, policy-based authorization, input validation, injection protection and secrets in a vault. We update dependencies often and follow vulnerability advisories.
Continuous delivery. The pipeline compiles, tests, builds the image and publishes per environment. The version that passed staging is the same one that goes to production, with no rebuild. See Azure DevOps and CI/CD.
Versions and support. We plan the update between .NET LTS versions well ahead, so that changing versions is routine and not an emergency project.
When not to migrate
Not every system needs to change versions now. If it is stable, changes a few times a year and runs on a supported server, the cost of migration may exceed the benefit. In that case we freeze the scope, document the system and plan the migration for when there is a concrete reason: end of server support, a container requirement or a legal change that forces a large rewrite.
Related
This work is part of our custom software development service. See also the cases Regina Festas and Spectrum Brands, Rayovac and Energizer. To start, request the free assessment.