kull-generic-backend
Installation
SKILL.md
Kull.GenericBackend
Middleware for ASP.NET Core (source: github.com/Kull-AG/kull-generic-backend) that turns SQL
Server stored procedures, views, and table-valued functions into REST endpoints. You describe
the mapping once in backendconfig.json; the middleware handles routing, parameter binding,
JSON (de)serialization, and Swagger/OpenAPI generation (via sp_describe_first_result_set +
INFORMATION_SCHEMA.parameters) — there's no controller or DTO class to write per endpoint.
This skill covers the core Kull.GenericBackend package only. The .OData and .Sanitizer
extension packages are out of scope.
Installation and wiring
dotnet add package Kull.GenericBackend
In Startup.cs / Program.cs, four things have to happen: register the backend, register a
DbConnection, wire Swagger, and add the middleware to the pipeline.