Microsoft.AspNetCore.TestHost 9.0.8

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.TestHost --version 9.0.8
                    
NuGet\Install-Package Microsoft.AspNetCore.TestHost -Version 9.0.8
                    
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.8" />
                    
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.8" />
                    
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.8
                    
#r "nuget: Microsoft.AspNetCore.TestHost, 9.0.8"
                    
#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.8
                    
#: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.8
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.TestHost&version=9.0.8
                    
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/215a587e52efa710de84138b0a3374b860b924d8

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

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/30000d883e06c122311a66894579bc12329a09d4

Rystem.Test.XUnit

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

Acheve.TestHost

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

Volo.Abp.AspNetCore.TestBase

Package Description

MyTested.AspNetCore.Mvc.Abstractions

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

GitHub repositories (219)

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/yarp
A toolkit for developing high-performance HTTP reverse proxy applications.
dotnet/eShop
A reference .NET application implementing an eCommerce site
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!
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.
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
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.
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
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
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
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
10.0.0-preview.7.25380.108 2,566 8/12/2025
10.0.0-preview.6.25358.103 2,781 7/15/2025
10.0.0-preview.5.25277.114 17,703 6/6/2025
10.0.0-preview.4.25258.110 4,955 5/12/2025
10.0.0-preview.3.25172.1 6,907 4/10/2025
10.0.0-preview.2.25164.1 2,432 3/18/2025
10.0.0-preview.1.25120.3 65,745 2/25/2025
9.0.8 381,373 8/5/2025
9.0.7 522,023 7/8/2025
9.0.6 907,560 6/10/2025
9.0.5 1,507,920 5/13/2025
9.0.4 1,927,093 4/8/2025
9.0.3 1,520,606 3/11/2025
9.0.2 1,644,568 2/11/2025
9.0.1 1,428,010 1/14/2025
9.0.0 3,212,734 11/12/2024
9.0.0-rc.2.24474.3 58,507 10/8/2024
9.0.0-rc.1.24452.1 40,700 9/10/2024
9.0.0-preview.7.24406.2 8,492 8/13/2024
9.0.0-preview.6.24328.4 12,170 7/9/2024
9.0.0-preview.5.24306.11 4,192 6/11/2024
9.0.0-preview.4.24267.6 2,744 5/21/2024
9.0.0-preview.3.24172.13 70,169 4/11/2024
9.0.0-preview.2.24128.4 3,917 3/12/2024
9.0.0-preview.1.24081.5 27,428 2/13/2024
8.0.19 270,047 8/4/2025
8.0.18 328,648 7/8/2025
8.0.17 822,392 6/10/2025
8.0.16 879,824 5/13/2025
8.0.15 1,529,203 4/8/2025
8.0.14 1,620,949 3/11/2025
8.0.13 1,948,833 2/11/2025
8.0.12 1,888,768 1/14/2025
8.0.11 5,580,211 11/12/2024
8.0.10 7,552,496 10/8/2024
8.0.8 8,626,522 8/13/2024
8.0.7 6,205,569 7/9/2024
8.0.6 6,030,123 5/28/2024
8.0.5 2,341,381 5/14/2024
8.0.4 5,782,734 4/9/2024
8.0.3 3,875,754 3/12/2024
8.0.2 3,822,052 2/13/2024
8.0.1 4,317,165 1/9/2024
8.0.0 6,884,436 11/14/2023
8.0.0-rc.2.23480.2 65,079 10/10/2023
8.0.0-rc.1.23421.29 65,458 9/12/2023
8.0.0-preview.7.23375.9 13,444 8/8/2023
8.0.0-preview.6.23329.11 44,032 7/11/2023
8.0.0-preview.5.23302.2 12,888 6/13/2023
8.0.0-preview.4.23260.4 261,150 5/16/2023
8.0.0-preview.3.23177.8 3,362 4/11/2023
8.0.0-preview.2.23153.2 1,888 3/14/2023
8.0.0-preview.1.23112.2 41,553 2/21/2023
7.0.20 573,605 5/28/2024
7.0.19 91,038 5/14/2024
7.0.18 219,889 4/9/2024
7.0.17 444,825 3/12/2024
7.0.16 449,198 2/13/2024
7.0.15 662,291 1/9/2024
7.0.14 1,092,899 11/14/2023
7.0.13 2,126,975 10/24/2023
7.0.12 1,102,243 10/10/2023
7.0.11 3,321,766 9/12/2023
7.0.10 1,821,527 8/8/2023
7.0.9 1,390,153 7/11/2023
7.0.8 1,135,024 6/22/2023
7.0.7 565,511 6/13/2023
7.0.5 3,893,936 4/11/2023
7.0.4 2,063,248 3/14/2023
7.0.3 1,812,379 2/14/2023
7.0.2 1,882,654 1/10/2023
7.0.1 1,100,346 12/13/2022
7.0.0 3,688,652 11/7/2022
7.0.0-rc.2.22476.2 69,032 10/11/2022
7.0.0-rc.1.22427.2 23,300 9/14/2022
7.0.0-preview.7.22376.6 10,901 8/9/2022
7.0.0-preview.6.22330.3 3,919 7/12/2022
7.0.0-preview.5.22303.8 9,661 6/14/2022
7.0.0-preview.4.22251.1 2,346 5/10/2022
7.0.0-preview.3.22178.4 1,349 4/13/2022
7.0.0-preview.2.22153.2 1,126 3/14/2022
7.0.0-preview.1.22109.13 5,161 2/17/2022
6.0.36 1,154,774 11/12/2024
6.0.35 272,157 10/8/2024
6.0.33 1,148,578 8/13/2024
6.0.32 375,299 7/9/2024
6.0.31 577,760 5/28/2024
6.0.30 195,452 5/14/2024
6.0.29 829,036 4/9/2024
6.0.28 504,093 3/12/2024
6.0.27 941,109 2/13/2024
6.0.26 1,151,848 1/9/2024
6.0.25 1,914,377 11/14/2023
6.0.24 970,573 10/24/2023
6.0.23 671,351 10/10/2023
6.0.22 1,128,694 9/12/2023
6.0.21 1,737,383 8/8/2023
6.0.20 1,538,917 7/11/2023
6.0.19 964,386 6/22/2023
6.0.18 638,089 6/13/2023
6.0.16 3,374,647 4/11/2023
6.0.15 2,042,187 3/14/2023
6.0.14 2,351,062 2/14/2023
6.0.13 3,126,427 1/10/2023
6.0.12 2,926,335 12/13/2022
6.0.11 3,848,642 11/7/2022
6.0.10 5,420,157 10/11/2022
6.0.9 4,180,017 9/13/2022
6.0.8 4,959,101 8/9/2022
6.0.7 4,397,140 7/12/2022
6.0.6 3,355,732 6/14/2022
6.0.5 4,253,271 5/10/2022
6.0.4 3,931,571 4/11/2022
6.0.3 4,629,574 3/8/2022
6.0.2 3,849,687 2/8/2022
6.0.1 5,785,477 12/14/2021
6.0.0 6,901,148 11/8/2021
6.0.0-rc.2.21480.10 209,654 10/12/2021
6.0.0-rc.1.21452.15 177,284 9/14/2021
6.0.0-preview.7.21378.6 9,213 8/10/2021
6.0.0-preview.6.21355.2 5,381 7/14/2021
6.0.0-preview.5.21301.17 3,707 6/15/2021
6.0.0-preview.4.21253.5 6,881 5/24/2021
6.0.0-preview.3.21201.13 5,132 4/8/2021
6.0.0-preview.2.21154.6 1,141 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,522 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 952,696 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 171,096 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 286,344 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 268,218 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 695,036 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 817,751 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 1,467,288 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,492,530 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,590,143 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 1,248,821 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,687,176 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,356,586 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 1,919,403 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,102,441 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,322,315 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,324,704 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 917,140 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 2,266,188 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 18,007 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 185,039 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 9,519 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 4,561 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 2,250 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 1,099 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 1,732 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 2,222 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 1,024 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 1,240 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 714,842 12/13/2022
3.1.31 165,402 11/8/2022
3.1.30 706,382 10/11/2022
3.1.29 117,711 9/13/2022
3.1.28 166,412 8/9/2022
3.1.27 181,742 7/12/2022
3.1.26 174,350 6/14/2022
3.1.25 237,512 5/10/2022
3.1.24 200,549 4/11/2022
3.1.23 366,150 3/8/2022
3.1.22 953,135 12/14/2021
3.1.21 761,470 11/7/2021
3.1.20 664,525 10/11/2021
3.1.19 466,343 9/14/2021
3.1.18 1,056,913 8/10/2021
3.1.17 859,123 7/13/2021
3.1.16 770,091 6/8/2021
3.1.15 768,028 5/11/2021
3.1.14 1,683,643 4/6/2021
3.1.13 1,248,923 3/9/2021
3.1.12 986,860 2/9/2021
3.1.11 1,183,384 1/12/2021
3.1.10 3,039,327 11/9/2020
3.1.9 3,221,106 10/13/2020
3.1.8 3,250,070 9/8/2020
3.1.7 2,482,036 8/11/2020
3.1.6 2,422,065 7/14/2020
3.1.5 3,719,507 6/9/2020
3.1.4 2,304,505 5/12/2020
3.1.3 3,864,316 3/24/2020
3.1.2 2,885,065 2/18/2020
3.1.1 3,239,688 1/14/2020
3.1.0 3,379,408 12/3/2019
3.1.0-preview3.19555.2 3,548 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,232 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,834 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 241,996 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 89,946 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 4,312,503 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 15,769 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 9,192 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 37,471 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 14,035 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 7,370 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 11,799 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 2,397 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,236 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 7,531 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 4,483 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 37,086 1/14/2025
2.2.0 12,868,934 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 23,764 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 13,355 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 13,992 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 7,321,614 6/18/2018
2.1.0 1,609,702 5/29/2018
2.1.0-rc1-final 37,586 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 13,512 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 28,913 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 280,569 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 737,952 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 1,315,943 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 1,014,036 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 10,381 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 21,104 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 148,278 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 581,912 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 291,186 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 379,982 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 5,954 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 36,291 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 16,830 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 69,519 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 178,971 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 26,799 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 311,996 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 16,104 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.