What problem does it solve?
Manually creating REST API endpoints for CRUD operations is repetitive and error-prone. This Skill automates the generation of full CRUD APIs, allowing developers to focus on custom business logic and security.
Core Features & Use Cases
- Auto-Generated CRUD: Instantly get GET, POST, PUT, DELETE, and PATCH endpoints for any entity by inheriting
EntityController<T>.
- Custom Routes: Easily add specific business operations beyond CRUD with standard ASP.NET Core routing.
- Authentication & Authorization: Secure your APIs with declarative
[Authorize] attributes and fine-grained policy enforcement.
- Payload Transformers: Customize API responses to fit specific client needs or implement HATEOAS patterns.
- Use Case: Quickly expose a
Todo entity as a full REST API, then add a custom endpoint like /api/products/{id}/discount with specific authorization rules, all with minimal code.
Quick Start
To create a full CRUD API for your 'Todo' entity, define a controller like this:
[Route("api/[controller]")]
public class TodosController : EntityController<Todo> { }