dotnet-backend-patterns
Build Reliable .NET Backends
Modern .NET backend work requires consistent choices for APIs, data access, caching, and tests. This skill gives Claude, Codex, and Claude Code practical patterns for production C# services.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "dotnet-backend-patterns" from https://skillstore.io/skills/wshobson-dotnet-backend-patterns.md and its manifest at https://skillstore.io/api/skills/wshobson-dotnet-backend-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "dotnet-backend-patterns". I need a repository design for product search with EF Core and Dapper.
Expected outcome:
A concise comparison of repository boundaries, parameterized queries, pagination, cancellation, and when each data access tool fits best.
Using "dotnet-backend-patterns". Review this order service for async and validation issues.
Expected outcome:
A review highlighting blocking calls, missing cancellation tokens, validation gaps, Result pattern usage, and targeted test cases.
Using "dotnet-backend-patterns". Plan caching for product lookups in an API.
Expected outcome:
A cache design covering memory cache, Redis, expiration policy, invalidation, stale reads, and logging considerations.
Security Audit
SafeThe audit found no confirmed security issues after manual adjudication. Static alerts are false positives caused by Markdown code fences, C# syntax, .NET prose, and educational database examples. No evidence found for prompt injection, malicious command execution, data exfiltration, or host reconnaissance.
Risk Factors
โ๏ธ External commands (24)
๐ Filesystem access (2)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/wshobson-dotnet-backend-patterns/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/wshobson-dotnet-backend-patterns?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/wshobson-dotnet-backend-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-dotnet-backend-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/wshobson-dotnet-backend-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
wshobson. (2026). dotnet-backend-patterns security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-dotnet-backend-patterns/audits/7BibTeX citation
@techreport{wshobson-wshobson-dotnet-backend-patterns-2026,
author = {wshobson},
title = {dotnet-backend-patterns security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/wshobson-dotnet-backend-patterns/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dotnet-backend-patterns security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/wshobson-dotnet-backend-patterns/audits/7"
identifiers:
- type: other
value: "skillstore:wshobson-dotnet-backend-patterns:audit:7"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
sickn33-dotnet-backend-patterns
2026-08-21
wshobson-dotnet-backend-patterns
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Design a New API
Plan folders, services, repositories, validation, caching, and tests for a new ASP.NET Core service.
Review Data Access Choices
Compare EF Core and Dapper patterns for query performance, maintainability, transactions, and repository boundaries.
Standardize Team Guidance
Create shared .NET backend conventions for dependency injection, configuration, testing, and common anti-patterns.
Try These Prompts
Use this skill to outline a .NET Web API for products. Include folders, service lifetimes, DTOs, validation, and test strategy.
Review this C# service for async, cancellation, dependency injection, and Result pattern issues. Suggest concrete improvements with rationale.
Design a data access layer for high-read product search. Compare EF Core and Dapper, then recommend repositories and caching boundaries.
Plan a production .NET backend for orders. Cover service boundaries, transactions, resilience, caching, tests, configuration, and operational risks.
Best Practices
- Validate generated patterns against your domain model, database provider, and deployment constraints.
- Ask for tests and failure cases when using the skill for service or repository design.
- Review security-sensitive flows separately, especially authentication, authorization, secrets, and external integrations.
Avoid
- Do not copy sample domains directly into production without adapting names, validation, and policies.
- Do not mix synchronous blocking calls into async request flows.
- Do not choose Dapper or EF Core based only on preference; match the tool to query complexity.
Frequently Asked Questions
What does this skill help build?
Does it support ASP.NET Core?
Can it generate complete applications?
When should I use EF Core instead of Dapper?
Does it include testing guidance?
Is it safe to use with Claude Code or Codex?
Developer Details
Author
wshobsonLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
36e07d5e13068e5be64447e8f20b427cf2cbd21a
Maintenance freshness
7/18/2026
Usage
18 downloads ยท 359 views
File structure
๐ assets/
๐ service-template.cs
๐ references/
๐ dapper-patterns.md
๐ ef-core-best-practices.md
๐ SKILL.md