Skip to main content
Microsoft.AspNetCore.TestHost package icon

Microsoft.AspNetCore.TestHost

ASP.NET Core web server for writing and running tests. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/baa6b294e728e6171378b4e8c52e42e7c4d4ed63

Total Downloads
541.9M
541,887,015
Published
Mar 10, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.AspNetCore.TestHost --version 9.0.14
Package Manager Console
Install-Package Microsoft.AspNetCore.TestHost -Version 9.0.14
PackageReference
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.14" />

Frameworks

net9.0

Dependencies

No declared dependencies.

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

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.