Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)28k · #9844

aspnet-core

Skill này làm gì

Skill này hướng dẫn công việc trên các ứng dụng web ASP.NET Core, gồm Blazor, Razor Pages, MVC, API và tính năng thời gian thực. Skill dành cho lập trình viên xây dựng hoặc bảo trì ứng dụng web .NET.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu một ứng dụng ASP.NET Core mới và cần chọn giữa Blazor, Razor Pages, MVC hoặc Minimal API.
  • ✓Khi bạn cần thêm xác thực, SignalR, gRPC hoặc công việc nền cho một ứng dụng ASP.NET Core.
  • ✓Khi bạn muốn rà soát hoặc nâng cấp một dự án ASP.NET Core hiện có lên phiên bản mới hơn.

Liên kết skill

https://github.com/openai/skills/blob/main/skills/.curated/aspnet-core/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/openai/skills/blob/main/skills/.curated/aspnet-core/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn xây một ứng dụng web ASP.NET Core nhỏ có đăng nhập. Nên chọn loại ứng dụng nào và bắt đầu thế nào?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu agent xác nhận phiên bản framework, đọc hướng dẫn cho loại ứng dụng đã chọn và chỉ tải các ghi chú tham chiếu phù hợp với công việc.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

ASP.NET Core

Overview

Choose the right ASP.NET Core application model, compose the host and request pipeline correctly, and implement features in the framework style Microsoft documents today.

Load the smallest set of references that fits the task. Do not load every reference by default.

Workflow

  1. Confirm the target framework, SDK, and current app model.
  2. Open references/stack-selection.md first for new apps or major refactors.
  3. Open references/program-and-pipeline.md next for Program.cs, DI, configuration, middleware, routing, logging, and static assets.
  4. Open exactly one primary app-model reference:
  5. Add cross-cutting references only as needed:
  6. Open references/versioning-and-upgrades.md before introducing new platform APIs into an older solution or when migrating between major versions.
  7. Use references/source-map.md when you need the Microsoft Learn section that corresponds to a task not already covered by the focused references.

Default Operating Assumptions

  • Prefer the latest stable ASP.NET Core and .NET unless the repository or user request pins an older target.
  • As of March 2026, prefer .NET 10 / ASP.NET Core 10 for new production work. Treat ASP.NET Core 11 as preview unless the user explicitly asks for preview features.
  • Prefer WebApplicationBuilder and WebApplication. Avoid older Startup and WebHost patterns unless the codebase already uses them or the task is migration.
  • Prefer built-in DI, options/configuration, logging, ProblemDetails, OpenAPI, health checks, rate limiting, output caching, and Identity before adding third-party infrastructure.
  • Keep feature slices cohesive so the page, component, endpoint, controller, validation, service, data access, and tests are easy to trace.
  • Respect the existing app model. Do not rewrite Razor Pages to MVC or controllers to Minimal APIs without a clear reason.

Reference Guide

Câu hỏi thường gặp

Skill có giúp chọn đúng loại ứng dụng không?

Có. Skill bắt đầu bằng hướng dẫn chọn stack cho ứng dụng mới hoặc các đợt tái cấu trúc lớn.

Skill có bao quát bảo mật và kiểm thử không?

Có. Skill có các tài liệu về identity, phân quyền, kiểm thử, hiệu năng và triển khai.

Skill chỉ dành cho dự án mới phải không?

Không. Skill cũng bao gồm việc rà soát, tái cấu trúc và nâng cấp ASP.NET Core.

Chi tiết

Mô tả gốc của tác giả

Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.

repo: openai/skills

Độ phổ biến

Sao GitHub
28k
Vị trí xếp hạng
#9844
Giấy phép
—
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự