Skip to main content
Aspire.Hosting.Testing package icon

Aspire.Hosting.Testing

Testing support for the .NET Aspire application model.

Total Downloads
8.5M
8,502,134
Published
Jul 29, 2025
Latest stable version

Install

.NET CLI
dotnet add package Aspire.Hosting.Testing --version 9.4.0
Package Manager Console
Install-Package Aspire.Hosting.Testing -Version 9.4.0
PackageReference
<PackageReference Include="Aspire.Hosting.Testing" Version="9.4.0" />

Frameworks

net8.0 net9.0

Dependencies

[9.4.0, )
[9.4.0, )
[3.31.1, )
[2.71.0, )
[2.71.0, )
[2.72.0, )
[2.14.1, )
[3.3.0, )
[17.0.4, )
[13.0.3, )
[8.6.2, )
[8.6.2, )
Semver
net8.0
[3.0.0, )
[2.22.11, )
[9.0.7, )
[9.4.0, )
[9.4.0, )
[3.31.1, )
[2.71.0, )
[2.71.0, )
[2.72.0, )
[2.14.1, )
[3.3.0, )
[17.0.4, )
[13.0.3, )
[8.6.2, )
[8.6.2, )
Semver
net9.0
[3.0.0, )
[2.22.11, )
[9.0.7, )

Adoption guide

Service-oriented .NET solutions already modeled with Aspire that need end-to-end multi-service validation.

Integration Testing guide
Why it appears in the guide: Coordinates distributed .NET Aspire applications in tests with resource discovery and health-aware orchestration. Trade-off: Adds value mostly when the application topology is already represented in Aspire resources.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

The published metadata declares 54 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.