csharp-developer

Design and implement C# applications on .NET 8+ with ASP.NET Core and Blazor.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/afonsoft/VideoChat --skill csharp-developer-afonsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-developer
Source: https://github.com/afonsoft/VideoChat/tree/main/.agents/skills/csharp-developer
Command: npx skills add https://github.com/afonsoft/VideoChat --skill csharp-developer-afonsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps senior developers design and implement robust C# applications on .NET 8+.

Core Features & Use Cases

  • Guides modern C# language features and .NET 8+ conventions to write clean, maintainable code.
  • Presents architectural patterns such as clean architecture, DI, CQRS with MediatR, and async programming for scalable APIs and Blazor apps.
  • Use Case: When starting a new ASP.NET Core API, this Skill helps define domain models, DTOs, repositories, and services with proper layering and testing strategies.

Quick Start

Create a minimal .NET 8 API that demonstrates a CQRS pattern with MediatR and EF Core, including a simple domain, command/handler, and repository.

Frequently Asked Questions about csharp-developer

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

FAQPage Schema
How do I structure an ASP.NET Core API with clean architecture and CQRS using MediatR?

Structure your ASP.NET Core API by separating domain models, DTOs, repositories, and services into distinct layers. Implement CQRS with MediatR by creating commands and handlers, utilizing dependency injection and clean architecture patterns for maintainable code.

What are the best practices for async programming and nullable reference types in .NET 8?

Best practices for .NET 8 include enabling nullable reference types to eliminate null reference exceptions and using async/await for scalable operations. These conventions ensure robust, maintainable C# applications across server and client code.

Can I use Entity Framework Core with Blazor and clean architecture in .NET 8?

Yes, you can use Entity Framework Core with Blazor in .NET 8. The approach enforces clean architecture patterns, allowing you to define repositories and services that bridge EF Core data access with Blazor UI components effectively.

How do I set up a minimal .NET 8 API with MediatR and EF Core?

Set up a minimal .NET 8 API by configuring dependency injection for MediatR and EF Core. Create a simple domain, implement command and handler classes for MediatR, and design a repository for data access to demonstrate the CQRS pattern.

Does clean architecture require separate domain models and DTOs in ASP.NET Core?

Yes, clean architecture requires separating domain models from DTOs in ASP.NET Core. This separation ensures proper layering, keeping domain logic isolated from data transfer concerns, which improves testing strategies and maintainability.