dotnet-core-expert

Implement .NET 8 minimal APIs with CQRS, EF Core, and JWT authentication.

14|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/alexander-danilenko/ai-skills --skill dotnet-core-expert-alexander-danilenko
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotnet-core-expert
Source: https://github.com/alexander-danilenko/ai-skills/tree/main/skills/dotnet-core-expert
Command: npx skills add https://github.com/alexander-danilenko/ai-skills --skill dotnet-core-expert-alexander-danilenko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps experienced engineers design and implement production-ready .NET 8 backend services with minimal APIs, clean architecture, and cloud-native patterns, reducing architectural drift and repetitive implementation errors.

Core Features & Use Cases

  • Architectural Guidance: Patterns and project structure for clean architecture with CQRS and MediatR to separate concerns and scale teams.
  • Data & Security: Entity Framework Core DbContext configuration, migrations, password hashing, JWT generation/validation, and current-user patterns.
  • Cloud-Native & Performance: Docker multi-stage builds, health checks, OpenTelemetry, Kubernetes manifests, and optional AOT compilation for optimized runtimes.
  • Use Case: Build a microservice-backed e-commerce API using minimal APIs, EF Core for persistence, MediatR for use cases, and JWT for auth.

Quick Start

Use the dotnet-core-expert skill to scaffold and implement a .NET 8 minimal API with EF Core, MediatR-based CQRS, JWT authentication, and Docker deployment.

Frequently Asked Questions about dotnet-core-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a .NET 8 minimal API with clean architecture and CQRS?▼

Structure a .NET 8 minimal API using clean architecture by separating concerns with CQRS and MediatR. This approach organizes project layers to scale teams effectively, reducing architectural drift and repetitive implementation errors in production-grade backend services.

What's the best way to configure JWT authentication in an ASP.NET Core minimal API?▼

Configuring JWT authentication in an ASP.NET Core minimal API involves setting up generation and validation processes alongside current-user patterns. This ensures secure access control in high-performance .NET 8 backend services using modern C#.

How do I set up Entity Framework Core DbContext and migrations for a microservice?▼

Setting up Entity Framework Core DbContext and migrations for a microservice requires configuring data access within a clean architecture. This provides structured persistence for cloud-native .NET 8 backend services using minimal APIs.

Does .NET 8 minimal API support integration testing with WebApplicationFactory?▼

Yes, .NET 8 minimal API supports integration testing with WebApplicationFactory. This satisfies requirements for async-first coding, dependency injection, and OpenAPI documentation, ensuring production-ready backend services function correctly.

Can I deploy a .NET 8 minimal API to Kubernetes with Docker multi-stage builds?▼

Yes, you can deploy a .NET 8 minimal API to Kubernetes using Docker multi-stage builds. This deployment pattern includes health checks, OpenTelemetry, and optional AOT compilation for optimized cloud-native runtimes.

When do I need AOT compilation for ASP.NET Core minimal APIs?▼

You need AOT compilation for ASP.NET Core minimal APIs when optimizing cloud-native runtimes for high-performance scenarios. It is an optional feature in .NET 8 services that reduces memory footprint and startup time alongside standard Docker deployments.