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/cea5fa610dba4e0c024727f4c528a66018b820a3

Total Downloads
541.9M
541,887,015
Published
Jul 8, 2025
Latest stable version

Install

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

Frameworks

net8.0

Dependencies

[8.0.0, )

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.