Microsoft.AspNetCore.TestHost 9.0.15

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

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/324a351f7f1ae6c17b6a8661903e2a7921a7d75c

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net9.0

    • No dependencies.

NuGet packages (195)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.TestHost:

Package Downloads
Microsoft.AspNetCore.Mvc.Testing

Support for writing functional tests for MVC applications. This package was built from the source code at https://github.com/dotnet/dotnet/tree/a8b33e7593686eaee701cd124daaabff2311634f

Rystem.Test.XUnit

Rystem is a open-source framework to improve the System namespace in .Net

MyTested.AspNetCore.Mvc.Abstractions

My Tested ASP.NET Core MVC common abstractions and interfaces.

Reo.Core.IntegrationTesting

Package Description

Acheve.TestHost

Achve.TestHost is a nuget package to improve TestServer experiences. For more information see http://github.com/Xabaril/Acheve.TestHost

GitHub repositories (234)

Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.TestHost:

Repository Stars
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/eShop
A reference .NET application implementing an eCommerce site
dotnet/yarp
A toolkit for developing high-performance HTTP reverse proxy applications.
ThreeMammals/Ocelot
.NET API Gateway
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
ldqk/Masuit.Tools
全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
opserver/Opserver
Stack Exchange's Monitoring System
grpc/grpc-dotnet
gRPC for .NET
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Ombi-app/Ombi
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
Version Downloads Last Updated
11.0.0-preview.3.26207.106 2,402 4/14/2026
11.0.0-preview.2.26159.112 4,507 3/10/2026
11.0.0-preview.1.26104.118 2,510 2/10/2026
10.0.7 1,058,270 4/21/2026
10.0.6 713,468 4/14/2026
10.0.5 3,245,826 3/12/2026
10.0.4 370,037 3/10/2026
10.0.3 3,997,056 2/10/2026
10.0.2 3,690,630 1/13/2026
10.0.1 2,991,168 12/9/2025
9.0.15 193,431 4/14/2026
9.0.14 439,277 3/10/2026
9.0.13 400,882 2/10/2026
9.0.12 571,711 1/13/2026
8.0.26 317,433 4/14/2026
8.0.25 756,284 3/10/2026
8.0.24 781,985 2/10/2026
8.0.23 885,795 1/13/2026
2.3.9 157,336 1/7/2026
2.3.8 158,418 1/7/2026
Loading failed