Microsoft.DataApiBuilder.Core
2.0.8
Prefix Reserved
dotnet add package Microsoft.DataApiBuilder.Core --version 2.0.8
NuGet\Install-Package Microsoft.DataApiBuilder.Core -Version 2.0.8
<PackageReference Include="Microsoft.DataApiBuilder.Core" Version="2.0.8" />
<PackageVersion Include="Microsoft.DataApiBuilder.Core" Version="2.0.8" />
<PackageReference Include="Microsoft.DataApiBuilder.Core" />
paket add Microsoft.DataApiBuilder.Core --version 2.0.8
#r "nuget: Microsoft.DataApiBuilder.Core, 2.0.8"
#:package Microsoft.DataApiBuilder.Core@2.0.8
#addin nuget:?package=Microsoft.DataApiBuilder.Core&version=2.0.8
#tool nuget:?package=Microsoft.DataApiBuilder.Core&version=2.0.8
Data API builder Core Library for Azure Databases
About
Microsoft.DataApiBuilder.Core is the core engine library for Data API builder (DAB). It provides the runtime components needed to generate and execute secure REST, GraphQL endpoints and MCP tools backed by Azure SQL and other databases.
This package is intended for developers who want to embed or extend the Data API builder engine within their own .NET applications or services.
Supported Databases
- Azure SQL / SQL Server
- Azure SQL Data Warehouse
- Azure Cosmos DB (NoSQL)
- PostgreSQL
- MySQL
Key Capabilities
- REST API engine � Automatically generates CRUD endpoints (POST, GET, PUT, PATCH, DELETE) with filtering, sorting, and pagination
- GraphQL engine � Generates queries and mutations with filtering, sorting, pagination, and relationship navigation
- MCP tool support � Exposes DML and custom MCP tools for building SQL MCP Servers
- Authentication � OAuth2/JWT and EasyAuth (Azure App Service / Static Web Apps)
- Authorization � Role-based access control with item-level security via policy expressions
- Configuration-driven � Define entities, permissions, and relationships in a JSON config file; no code required
- Multi-database � Connect to multiple database types from a single instance
- Caching � Built-in response caching with FusionCache
Installation
dotnet add package Microsoft.DataApiBuilder.Core
Usage
This library provides the core services and middleware used by the Data API builder runtime. Register the DAB services in your application's dependency injection container and configure them using a DAB configuration file.
For a complete, ready-to-run experience, consider using the Microsoft.DataApiBuilder NuGet package or the DAB CLI.
Resources
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Azure.Identity (>= 1.17.1)
- DotNetEnv (>= 3.0.0)
- HotChocolate (>= 16.0.0)
- HotChocolate.AspNetCore (>= 16.0.0)
- HotChocolate.AspNetCore.Authorization (>= 16.0.0)
- HotChocolate.Types.NodaTime (>= 16.0.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.10)
- Microsoft.Azure.Cosmos (>= 3.38.1)
- Microsoft.Data.SqlClient (>= 5.2.3)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.0)
- Microsoft.Extensions.Configuration.Json (>= 9.0.0)
- Microsoft.IdentityModel.Validators (>= 8.1.2)
- Microsoft.OData.Core (>= 7.20.0)
- Microsoft.OData.Edm (>= 7.20.0)
- Microsoft.OpenApi (>= 1.6.14)
- MSTest.TestFramework (>= 3.3.1)
- MySqlConnector (>= 2.1.5)
- Newtonsoft.Json (>= 13.0.2)
- Newtonsoft.Json.Schema (>= 3.0.14)
- Npgsql (>= 8.0.3)
- Polly (>= 7.2.3)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.5.0)
- System.IO.Abstractions (>= 21.0.2)
- ZiggyCreatures.FusionCache (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.