Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds and maintains controller-based ASP.NET Core APIs covering conventions, model binding, validation, OData, and JsonPatch.
Use this skill ↓73% 91%+18 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 16 of 22 without it.
How should request DTOs for ASP.NET Core Web API endpoints be defined when creating new product records in C#?
The DTO is defined as a record type with init-only properties marked with the required modifier.
3 of 3 safety checks passed
minimal-apis for new simple APIs instead of defaulting to controllers out of habit.dotnet/aspnetcore v10.0.11 is servicing and updates the OpenAPI stack to 2.7.5; controller-based API guidance still depends on conventions, advanced model binding, OData, JsonPatch, and existing filters. Re-run generated-document and client contract checks after upgrading.aspnetcore-10.0 overview keeps controller APIs alongside Minimal APIs rather than replacing them. Use the dedicated routing, OpenAPI, auth, and hosting pages before changing public API contracts.Use primary constructors (C# 12+) for dependency injection and keep controllers focused on HTTP concerns:
[ApiController]
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.