dotnet
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Angular component architecture, RxJS patterns, change detection, and module organization
Azure DevOps pipeline security, YAML structure, variable management, and deployment patterns
Azure Bicep IaC patterns, parameterization, security, and modular design
Dockerfile best practices, security hardening, multi-stage builds, and image optimization
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and all GitHub operations from the command line.
| name | dotnet |
| description | ASP.NET Core patterns, dependency injection, middleware, async/await, and security |
| metadata | {"version":"1.1.0"} |
<!-- -->) or template variables (e.g., {{ }}) to store sensitive data or security-relevant instructions. Ensure HTML comments are stripped from output before deployment[Authorize] attribute with policiesSingleton: stateless, thread-safe servicesScoped: per-request services (DbContext, etc.)Transient: lightweight, stateless servicesIOptions<T> pattern for configurationasync/await for I/O-bound operations (database, HTTP calls, file system)CancellationToken and respect it.Result or .Wait() (causes deadlocks)ConfigureAwait(false) in library codeValueTask for hot paths that often complete synchronously[ApiController] attribute for automatic model validationActionResult<T> for type safety[ProducesResponseType] for API documentationapp.UseExceptionHandler() for production error handling400 Bad Request for validation failuresAsNoTracking() for read-only queriesInclude() or projection)FromSqlInterpolated/ExecuteSqlInterpolated for complex queries while keeping parameters parameterizedILogger<T>lock, SemaphoreSlim, or ConcurrentDictionary for shared resourcesWebApplicationFactory for integration testing