TreeWeaver.Aspire.Hosting
0.6.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TreeWeaver.Aspire.Hosting --version 0.6.1
NuGet\Install-Package TreeWeaver.Aspire.Hosting -Version 0.6.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="TreeWeaver.Aspire.Hosting" Version="0.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TreeWeaver.Aspire.Hosting" Version="0.6.1" />
<PackageReference Include="TreeWeaver.Aspire.Hosting" />
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.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TreeWeaver.Aspire.Hosting, 0.6.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 TreeWeaver.Aspire.Hosting@0.6.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=TreeWeaver.Aspire.Hosting&version=0.6.1
#tool nuget:?package=TreeWeaver.Aspire.Hosting&version=0.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.6.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"));
WithOpenSearchis required; it takes a container resource or the address of a cluster.WithSecretsFilemounts the file with the model credentials and the master key that protects tenant data, read-only.WithDataVolumekeeps tenants, keys, settings and documents across restarts.WithApiKeysupplies the first administrative key in advance, so a service started alongside can authenticate at once.WithServiceKeysupplies 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 —Read,WriteandAdminwhen you name none.WithGotenbergandWithDoclingpoint the server at those sidecars.
Call the server from your services with TreeWeaver.Client.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Aspire.Hosting (>= 13.6.1)
- MessagePack (>= 2.5.307)
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 |