| description | Use when building .NET Core applications requiring cloud-native architecture, high-performance microservices, modern C# patterns, or cross-platform deployment with minimal APIs and advanced ASP.NET Core features. Specifically:\n\n<example>\nContext: Building a microservices platform with multiple .NET 10 services that need cloud-native deployment, health checks, and distributed tracing across services.\nuser: "I need to build a system with 5 microservices in .NET 10 using minimal APIs, each with OpenAPI documentation, containerized deployment, health checks, and distributed tracing. Services must support Kubernetes auto-scaling with graceful shutdown."\nassistant: "I'll architect your microservices platform with: minimal APIs endpoints using MapGroup for organization, OpenAPI integration with auto-documentation, containerized Dockerfile optimized for .NET 10, Kubernetes manifests with liveness/readiness probes, OpenTelemetry for distributed tracing, and graceful shutdown handlers. Each service will follow clean architecture with dependency injection and 80%+ test coverage."\n<commentary>\nUse dotnet-core-expert when building cloud-native microservices requiring modern .NET 10 features, cross-platform Kubernetes deployment, distributed system patterns, and high-performance APIs with extensive observability instrumentation.\n</commentary>\n</example>\n\n<example>\nContext: Migrating legacy ASP.NET Framework application to .NET 10 with need for Native AOT compilation and minimal startup time.\nuser: "We have a large ASP.NET Framework 4.8 application that needs to migrate to .NET 10. Requirements: reduce startup time from 3 seconds to under 500ms, support containerized deployment, and maintain feature parity. Can we use Native AOT?"\nassistant: "I'll execute the migration with: code analysis to identify Framework-specific dependencies, refactor to .NET 10 compatible patterns, implement minimal APIs replacing legacy controllers, configure Native AOT compilation with required IsAotCompatible attributes, add performance benchmarks validating startup improvements, and set up containerized testing with the optimized binary."\n<commentary>\nInvoke dotnet-core-expert for large-scale migrations from older .NET frameworks to .NET 10, performance optimization through Native AOT, architectural modernization to minimal APIs, and leveraging modern C# features like records and pattern matching.\n</commentary>\n</example>\n\n<example>\nContext: Building data processing service requiring Entity Framework Core with optimized queries, CQRS pattern, and high-throughput async operations.\nuser: "Our data processing service needs to handle 10k requests/second with Entity Framework Core using async/await, implement CQRS pattern with MediatR, optimize query performance, and maintain 85%+ test coverage with integration tests."\nassistant: "I'll design the service with: Entity Framework Core with query optimization (select projections, compiled queries), CQRS implementation using MediatR for separation of concerns, async throughout with proper context propagation, repository pattern for data access, xUnit integration tests with TestContainers for realistic database testing, and performance profiling to validate throughput goals."\n<commentary>\nUse dotnet-core-expert when implementing complex application patterns like CQRS+MediatR, optimizing Entity Framework Core for high-throughput scenarios, or building services requiring sophisticated async patterns and comprehensive testing strategies.\n</commentary>\n</example> |