Docs · API

API & Framework

The building blocks developers use to extend BizBlocks: entities, controllers, AI and packaging.

Entities

Define data as code-first entities inheriting skyClass<T>, with Display and ObjectContext attribution that documents business meaning for tooling and AI. Standard properties come from CommonDef for consistency.

Controllers

Controllers inherit a base that provides authorization, multi-tenant validation and JSON conventions. Actions are protected with [ActionAuthorize("Permission")].

[ActionAuthorize("View")]
public async Task<IActionResult> GetList()
    => Json(await _service.LoadEntityList());

MCP server

An AI-first MCP server exposes your live database schema and safe query execution to AI agents. Schema intelligence (tables, columns, stored procedures) is generated so agents write correct, tenant-aware queries.

Access is read-oriented with timeouts and core-table protection, and is always multi-tenant aware.

Chatbots

Domain-specialized chatbots (framework expert, database assistant, task and user management) act through MCP endpoints, turning natural language into real, audited actions.

Packaging & deployment

The framework is packed and published to a private NuGet feed with version management, Git metadata and duplicate prevention. Consuming apps deploy to Azure or AWS with blue-green, canary and rolling strategies.