dotnet

仓库创建 2026年6月30日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

覆盖现代 .NET 特性与常见陷阱,适合后端与 web 开发者。

这个 Skill 做什么

针对 .NET 8+ 与 ASP.NET Core 的开发建议、模板与实践。

给出 .NET 8+/ASP.NET Core 的实践建议、模板与示例,包含 minimal APIs、MVC、EF Core、DI、middleware、AOT 与测试等。会在搭 REST/gRPC、设计中间件或实现认证与数据映射时用到。侧重符合新版规范的实现细节,避免踩老旧或不兼容的坑。

▸ 展开 SKILL.md 英文原文

Use for .NET 8+/ASP.NET Core — minimal APIs, MVC, EF Core, DI, middleware, options pattern, health checks, AOT, testing. Triggers — C#, .csproj/.sln, Program.cs, 'asp.net', 'blazor'.

开发编程C#.NETASP.NET通用
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/muxammadmamajonov/dot-claude/main/.claude/skills/dotnet/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/muxammadmamajonov/dot-claude/main/.claude/skills/dotnet/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# .NET / ASP.NET Core Development

## When to use
- Scaffolding or extending ASP.NET Core services (REST APIs, gRPC, Blazor, background workers)
- Designing the middleware pipeline, filters, or DI container in .NET 8+
- Mapping domain objects to the database via Entity Framework Core 8+
- Implementing authentication (JWT Bearer, cookie, OIDC) with ASP.NET Core Identity or custom schemes
- Adding health checks, OpenTelemetry, and structured logging with `ILogger`
- Optimising startup performance with NativeAOT or `PublishReadyToRun`
- Writing tests: xUnit, integration tests with `WebApplicationFactory`, Testcontainers

## Workflow

1. **Scaffold** with `dotnet new` templates — `webapi` (minim
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有