Microsoft.AspNetCore.TestHost 9.0.16

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.16
                    
NuGet\Install-Package Microsoft.AspNetCore.TestHost -Version 9.0.16
                    
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.16" />
                    
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.16" />
                    
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.16
                    
#r "nuget: Microsoft.AspNetCore.TestHost, 9.0.16"
                    
#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.16
                    
#: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.16
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.TestHost&version=9.0.16
                    
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/4d825aeb5e5023588c036709c7914008b625b0eb

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 (194)

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/4370ea16341331f045fa9b89cc46e03aed27195c

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 (207)

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!
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
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.4.26230.115 610 5/12/2026
11.0.0-preview.3.26207.106 3,136 4/14/2026
11.0.0-preview.2.26159.112 4,637 3/10/2026
11.0.0-preview.1.26104.118 2,520 2/10/2026
10.0.8 58,225 5/12/2026
10.0.7 1,953,663 4/21/2026
10.0.6 808,526 4/14/2026
10.0.5 3,563,952 3/12/2026
10.0.4 407,743 3/10/2026
10.0.3 4,213,120 2/10/2026
9.0.16 6,632 5/12/2026
9.0.15 305,409 4/14/2026
9.0.14 509,929 3/10/2026
9.0.13 427,250 2/10/2026
9.0.12 599,171 1/13/2026
8.0.27 15,538 5/12/2026
8.0.26 487,562 4/14/2026
8.0.25 846,174 3/10/2026
8.0.24 830,933 2/10/2026
2.3.10 162 5/12/2026
Loading failed