Benevia.Core.API 0.10.5-ci.736

This is a prerelease version of Benevia.Core.API.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Benevia.Core.API --version 0.10.5-ci.736
                    
NuGet\Install-Package Benevia.Core.API -Version 0.10.5-ci.736
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Benevia.Core.API" Version="0.10.5-ci.736" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Benevia.Core.API" Version="0.10.5-ci.736" />
                    
Directory.Packages.props
<PackageReference Include="Benevia.Core.API" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Benevia.Core.API --version 0.10.5-ci.736
                    
#r "nuget: Benevia.Core.API, 0.10.5-ci.736"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Benevia.Core.API@0.10.5-ci.736
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Benevia.Core.API&version=0.10.5-ci.736&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Benevia.Core.API&version=0.10.5-ci.736&prerelease
                    
Install as a Cake Tool

Benevia.Core.API Summary

Benevia.Core.API provides RESTful OData API infrastructure for Benevia Core entities, automatically generating CRUD endpoints with no boilerplate controllers.

This package includes:

  • Automatic CRUD endpoints for each [ApiEntity] entity
  • Multi-tenant database access via Entity Framework
  • JWT and PAT authentication
  • OData query support ($filter, $expand, $select, $search)
  • OData $batch support for reads and writes
  • Percent values expressed as percentage points in the API, with fractional entity values and storage

Documentation

AI agents should use the documentation on the https://core.benevia.university site. Begin with the following links:

  • Documentation specific to this library: API index
  • Full documentation of the platform is here: AI Index

Install

dotnet add package Benevia.Core.API

Configuration

{
  "Tenants": {
    "Demo": {
      "ConnectionString": "Host=localhost;Database=demo;Username=postgres;Password=postgres",
      "EncryptionKey": "..."
    }
  },
  "JWT": {
    "Issuer": "yourcompany",
    "Audience": "yourcompany",
    "AccessTokenExpirationHours": 0.5,
    "RefreshTokenExpirationDays": 14
  }
}

Use environment variables in production — the app reads from IConfiguration automatically:

Tenants__Demo__ConnectionString="Host=prod-db;..."
{
  "ApiOptions": {
    "EnableLowerCamelCase": true,
    "MaxTop": 500,
    "MaxODataBatchParts": 64,
    "MaxNodeCount": 100,
    "MaxExpansionDepth": 5
  }
}

MaxODataBatchParts limits the number of top-level batch parts. Import tools should split large imports into smaller batches that stay under this limit.

Register in Program.cs

builder.Services
    .AddMyAppModel()
    .AddMyAppEndpoints()
    .AddCoreApi((o, t) => o.UseNpgsql(t?.ConnectionString));

app.UseCoreApi();
app.Run();
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Benevia.Core.API:

Package Downloads
Benevia.Core.DataGenerator

Benevia Core DataGenerator library for generating test and sample data.

Benevia.Core.API.Events

Benevia Core API Events integration library combining API features with event-driven architecture.

Benevia.Core.API.Workflows

Benevia Core API Workflows library for workflow and business process automation.

Benevia.Core.API.Postgres

Benevia Core API PostgreSQL integration library combining API features with PostgreSQL database support.

Benevia.Core.Blobs

Benevia Core Blobs library with Azure Blob Storage integration for file and blob management.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.5-ci.758 0 11/19/2026
0.10.5-ci.756 0 11/19/2026
0.10.5-ci.755 0 11/19/2026
0.10.5-ci.754 0 11/19/2026
0.10.5-ci.753 54 11/18/2026
0.10.5-ci.752 53 11/18/2026
0.10.5-ci.751 55 11/18/2026
0.10.5-ci.750 58 11/18/2026
0.10.5-ci.749 43 11/18/2026
0.10.5-ci.748 57 11/18/2026
0.10.5-ci.747 49 11/18/2026
0.10.5-ci.746 53 11/18/2026
0.10.5-ci.745 50 11/18/2026
0.10.5-ci.744 60 11/17/2026
0.10.5-ci.743 64 11/17/2026
0.10.5-ci.742 152 11/17/2026
0.10.5-ci.741 64 11/17/2026
0.10.5-ci.740 106 11/16/2026
0.10.5-ci.736 71 11/16/2026
0.10.4 219 11/12/2026
Loading failed