Backend Conventions (.NET 10 / C# 13)

Document backend conventions for .NET 10 and C# 13 projects.

230|29|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/fpindej/netrock --skill backend-conventions-net-10-c-13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Backend Conventions (.NET 10 / C# 13)
Source: https://github.com/fpindej/netrock/tree/main/.claude/skills/backend-conventions
Command: npx skills add https://github.com/fpindej/netrock --skill backend-conventions-net-10-c-13

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of conventions and best practices for developing .NET 10 / C# 13 backends, ensuring consistency, maintainability, and adherence to architectural guidelines.

Core Features & Use Cases

  • Project Structure: Standardized directory layout for backend projects.
  • Coding Conventions: Guidelines for access modifiers, nullability, collections, and time handling.
  • Entity & Audit Trail: Rules for defining entities, including auditing and soft deletes.
  • EF Core & Result Pattern: Best practices for database interactions and error handling.
  • Authorization & Validation: Standards for permission systems, role hierarchies, and input validation.
  • Use Case: A new developer joins a .NET project and needs to understand the established coding standards, project structure, and common patterns like the Result pattern and authorization.

Quick Start

Refer to the Backend Conventions skill for guidance on .NET 10 / C# 13 project structure and coding standards.

Frequently Asked Questions about Backend Conventions (.NET 10 / C# 13)

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

FAQPage Schema
What are the best practices for structuring a .NET 10 backend project?

Standardized .NET 10 backend project structure uses a defined directory layout to enforce architectural consistency. This layout ensures maintainability and developer productivity by organizing project components predictably across the entire application.

How do I implement the Result pattern for error handling in C# 13?

The Result pattern in C# 13 handles errors without exceptions. It standardizes service responses by returning explicit success or failure objects, ensuring consistent error handling and maintaining architectural flow across backend operations.

How should I define entities and audit trails using EF Core in .NET 10?

Entity definition in .NET 10 uses EF Core best practices for database interactions and includes built-in audit trails. Entities must follow specific rules for auditing and soft deletes to maintain data integrity and historical tracking.

Does this .NET backend convention guide cover authorization and validation standards?

Yes, .NET backend convention standards cover authorization and validation. It defines permission systems, role hierarchies, and input validation rules to ensure secure access control and consistent data verification across the backend.

What testing strategies are recommended for a C# 13 backend architecture?

Testing strategies for a C# 13 backend enforce architectural consistency through standardized practices. The conventions provide specific guidelines for testing backend services to ensure developer productivity and reliable code execution.