Escendit.Extensions.Hosting.ServiceDefaults 0.1.0-rc.2

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

Service Defaults Hosting Extensions

NuGet Version

Opinionated service defaults for .NET applications, inspired by .NET Aspire but tailored for standalone hosting.

Features

  • OpenTelemetry: Configures Metrics, Tracing, and Logging with OTLP exporter support.
  • Health Checks: Adds a default "self" health check.
  • Service Discovery: Integrates Microsoft.Extensions.ServiceDiscovery.
  • Resilience: Provides standard resilience handlers for HTTP clients.

Usage

builder.AddServiceDefaults();

Or for specific scenarios:

builder.AddLowLatencyServiceDefaults();
builder.AddBackendServiceDefaults();

Configuration

  • OTEL_EXPORTER_OTLP_ENDPOINT: If set, enables OTLP exporter for OpenTelemetry.
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 (2)

Showing the top 2 NuGet packages that depend on Escendit.Extensions.Hosting.ServiceDefaults:

Package Downloads
Escendit.Extensions.Hosting.Orleans

Escendit.Extensions.Hosting.Orleans provides streamlined hosting extensions for Microsoft Orleans, offering simplified configuration and dependency injection setup for building robust, distributed applications.

Escendit.Extensions.Hosting.Temporalio

Escendit.Extensions.Hosting.Temporalio provides streamlined hosting extensions for Temporal.io SDK, offering simplified configuration and dependency injection setup for building robust, distributed applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-rc.2 50 5/4/2026
0.1.0-rc.1 50 5/4/2026