Experience
Where the work was done.
Every engagement since November 2011 on one axis, then the person behind them: how I work, what I work with, and the credentials.
The record, drawn to scale.
One bar per engagement, all on one axis from November 2011: a short one looks short, and each one follows the one before it.
Senior Software Engineer, Independent Contractor
Self-employed
– Present
- Contract engineering for product teams in the US and Latin America, working directly and through technology partners
- Event-driven microservices on Azure: Service Bus topics and queues, Functions for background work, App Services, Application Insights, Key Vault and Azure DevOps pipelines
- Distributed transactions with the SAGA pattern — compensating actions, idempotent handlers, retry with backoff, dead-lettering and the outbox pattern, so a failed step never leaves the system half-committed
- Claude and Claude Code as the primary development environment: custom skills encoding each project's conventions, and purpose-built agents for migration passes, test scaffolding, review and documentation
- Custom MCP (Model Context Protocol) servers connecting Claude to a team's own systems — Confluence for documentation and Sourcebot for code search across repositories — so an agent retrieves and cites internal knowledge instead of guessing at it
- Direct integration with the Anthropic API inside application code, rather than only at the editor
- Loop engineering over prompt engineering — what decides whether AI output survives review is the context an agent gets, where it stops, and which checkpoints stay human
Stack: C#, .NET 8, React, TypeScript, Azure Service Bus, Claude Code, MCP, Anthropic API, CI/CD, Terraform
Senior Software Development Engineer
MOGEL
–
- Architected and deployed microservices on AWS (SQS, Lambda, API Gateway, Fargate, ECS), moving inline request work onto queues so a slow consumer degraded into a backlog rather than an outage
- Led full migration of TrakUrScan from Classic ASP/.NET 4.6.1 to .NET Core microservices with AWS Cognito authentication and a React + Material UI front-end
- Adopted Claude Code during its 2025 research preview on a production .NET codebase — agent-assisted migration passes and test scaffolding, held to the same review and security gates as hand-written code
- Championed Clean Architecture and MediatR pipeline patterns; introduced React best practices and TDD workflows, mentoring 5+ junior engineers
- Streamlined DevSecOps pipelines with AWS CodeCommit, CodeBuild, CodeArtifact and CodePipeline plus Terraform and Liquibase, with infrastructure and schema changes versioned alongside the application rather than applied by hand
Stack: C#, .NET Core, React, AWS, Material UI, MediatR, Terraform, Claude Code
Technical Leader
Saffire, LLC
–
- Spearheaded migration of a hybrid WebForms / ASP.NET MVC 4.6.2 + AngularJS system to .NET Core 8 and React, domain by domain, with both stacks serving production traffic throughout and shared authentication across them
- Architected an end-to-end CI/CD pipeline with Azure DevOps, Bitbucket, SonarCloud and Zoom Marketplace webhooks, so every release became a versioned artifact traceable to its commit
- Introduced AI-assisted development to the team in late 2024 with GitHub Copilot and ChatGPT for review support, test generation and migration boilerplate during the .NET 8 and React rebuild
- Streamlined Tier 2 production support with proactive monitoring and a standardized triage workflow, giving an incident one route through the team instead of five
- Optimized database performance with clustered and non-clustered indexing against the query plans that high-volume endpoints actually produced
Stack: ASP.NET Core, .NET 8, React, Azure DevOps, SonarCloud, MediatR, GitHub Copilot
Senior Lead Software Engineer
Imagine Learning
–
- Supported Imagine Edgenuity, adding third-party vendor integrations and the Box API from scratch
- Defined base cloud architectures for new implementations and reviewed pull requests across the team
- Mentored developers on SOLID and clean coding practices, and translated client requirements into technical stories
Stack: C#, .NET Core, AWS S3, Box API, ASP.NET MVC
Senior Software Engineer
SparkDigital
–
- Defined the back-end architecture for New Classrooms using AWS SQS, Lambda, S3, API Gateway and CloudWatch
- Automated a deployment that had been performed by hand, so releasing stopped depending on who was available to do it
- Acted as back-end team lead, coordinating between the company and external contractors
- Applied Clean Architecture on .NET Core 3.1, decoupling the application into small testable components
Stack: C#, .NET Core 3.1, AWS Lambda, AWS SQS, AWS S3, API Gateway
Senior Software Engineer
Tekton Labs
–
- Defined the front-end architecture for American Colors with React, Next.js, TailwindCSS and Redux Toolkit, and led the front-end team
- Built the Staywell healthcare SPA and integrated authentication for SPA, MVC and API clients with IdentityServer4 in Docker
- Implemented ElasticSearch with Hangfire on a Clean Architecture backend using AWS API Gateway, Lambda, SQS, SNS and Terraform
- Applied TDD with xUnit, Moq and Shouldly plus SQLite integration tests to reduce technical debt
Stack: React, Next.js, TailwindCSS, Docker, IdentityServer4, .NET Core 5, AWS
Earlier roles at Belatrix Software, Gestión y Sistemas and TCI are on LinkedIn.
Who you would be working with.
Software architect and senior .NET engineer with 15+ years of production experience across .NET Core, C#, React and Azure. I modernize systems that have become expensive and risky to change, and build new ones a team can deploy with confidence.
I work with AI agents every day, and not as a faster way to type. I build custom skills and agents for the repetitive parts of a codebase's life — migrations, review passes, test scaffolding — so a pattern gets encoded once instead of re-explained every sprint. I also build the connections that let an agent reach a team's own knowledge: custom MCP servers over Confluence and over code search, so answers come from your documentation and your repositories with a citation, rather than from the model's guess. The engineering that matters is in the loop design: what context an agent gets, where it must stop and ask, and how its output gets verified before anyone trusts it.
Clean Architecture, TDD and DDD underpin the work. The discipline is the same in both halves of what I do: move fast on the mechanical parts, stay slow and deliberate about the parts that carry risk.
- Title
- AI-Native Software Architect, .NET Core + React + Azure
- Engineer
- Diego Castillo
- In production since
- Nov 2011 · 15+ years
- Based
- Lima, Peru (GMT-5). Remote, overlapping US time zones.
- Certifications
- Microsoft Certified Solutions Associate (MCSA): Web ApplicationsRetired credential — Microsoft ended the MCSA track
- Microsoft Certified Solutions Expert (MCSE): Cloud Platform & InfrastructureRetired credential — Microsoft ended the MCSE track
- AWS Certified Developer – AssociateExpired 2023
What the work rests on
- Legacy modernization
- C#/.NET Core, Entity Framework, SQL Server, React + TypeScript, Team Leadership
- Distributed architecture
- System Architecture, Microservices, REST APIs, Azure, Azure DevOps, Infrastructure as Code
- Engineering with agents
- Agent workflows, MCP servers, Loop design, AI-assisted review