What problem does it solve?
This Skill addresses the challenge of delivering reliable, maintainable ASP.NET Core backend services and APIs that align with business requirements, follow established architecture, and are safe to operate in production environments.
Core Features & Use Cases
- Production-ready API implementation: Design thin controllers, robust service layers, and clear DTO contracts for HTTP APIs.
- Validation and error handling: Enforce input validation, consistent error responses, and centralized exception handling.
- Integration and maintainability: Apply constructor injection, async I/O, logging, and clear data access boundaries to keep code testable and extensible.
- Use Case: Implement a leads API that validates requests, normalizes emails, tags records with environment/business context, and persists leads to a database while exposing stable endpoints for frontend consumption.
Quick Start
Use the dotnet agent to implement an ASP.NET Core controller that validates input, delegates to a service, enforces authorization, and returns consistent HTTP responses.