![]() |
VOOZH | about |
dotnet add package Reimaginate.DataHub.AspNetCore --version 1.3.0-rc.58
NuGet\Install-Package Reimaginate.DataHub.AspNetCore -Version 1.3.0-rc.58
<PackageReference Include="Reimaginate.DataHub.AspNetCore" Version="1.3.0-rc.58" />
<PackageVersion Include="Reimaginate.DataHub.AspNetCore" Version="1.3.0-rc.58" />Directory.Packages.props
<PackageReference Include="Reimaginate.DataHub.AspNetCore" />Project file
paket add Reimaginate.DataHub.AspNetCore --version 1.3.0-rc.58
#r "nuget: Reimaginate.DataHub.AspNetCore, 1.3.0-rc.58"
#:package Reimaginate.DataHub.AspNetCore@1.3.0-rc.58
#addin nuget:?package=Reimaginate.DataHub.AspNetCore&version=1.3.0-rc.58&prereleaseInstall as a Cake Addin
#tool nuget:?package=Reimaginate.DataHub.AspNetCore&version=1.3.0-rc.58&prereleaseInstall as a Cake Tool
ASP.NET Core endpoint helpers for hosting DataHub APIs in Azure Container Apps and other web hosts.
Use MapDataHubClientEndpoint and MapDataHubCliEndpoint to expose DataHub request endpoints with structured diagnostic error responses.
See for full client and host configuration.
Shared key client authorization:
app.MapDataHubClientEndpoint("/api/Client", options =>
{
options.AuthorizeAsync = (request, _) =>
{
var expectedKey = builder.Configuration["x-functions-key"];
var suppliedKey = request.Headers["x-functions-key"].FirstOrDefault();
return Task.FromResult(!string.IsNullOrEmpty(expectedKey) && expectedKey == suppliedKey);
};
});
Microsoft Entra client authorization:
builder.Services.AddDataHubClientAzureAdAuthorization(options =>
{
options.TenantId = "<tenant-id>";
options.Audience = "api://<datahub-api-client-id>";
options.AllowedClientIds = new[] { "<caller-application-client-id>" };
options.AllowedObjectIds = new[] { "<managed-identity-object-id>" };
});
app.MapDataHubClientEndpoint("/api/Client", options =>
{
options.UseAzureAdBearerAuthorization();
});
The endpoint rejects delegated user tokens and only accepts app or managed identity tokens whose azp, appid, or oid claim appears in the configured allow-list.
CLI authentication:
builder.Services.AddDataHubCliAzureAdAuthentication(options =>
{
options.TenantId = "<tenant-id>";
options.Audience = "api://7a3a7b0c-3f0b-43dd-b45f-487f1060ee91";
options.RequiredScope = "datahub_cli";
});
app.MapDataHubCliEndpoint("/api/CLI", options =>
{
options.UseAzureAdCliAuthentication();
});
The CLI endpoint accepts delegated Microsoft Entra user tokens only. It rejects app-only tokens, requires the configured datahub_cli scope, resolves the token to a registered DataHub user by tenant plus Entra object id, and then relies on DataHub roles and permissions for command authorization. The standard DataHub CLI path uses the shared Reimaginate/DataHub app registration, so customers do not create their own app registration for CLI sign-in; tenant admin consent may still be required.
Customer administrators sign in through the DataHub CLI. The CLI uses MSAL to request the delegated API scope:
datahub profiles set-target datahub --profile <name> --url <datahub-cli-url> --tenant <tenant-id>
datahub login --profile <name>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.0-rc.58 | 0 | 6/18/2026 |
| 1.3.0-rc.57 | 0 | 6/18/2026 |
| 1.3.0-rc.56 | 0 | 6/18/2026 |
| 1.3.0-rc.55 | 0 | 6/17/2026 |
| 1.3.0-rc.52 | 51 | 6/14/2026 |
| 1.3.0-rc.51 | 52 | 6/11/2026 |
| 1.3.0-rc.49 | 51 | 6/11/2026 |
| 1.3.0-rc.48 | 46 | 6/9/2026 |
| 1.3.0-rc.47 | 47 | 6/9/2026 |
| 1.3.0-rc.46 | 52 | 6/9/2026 |
| 1.3.0-rc.45 | 54 | 6/9/2026 |
| 1.3.0-rc.44 | 50 | 6/9/2026 |
| 1.3.0-rc.43 | 52 | 6/9/2026 |
| 1.3.0-rc.42 | 62 | 6/7/2026 |
| 1.3.0-rc.41 | 49 | 6/7/2026 |
| 1.3.0-rc.40 | 52 | 6/7/2026 |
| 1.3.0-rc.39 | 62 | 6/7/2026 |
| 1.3.0-rc.38 | 56 | 6/7/2026 |
| 1.3.0-rc.37 | 49 | 6/7/2026 |
| 1.3.0-rc.36 | 47 | 6/6/2026 |