Goldpath.ServiceDefaults 0.1.0-preview.8

This is a prerelease version of Goldpath.ServiceDefaults.
dotnet add package Goldpath.ServiceDefaults --version 0.1.0-preview.8
                    
NuGet\Install-Package Goldpath.ServiceDefaults -Version 0.1.0-preview.8
                    
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="Goldpath.ServiceDefaults" Version="0.1.0-preview.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Goldpath.ServiceDefaults" Version="0.1.0-preview.8" />
                    
Directory.Packages.props
<PackageReference Include="Goldpath.ServiceDefaults" />
                    
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 Goldpath.ServiceDefaults --version 0.1.0-preview.8
                    
#r "nuget: Goldpath.ServiceDefaults, 0.1.0-preview.8"
                    
#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 Goldpath.ServiceDefaults@0.1.0-preview.8
                    
#: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=Goldpath.ServiceDefaults&version=0.1.0-preview.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Goldpath.ServiceDefaults&version=0.1.0-preview.8&prerelease
                    
Install as a Cake Tool

Goldpath.ServiceDefaults

The Ring A floor of the Goldpath enterprise asset: telemetry, health, RFC 9457 errors, correlation, HTTP resilience + service discovery, and a global concurrency guard — Microsoft packages configured with corporate opinion, in one call. Not optional in the golden path; tunable, never disableable (see docs/rfc/goldpath-servicedefaults.md).

Getting started

var builder = WebApplication.CreateBuilder(args);
builder.AddGoldpathServiceDefaults();

var app = builder.Build();
app.MapGoldpathDefaultEndpoints();   // /health/live + /health/ready
app.Run();

Every request now carries an X-Correlation-Id, unhandled errors return ProblemDetails (without internals), HttpClients get retry/timeout/circuit-breaker + service discovery, and OTLP telemetry flows when OTEL_EXPORTER_OTLP_ENDPOINT is set.

Configuration

Bound from Goldpath:ServiceDefaults, then the code callback applies:

{ "Goldpath": { "ServiceDefaults": {
  "Observability": { "Profile": "Standard", "SamplingRatio": null },
  "RateLimiting":  { "ConcurrencyLimit": 1000, "QueueLimit": 100 },
  "Correlation":   { "AcceptInbound": true }
} } }
  • Observability.Profile: Minimal (1%) · Standard (10%) · Full (always-on). Development always samples fully and adds a console trace exporter.
  • RateLimiting: collapse protection, not throttling — generous by default; excess requests get a 429 ProblemDetails.

Advanced

  • Middleware order (ahead of user middleware): correlation → exception handler (non-Development) → concurrency guard.
  • ProblemDetails responses carry correlationId and traceId extension members.
  • Everything is standard Microsoft primitives: extend via normal DI (builder.Services.AddHealthChecks().AddCheck(...), additional OTel sources, named rate-limit policies) — the floor composes, it does not wrap.

Providers

Not applicable — exporters follow OTel environment conventions (OTEL_EXPORTER_OTLP_ENDPOINT); no Goldpath-specific providers.

Product 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 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.8 122 9/7/2026
0.1.0-preview.7 95 9/1/2026
0.1.0-preview.6 375 8/4/2026
0.1.0-preview.5 86 7/28/2026
0.1.0-preview.4 79 7/27/2026
0.1.0-preview.3 63 7/25/2026
0.1.0-preview.2 73 7/13/2026
0.1.0-preview.1 262 7/13/2026