Incursa.Platform.SqlServer
6.0.9
Prefix Reserved
dotnet add package Incursa.Platform.SqlServer --version 6.0.9
NuGet\Install-Package Incursa.Platform.SqlServer -Version 6.0.9
<PackageReference Include="Incursa.Platform.SqlServer" Version="6.0.9" />
<PackageVersion Include="Incursa.Platform.SqlServer" Version="6.0.9" />
<PackageReference Include="Incursa.Platform.SqlServer" />
paket add Incursa.Platform.SqlServer --version 6.0.9
#r "nuget: Incursa.Platform.SqlServer, 6.0.9"
#:package Incursa.Platform.SqlServer@6.0.9
#addin nuget:?package=Incursa.Platform.SqlServer&version=6.0.9
#tool nuget:?package=Incursa.Platform.SqlServer&version=6.0.9
Incursa.Platform.SqlServer
SQL Server provider for Incursa.Platform: outbox, inbox, scheduler, fanout, metrics, leases, and semaphores.
Install
dotnet add package Incursa.Platform.SqlServer
Usage
Single-call platform registration
Register the full SQL Server-backed platform stack (outbox/inbox/scheduler/fanout/idempotency, audit, operations, email outbox, metrics exporter, leases, semaphores, external side effects) with one call:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSqlPlatform(
"Server=localhost;Database=MyApp;Trusted_Connection=true;",
options =>
{
options.EnableSchemaDeployment = true;
options.EnableSchedulerWorkers = true;
});
var app = builder.Build();
Use the ConfigureOutbox, ConfigureInbox, and ConfigureScheduler delegates on
SqlPlatformOptions for per-component tuning while keeping a single public entry point.
Examples
One-time execution registry
Use xref:Incursa.Platform.OnceExecutionRegistry to guard idempotent startup tasks or DI registrations.
var registry = new OnceExecutionRegistry();
if (!registry.CheckAndMark("platform:di"))
{
builder.Services.AddSqlPlatform("Server=localhost;Database=MyApp;Trusted_Connection=true;");
}
if (registry.HasRun("platform:di"))
{
logger.LogInformation("Platform services already registered.");
}
Discovery-based registration
builder.Services.AddSingleton<IPlatformDatabaseDiscovery>(new MyTenantDiscovery());
builder.Services.AddSqlPlatformMultiDatabaseWithDiscovery(enableSchemaDeployment: true);
Documentation
- https://github.com/incursa/integrations-public
- docs/INDEX.md
- docs/outbox-quickstart.md
- docs/inbox-quickstart.md
| Product | Versions 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. |
-
net10.0
- Cronos (>= 0.11.1)
- Dapper (>= 2.1.72)
- dbup (>= 5.0.41)
- dbup-sqlserver (>= 7.2.0)
- Incursa.Platform (>= 6.0.5)
- Incursa.Platform.Audit (>= 6.0.4)
- Incursa.Platform.Idempotency (>= 6.0.4)
- Incursa.Platform.Observability (>= 6.0.5)
- Incursa.Platform.Operations (>= 6.0.4)
- Microsoft.Data.SqlClient (>= 6.1.4)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.5)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options (>= 10.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
For support, contact nuget@incursa.com