Intropy.Topology.Aspire 0.4.6

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

Intropy.Topology.Aspire

The .NET Aspire run backend for Intropy.Topology.

It turns a validated SystemTopology into a local, F5-able Aspire application with Dapr. At AppHost startup it:

  1. discovers the validated system definition from the supplied assembly;
  2. generates Dapr components and per-component runtime configuration into a temporary directory; and
  3. translates the topology to Aspire resources: one Redis container for pub/sub and one sibling .NET project plus Dapr sidecar for each topology component.

The adapter is deliberately one-way: Aspire receives ordinary resources; it does not need to understand the topology model.

Usage

One SystemHost entry point selects the run or generation backend from the same discovered system definition:

using System.Reflection;
using Intropy.Topology.Aspire;
using Intropy.Topology.Generation;

var assembly = Assembly.GetExecutingAssembly();
return args is ["run", ..] or []
    ? await IntropyAspire.RunAsync(assembly, args)     // Aspire + DCP
    : await IntropyGenerate.RunAsync(assembly, args);  // generate | check | graph

Project convention

Each topology component is resolved to a sibling project relative to the SystemHost:

  • order-extractor resolves to ../order-extractor/src/*.csproj when src contains exactly one project;
  • otherwise it resolves to ../order-extractor/order-extractor.csproj.

A component's standalone Dapr resources live at ../<component>/local/dapr-components/. For Aspire runs, they are staged with generated resources at the stable, inspectable path obj/dapr-components/<component>/; generated resources replace local resources with the same Dapr metadata.name.

Runtime behavior

  • Redis backs development pub/sub. It is published at host port 6380 because generated Dapr resources target localhost:6380; dapr init commonly reserves Redis's default 6379.
  • Components receive INTROPY__COMPONENT and INTROPY__CONFIG environment variables. The latter points to that component's generated .intropy.json file.
  • A publisher waits for its subscribers during startup when the topic graph is acyclic. Dapr sidecars also wait for Redis readiness before they start.
  • Extractors and transactional integrations run to completion: the framework runners (RunToCompletionRunner, TransactionalIntegrationRunner) shut the Dapr sidecar down when the run ends, so a Finished/Exited resource state is a completed run, not a failure. Their sidecars are exempt from the host's sidecar-recovery restarts; a resident component's (a loader's) early sidecar exit is still recovered.
  • A transactional integration's internal hop — its receive pipeline publishing to a component-owned topic and its send pipeline subscribing to it — is minted by the topology as the component's InternalQueue (internal-<component> pubsub, hop topic). It is workload shape, not an inter-component edge, so it never appears in Publishes/Subscribes or SystemTopology.Topics, and the topic completeness rules neither see nor warn about it. Generation emits its pubsub component (Redis, scoped to exactly the owning component) and carries the names in the component's .intropy.json; the framework runner defaults TransactionalIntegrationOptions.DaprPubSubName/DaprTopicName from that config. No local/dapr-components/ entry is required.

Prerequisites

  • An AppHost project using the .NET Aspire SDK.
  • Docker.
  • The Dapr CLI initialized locally: dapr init.

Scope

This package implements the repository's minimal topology model. Development overrides, external-system mocks, Microcks, API mocking, and additional transport/runtime backends remain on the full-topology branch; they are not supported here.

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.4.6 43 8/23/2026
0.4.5 43 8/21/2026
0.4.4 44 8/21/2026
0.4.2 82 8/18/2026
0.4.1 91 8/14/2026
0.4.0 84 8/14/2026
0.3.0 83 8/14/2026
0.3.0-beta.2 68 8/12/2026
0.3.0-beta.1 54 8/12/2026
0.2.1 93 8/11/2026
0.2.0 92 8/11/2026