dotnet

Configure .NET 10 projects with C# 13 features and service defaults.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/StuartF303/Sorcha --skill dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet
Source: https://github.com/StuartF303/Sorcha/tree/main/.claude/skills/dotnet
Command: npx skills add https://github.com/StuartF303/Sorcha --skill dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill standardizes and accelerates the setup of .NET 10 web services by applying consistent project templates, enabling strict nullable reference types, implicit usings, and integrated service defaults to reduce boilerplate and promote best practices.

Core Features & Use Cases

  • Project templating & configuration: enforces net10.0, Nullable enable, ImplicitUsings, and XML documentation generation across services.
  • Dependency Injection & service defaults: demonstrates primary constructor DI patterns and shared service defaults for consistent composition.
  • Security & API setup: includes JWT authentication scaffolding and OpenAPI/OpenAPI integration for web APIs.

Quick Start

  • Ensure the .NET 10 SDK is installed.
  • Create a new web API project targeting net10.0.
  • Integrate Sorcha.ServiceDefaults and configure AddJwtAuthentication and MapDefaultEndpoints per project pattern.

Frequently Asked Questions about dotnet

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

FAQPage Schema
How do I configure a .NET 10 web API project with modern C# features?

Configure .NET 10 projects by enabling nullable reference types, implicit usings, and XML documentation in your project file, then integrate Sorcha.ServiceDefaults with AddJwtAuthentication and MapDefaultEndpoints to apply consistent service defaults and security scaffolding across your web service.

What are the benefits of enabling strict nullable reference types in .NET projects?

Strict nullable reference types enforce compile-time null safety by requiring explicit handling of nullable values, reducing runtime null-reference exceptions and promoting safer code patterns without runtime performance overhead.

How do I set up JWT authentication and OpenAPI in a .NET 10 web service?

Use the service defaults pattern to scaffold JWT authentication and OpenAPI integration through AddJwtAuthentication and endpoint mapping, which configures security middleware and API documentation generation automatically across your web API project.

Can I use primary constructor dependency injection with .NET 10?

Yes, .NET 10 with C# 13 supports primary constructor dependency injection patterns, allowing you to declare dependencies directly in class constructors and integrate them seamlessly with the built-in dependency injection container.

What project configuration does .NET 10 standardization enforce?

Standardization enforces net10.0 target framework, nullable reference type checking, implicit usings directives, and XML documentation generation across projects, reducing boilerplate and ensuring consistent best practices in web service setup.