# dotnet-backend

Guides Claude Code through building and changing ASP.NET Core services with EF Core, authentication, and background work. Useful for .NET backend tasks.

- skill · `type=skill` · Claude Code · 267 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/dotnet-backend
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/dotnet-backend

## What it does

This skill guides Claude Code on ASP.NET Core API work, from Minimal APIs and controllers to input validation and error handling. It covers EF Core data access, migration setup and query patterns, plus authentication and authorization.

Background task examples use `IHostedService`, `BackgroundService`, and schedulers such as Hangfire or Quartz.NET. The material also includes patterns for JWT, SignalR, and tests. Its examples rely on specific libraries and storage options, so check that the technologies you want match the ones in your project.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/dotnet-backend
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill dotnet-backend -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/dotnet-backend/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/dotnet-backend/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/dotnet-backend/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/dotnet-backend/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates dotnet-backend
```

2. **Manually: put the files in place**
- File: `.github/skills/dotnet-backend/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/dotnet-backend
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/dotnet-backend/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/dotnet-backend

## When to use it
- build an ASP.NET Core API with controllers or Minimal APIs
- add JWT authentication and authorization policies
- design EF Core queries and migrations
- run a background service or scheduled job
- test a .NET API

## Example prompts
- Build a user API with ASP.NET Core Minimal APIs and EF Core.
- Add JWT authentication and role-based authorization to my .NET API.
- Create an EF Core background worker that processes pending emails.

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 804 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
