Skip to content

LarsBauer/dataverse-serviceclient-extensions

Repository files navigation

dataverse-serviceclient-extensions

CI License

A collection of .NET libraries for working with Microsoft Dataverse in modern .NET applications.

Packages

Package Version Description
BauerApps.Dataverse.Extensions.DependencyInjection NuGet One-line DI registration for ServiceClient with singleton + scoped Clone() lifecycle. Supports keyed (multi-environment) registrations and Azure.Identity authentication.
BauerApps.Dataverse.Extensions.HealthChecks NuGet ASP.NET Core health check that verifies Dataverse connectivity via a WhoAmI request.

Quick start

# DI registration
dotnet add package BauerApps.Dataverse.Extensions.DependencyInjection

# Health checks
dotnet add package BauerApps.Dataverse.Extensions.HealthChecks
// Program.cs
builder.Services.AddDataverseClient(options =>
{
    options.OrganizationUrl = new Uri("https://my-org.crm4.dynamics.com");
});

builder.Services.AddHealthChecks()
    .AddDataverseHealthCheck();

See the individual package READMEs for full documentation.

Build & test

dotnet build Dataverse.Extensions.slnx
dotnet test Dataverse.Extensions.slnx

License

MIT

About

A collection of .NET libraries for working with Microsoft Dataverse in modern .NET applications.

Resources

License

Stars

Watchers

Forks

Contributors

Languages