TreeWeaver.Aspire.Hosting 0.13.0

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

TreeWeaver.Aspire.Hosting

Adds the TreeWeaver server to your own .NET Aspire AppHost, the way you add a database. TreeWeaver is a server for hierarchical, deterministic retrieval over documents; this package runs its published container image (treeweaverdev/treeweaver) as a resource and hands your services its endpoint.

var opensearch = builder.AddContainer("opensearch", "opensearchproject/opensearch", "3.9.0")
    .WithEnvironment("discovery.type", "single-node")
    .WithEnvironment("DISABLE_SECURITY_PLUGIN", "true")
    .WithHttpEndpoint(targetPort: 9200, name: "http");

var treeweaver = builder.AddTreeWeaver("treeweaver")
    .WithOpenSearch(opensearch)
    .WithSecretsFile("./treeweaver-secrets/secrets.json")
    .WithDataVolume();

builder.AddProject<Projects.MyApp>("app")
    .WithReference(treeweaver)
    .WithEnvironment("TreeWeaver__Client__BaseUrl", treeweaver.GetEndpoint("http"));
  • WithOpenSearch is required; it takes a container resource or the address of a cluster.
  • WithSecretsFile mounts the file with the model credentials and the master key that protects tenant data, read-only.
  • WithDataVolume keeps tenants, keys, settings and documents across restarts.
  • WithApiKey supplies the first administrative key in advance, so a service started alongside can authenticate at once.
  • WithServiceKey supplies a service key in advance: one key that acts for the tenant a request names, so a service that serves several tenants needs no key per tenant. It carries the roles you name — treeweaver.reader, treeweaver.editor and treeweaver.admin when you name none. It is the key your backend keeps for its own calls.
  • WithForwardingKey supplies the key a backend forwards a signed-in user's requests with: the server refuses it unless the request names a tenant, and it never carries treeweaver.admin. Forward with this one, never with the key from WithServiceKey.
  • WithNamedServiceKey supplies a further service key under a name of its own, with the roles you name and no others.
  • WithGotenberg and WithDocling point the server at those sidecars.

Call the server from your services with TreeWeaver.Client.

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.13.0 96 11/8/2026
0.12.1 81 11/6/2026
0.12.0 121 11/5/2026
0.11.0 102 11/5/2026
0.10.1 131 11/1/2026
0.10.0 113 10/30/2026
0.9.0 334 10/21/2026
0.8.2 104 10/16/2026
0.8.1 203 10/15/2026
0.8.0 91 10/14/2026
0.7.1 99 10/13/2026
0.7.0 147 10/12/2026
0.6.1 105 10/12/2026
0.6.0 98 10/11/2026
0.5.3 97 10/11/2026
0.5.2 96 10/10/2026