Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
Install with Tessl CLI
npx tessl i github:wshobson/agents --skill dotnet-backend-patterns82
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillAgent success when using this skill
Validation for skill structure
Async patterns and service design
Parallel dispatch
100%
100%
ConfigureAwait(false)
100%
100%
ValueTask hot path
0%
0%
No blocking calls
100%
100%
No async void
100%
100%
CancellationToken propagation
100%
100%
Result<T> return type
50%
80%
Typed configuration via IOptions
100%
100%
Record types for models
0%
100%
IServiceCollection extension
100%
100%
Without context: $0.5512 · 2m 9s · 17 turns · 18 in / 9,934 out tokens
With context: $1.0949 · 3m 37s · 28 turns · 306 in / 15,961 out tokens
EF Core data access patterns
AsNoTracking on reads
50%
100%
DTO/projection select
0%
0%
Include and ThenInclude
100%
100%
AsSplitQuery
0%
0%
Compiled query
100%
100%
ExecuteUpdateAsync bulk
100%
100%
DbContext pooling
100%
100%
Retry on failure
100%
100%
IEntityTypeConfiguration
100%
100%
Column constraints
100%
100%
Indexes defined
0%
100%
Global soft-delete filter
100%
100%
Without context: $0.4162 · 1m 19s · 19 turns · 19 in / 5,425 out tokens
With context: $1.0450 · 2m 15s · 33 turns · 88 in / 8,670 out tokens
Dapper patterns and caching
CommandDefinition + CT
100%
100%
DynamicParameters
100%
100%
QueryMultiple pagination
44%
100%
IDbConnectionFactory
0%
100%
No SQL injection
100%
100%
Multi-mapping splitOn
0%
22%
Two-tier cache check
0%
0%
Consistent cache keys
100%
100%
Stale-while-revalidate
100%
100%
Mock dependencies + _sut
55%
100%
Theory + InlineData
100%
100%
Without context: $0.6326 · 2m 18s · 23 turns · 23 in / 10,118 out tokens
With context: $1.0437 · 2m 36s · 26 turns · 272 in / 10,830 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.