Hexalith.Memories.Aspire
4.1.4
dotnet add package Hexalith.Memories.Aspire --version 4.1.4
NuGet\Install-Package Hexalith.Memories.Aspire -Version 4.1.4
<PackageReference Include="Hexalith.Memories.Aspire" Version="4.1.4" />
<PackageVersion Include="Hexalith.Memories.Aspire" Version="4.1.4" />
<PackageReference Include="Hexalith.Memories.Aspire" />
paket add Hexalith.Memories.Aspire --version 4.1.4
#r "nuget: Hexalith.Memories.Aspire, 4.1.4"
#:package Hexalith.Memories.Aspire@4.1.4
#addin nuget:?package=Hexalith.Memories.Aspire&version=4.1.4
#tool nuget:?package=Hexalith.Memories.Aspire&version=4.1.4
Hexalith.Memories.Aspire
The package also exposes AddHexalithMemoriesAccessTelemetry for the fixed lifecycle and independent-clock topology. It is intentionally disabled by default: Story 27.2 supplies portable Dapr boundaries and component templates, while exact Production adapter selection and behavioral certification remain Story 27.3 work.
.NET Aspire hosting extensions for Hexalith.Memories.
A Hexalith domain module that wants to embed the Memories search-index server in its own
*.AppHost (for example to make a curated read model searchable) previously had to hand-roll the
same wiring: a Redis Stack search/vector container, a FalkorDB graph container, a secret-store
component, a conversation/LLM component, the memories project with a DAPR sidecar, and the standard connection-string / topic
environment. That boilerplate now lives here.
Usage
using Hexalith.Memories.Aspire;
// stateStore / pubSub / secretStore are the shared DAPR components the Memories server should reuse
// (for example stateStore/pubSub from Hexalith.EventStore.Aspire's AddHexalithEventStore, and an
// OpenBao-backed secretstores.hashicorp.vault component the consumer provisions and scopes itself).
IResourceBuilder<IDaprComponentResource> secretStore = builder.AddDaprComponent(
"secretstore",
"secretstores.hashicorp.vault",
new DaprComponentOptions { LocalPath = secretStoreYamlPath });
HexalithMemoriesSearchIndexServerResources memories = builder.AddHexalithMemoriesSearchIndexServer(
stateStore,
pubSub,
secretStore,
llmComponentPath: llmYamlPath,
daprPlacementHostAddress: placementAddress,
daprSchedulerHostAddress: schedulerAddress);
// Apply consumer-specific routing on the returned server resource.
_ = memories.Server
.WithEnvironment("EventStoreIntegration__Routing__SourceToTenantMap__my-source", "my-index")
.WithEnvironment("EventStoreIntegration__Routing__AutoProvisionRoutedTenants", "true");
The helper only adds the Memories topology and returns the resource builders; the consuming AppHost owns its DAPR component YAML files, its secret-store provisioning (this library never creates a secret-store component or depends on any secret-provider SDK), and any source-to-index routing.
AddHexalithMemoriesAccessTelemetry takes the same externally-provisioned secretStore parameter for
the access-telemetry lifecycle, clock, and server components — the consumer supplies one secret-store
resource, scoped and named to match its own Dapr configuration (for example access-telemetry-secrets
in the OpenBao-backed root AppHost topology):
IResourceBuilder<IDaprComponentResource> accessTelemetrySecretStore = builder.AddDaprComponent(
"access-telemetry-secrets",
"secretstores.hashicorp.vault",
new DaprComponentOptions { LocalPath = accessTelemetrySecretsYamlPath });
HexalithMemoriesAccessTelemetryResources accessTelemetry = builder.AddHexalithMemoriesAccessTelemetry(
memories.Server,
stateStoreComponentPath: accessTelemetryStateStoreYamlPath,
accessTelemetrySecretStore,
configurationStoreComponentPath: accessTelemetryConfigYamlPath);
By default the helper creates a memories-vectors redis/redis-stack container for the Memories
search/vector store. Pass redisConnectionString only when the consuming AppHost owns a compatible
Redis Stack dependency.
The memories project is referenced cross-repo with IProjectMetadata.SuppressBuild, so the
consuming AppHost never compiles it (Aspire runs children with --no-build) and the two
repositories' package graphs stay isolated.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Aspire.Hosting (>= 17.0.0)
- CommunityToolkit.Aspire.Hosting.Dapr (>= 17.0.0-preview.1.261120-0454)
- MessagePack (>= 3.1.12)
- OpenTelemetry (>= 1.21.0)
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 |
|---|---|---|
| 4.1.4 | 0 | 11/27/2026 |
| 4.1.3 | 10 | 11/27/2026 |
| 4.1.2 | 76 | 11/25/2026 |
| 4.1.1 | 356 | 11/23/2026 |
| 4.1.0 | 407 | 11/18/2026 |
| 4.0.0 | 840 | 11/13/2026 |
| 3.0.27 | 206 | 11/11/2026 |
| 3.0.26 | 216 | 11/11/2026 |
| 3.0.25 | 204 | 11/6/2026 |
| 3.0.24 | 71 | 11/5/2026 |
| 3.0.23 | 214 | 11/4/2026 |
| 3.0.22 | 80 | 11/4/2026 |
| 3.0.21 | 70 | 11/4/2026 |
| 3.0.20 | 66 | 11/4/2026 |
| 3.0.19 | 70 | 11/3/2026 |
| 3.0.18 | 579 | 11/2/2026 |
| 3.0.17 | 248 | 11/2/2026 |
| 3.0.16 | 82 | 11/2/2026 |
| 3.0.15 | 336 | 11/1/2026 |
| 3.0.14 | 108 | 11/1/2026 |