Dhara.Storage.Extensions.Hosting 0.10.1

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

Dhara.Storage.Extensions.Hosting

NuGet License: Apache-2.0

.NET Generic Host integration for Dhara.Storage. Registers a hosted service that starts the dhara-sd sidecar with your application and stops it on shutdown, so you do not need to manage the daemon lifetime yourself. Works with Native AOT hosts (PublishAot).

Install

dotnet add package Dhara.Storage.Extensions.Hosting --version 0.10.1

Usage

using Dhara.Storage.Extensions.Hosting;

var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddDharaStorage();

var app = builder.Build();
await app.RunAsync();

Pass a configuration delegate to AddDharaStorage when you need a specific named pipe or an explicit dhara-sd executable path (for example, in a packaged deployment):

builder.Services.AddDharaStorage(options =>
{
    options.PipeName = "my-app-dhara-sd";
});

License

Apache-2.0.

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

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.10.1 105 8/23/2026
0.9.23 102 8/8/2026