microsoft-extensions
FeaturedUse the Microsoft.Extensions stack correctly across Generic Host, dependency injection, configuration, logging, options, HttpClientFactory, and other shared infrastructure patterns. USE FOR: wiring dependency injection, configuration, logging, or options; introducing Generic Host patterns into non-web .NET apps; cleaning up service registration, typed HTTP. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
Install
Quality Score: 94/100
Skill Content
Details
- Author
- managedcode
- Repository
- managedcode/dotnet-skills
- Created
- 4 months ago
- Last Updated
- 2 days ago
- Language
- C#
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
microsoft-extensions-ai
Build provider-agnostic .NET AI integrations with `Microsoft.Extensions.AI`, `IChatClient`, embeddings, middleware, structured output, vector search, and evaluation. USE FOR: building or reviewing .NET code that uses Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, IChatClient, IEmbeddingGenerator, ChatOptions, or AIFunction;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
csharp-dotnet-expert
Use when writing, reviewing, or upgrading a C# / .NET application on .NET 8 or .NET 9 (with awareness of .NET 10 LTS). Covers ASP.NET Core minimal APIs and MVC, EF Core 9, dependency injection, `IOptions<T>` configuration, structured logging with `ILogger<T>` and Serilog, OpenTelemetry, Polly resilience, MediatR, FluentValidation, xUnit plus WebApplicationFactory plus Testcontainers, source generators, Native AOT, and modern C# (records, primary constructors, pattern matching, collection expressions, `IAsyncEnumerable`, `Span<T>`). Triggers: C#, csharp, .NET, dotnet, ASP.NET Core, minimal API, record, primary constructor, pattern match, EF Core, Entity Framework, NuGet, Serilog, OpenTelemetry, AOT, xUnit, NUnit, Moq, Polly, MediatR, `Memory`. Produces minimal API endpoints, EF Core DbContexts, migrations, hosted services. Not for language agnostic API contract design across services, see senior-backend-engineer.
aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET. USE FOR: working on ASP.NET Core apps, services, or middleware; changing auth, routing, configuration, hosting, or deployment behavior; deciding between ASP.NET Core sub-stacks. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.