कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

dotnet-expert

jgarrison929 द्वारा

Security & Passwords
1.6kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Use when building .NET 8/9 applications, ASP.NET Core APIs.

विवरण

यह स्किल क्या करती है

A senior .NET 9/ASP.NET Core specialist focused on clean architecture patterns: CQRS with MediatR, modular monolith structure, Result pattern for error handling, and Entity Framework Core 9. Covers the full stack of a production API from domain entities through JWT authentication.

Encodes a consistent set of architectural decisions (Result pattern, strongly-typed IDs, async-all-the-way) that would otherwise require resolving individually across multiple documentation sources.

इसे कब इस्तेमाल करें

  • Setting up a new ASP.NET Core Minimal API project with modular monolith structure
  • Implementing CQRS commands and queries with MediatR handlers
  • Adding FluentValidation to a request pipeline with custom error messages
  • Designing EF Core entity configurations and writing optimized LINQ queries
  • Wiring up JWT authentication with ASP.NET Identity and refresh token support

उदाहरण वर्कफ़्लो

इनपुट

User asks: How do I create a CreateUser endpoint with validation and duplicate email checking?

एजेंट
  1. 1

    Define CreateUserCommand as a record implementing IRequest<Result<UserResponse>>

  2. 2

    Write CreateUserValidator with FluentValidation rules for email, name, and password

  3. 3

    Implement CreateUserHandler that checks for duplicate email via DbContext and returns Result.Failure on conflict

  4. 4

    Register ValidationBehavior in the MediatR pipeline so validation runs before the handler

  5. 5

    Map the POST endpoint in UserEndpoints.cs using ISender.Send and match the result to IResult

आउटपुट

A complete vertical slice: command record, validator, handler with Result pattern, and Minimal API endpoint wired to MediatR

इंस्टॉलेशन

clawhub install jgarrison929/dotnet-expert

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक