dotnet-core-expert

Build .NET 8 backends with minimal APIs and clean architecture.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/ibrahimayaz/EnYakin360 --skill dotnet-core-expert-ibrahimayaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-core-expert
Source: https://github.com/ibrahimayaz/EnYakin360/tree/main/.github/skills/dotnet-core-expert
Command: npx skills add https://github.com/ibrahimayaz/EnYakin360 --skill dotnet-core-expert-ibrahimayaz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

dotnet-core-expert helps teams build modern .NET 8 applications using minimal APIs, clean architecture, and cloud-native patterns to deliver scalable, testable services.

Core Features & Use Cases

  • Minimal APIs with dependency injection, testable endpoints, and OpenAPI documentation.
  • Clean Architecture layering (Domain, Application, Infrastructure, WebApi) and CQRS with MediatR.
  • Entity Framework Core integration with async I/O, migrations, and repository patterns.
  • JWT authentication and authorization with roles and policies for secure APIs.
  • End-to-end testing with WebApplicationFactory<Program> and integration tests.

Quick Start

Create a .NET 8 solution using minimal APIs and clean architecture, wire in EF Core, MediatR, and JWT auth, then run and test the API with Swagger.

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 using clean architecture?

Structure a .NET 8 minimal API using clean architecture by dividing your solution into Domain, Application, Infrastructure, and WebApi layers. This layering separates business logic from infrastructure concerns, ensuring testable endpoints and scalable server-side services.

How do I implement CQRS with MediatR in a .NET 8 backend?

Implement CQRS with MediatR in a .NET 8 backend by defining commands and queries within the Application layer of your clean architecture. This pattern decouples request handling from controllers, improving testability and maintainability of server-side services.

Does .NET 8 minimal API work with Entity Framework Core and JWT authentication?

Yes, .NET 8 minimal API works seamlessly with Entity Framework Core for async I/O database operations and JWT authentication for secure API access. You can wire these into the dependency injection container to enforce roles and policies.

What's the best way to test minimal API endpoints in .NET 8?

The best way to test minimal API endpoints in .NET 8 is using WebApplicationFactory<Program> for end-to-end integration testing. This approach spins up an in-memory test server to validate your API, database, and authentication pipelines concurrently.

When should I use clean architecture for microservices?

Use clean architecture for microservices when your server-side services require high scalability, strict testability, and independent layering. It isolates Domain and Application logic from Infrastructure and WebApi, which is essential for cloud-native deployments and complex integrations.