Spiderly Custom API Endpoints

•
60
•

Facilitates the creation of custom, non-CRUD API endpoints and controllers within the Spiderly .NET framework for AI-driven development.

This skill provides comprehensive guidance and implementation patterns for extending Spiderly-based .NET projects with custom API logic. It enables developers and AI agents to build sophisticated controllers beyond standard CRUD operations, manage complex database transactions, and ensure seamless TypeScript client generation through specialized source generator attributes. By following these patterns, you can integrate webhooks, storefront logic, and multi-entity controllers while maintaining strict type safety and architectural consistency between the C# backend and Angular frontend.

Key Features

01Extends generated base controllers with custom business logic and methods.
02Manages atomic transaction blocks using the WithTransactionAsync pattern.
03Implements advanced database access patterns including eager loading and optimistic concurrency.
04Standardizes API return types and exception handling for robust error management.
0560 GitHub stars
06Automates TypeScript client generation using [SpiderlyDTO] and [SpiderlyController] attributes.

Use Cases

01Creating specialized reporting endpoints that aggregate data from multiple database entities.
02Building custom storefront APIs or third-party webhooks within a Spiderly-driven .NET application.
03Implementing multi-step business workflows requiring complex, atomic database transactions.