Purview.Containers.Aspire 1.0.0-prerelease.12

This is a prerelease version of Purview.Containers.Aspire.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Purview.Containers.Aspire --version 1.0.0-prerelease.12
                    
NuGet\Install-Package Purview.Containers.Aspire -Version 1.0.0-prerelease.12
                    
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="Purview.Containers.Aspire" Version="1.0.0-prerelease.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Purview.Containers.Aspire" Version="1.0.0-prerelease.12" />
                    
Directory.Packages.props
<PackageReference Include="Purview.Containers.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 Purview.Containers.Aspire --version 1.0.0-prerelease.12
                    
#r "nuget: Purview.Containers.Aspire, 1.0.0-prerelease.12"
                    
#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 Purview.Containers.Aspire@1.0.0-prerelease.12
                    
#: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=Purview.Containers.Aspire&version=1.0.0-prerelease.12&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Purview.Containers.Aspire&version=1.0.0-prerelease.12&prerelease
                    
Install as a Cake Tool

Purview.Containers.Aspire

Experimental. Pin the exact prerelease version; the API and defaults may change.

Apply verified container bind-source resolution to any Aspire AppHost.

var builder = DistributedApplication.CreateBuilder(args);
builder.AddContainerEnvironment();

builder.AddContainer("example", "your-image")
    .WithBindMount(localDirectory, "/data", isReadOnly: true);

await builder.Build().RunAsync();

The adapter uses Aspire's selected ASPIRE_CONTAINER_RUNTIME (default docker), and the underlying CLI retains its Docker context and TLS configuration. Call once during builder configuration. Registration is idempotent.

Resolution happens at BeforeResourceStartedEvent, after application startup hooks have added their mounts and before DCP renders the container specification. Only bind sources are replaced: named volumes, target paths, read-only flags, endpoints and publish-mode manifests stay unchanged. Keep local source directories/files present before starting the container.

Supply a Purview.Containers.Environment.ContainerEnvironmentResolver instance as the second argument for explicit mappings or a custom probe timeout/image. Otherwise the core package's environment configuration and verified native/WSL discovery are used.

See the environment package README for supported environments, marker permissions, offline probe images and remote-filesystem limits. This adapter does not configure remote service routing; retain Aspire's endpoint discovery and prove reachability with real service requests.

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
1.0.0-prerelease.14 204 11/18/2026
1.0.0-prerelease.13 92 11/11/2026
1.0.0-prerelease.12 62 11/9/2026
1.0.0-prerelease.11 66 11/3/2026
1.0.0-prerelease.10 98 10/29/2026