Microsoft.AspNetCore.TestHost 9.0.2

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.2                
NuGet\Install-Package Microsoft.AspNetCore.TestHost -Version 9.0.2                
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.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.TestHost --version 9.0.2                
#r "nuget: Microsoft.AspNetCore.TestHost, 9.0.2"                
#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.
// Install Microsoft.AspNetCore.TestHost as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.TestHost&version=9.0.2

// Install Microsoft.AspNetCore.TestHost as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.TestHost&version=9.0.2                

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/704f7cb1d2cea33afb00c2097731216f121c2c73

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (180)

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/aspnetcore/tree/b225d30209cf027c80b741d04efe1c54f2431b3c

Rystem.Test.XUnit

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

NSwag.Commands

NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript

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

GitHub repositories (214)

Showing the top 5 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.
ThreeMammals/Ocelot
.NET API Gateway
Version Downloads Last updated
10.0.0-preview.1.25120.3 119 2/25/2025
9.0.2 235,545 2/11/2025
9.0.1 570,871 1/14/2025
9.0.0 1,762,463 11/12/2024
9.0.0-rc.2.24474.3 42,847 10/8/2024
9.0.0-rc.1.24452.1 33,392 9/10/2024
9.0.0-preview.7.24406.2 7,435 8/13/2024
9.0.0-preview.6.24328.4 11,498 7/9/2024
9.0.0-preview.5.24306.11 3,718 6/11/2024
9.0.0-preview.4.24267.6 2,190 5/21/2024
9.0.0-preview.3.24172.13 69,372 4/11/2024
9.0.0-preview.2.24128.4 2,828 3/12/2024
9.0.0-preview.1.24081.5 23,915 2/13/2024
8.0.13 177,075 2/11/2025
8.0.12 604,013 1/14/2025
8.0.11 2,637,295 11/12/2024
8.0.10 4,452,362 10/8/2024
8.0.8 5,669,951 8/13/2024
8.0.7 4,284,679 7/9/2024
8.0.6 4,602,460 5/28/2024
8.0.5 1,571,310 5/14/2024
8.0.4 4,053,352 4/9/2024
8.0.3 2,951,062 3/12/2024
8.0.2 3,101,197 2/13/2024
8.0.1 3,503,725 1/9/2024
8.0.0 4,979,936 11/14/2023
8.0.0-rc.2.23480.2 63,321 10/10/2023
8.0.0-rc.1.23421.29 56,588 9/12/2023
8.0.0-preview.7.23375.9 12,225 8/8/2023
8.0.0-preview.6.23329.11 42,554 7/11/2023
8.0.0-preview.5.23302.2 12,536 6/13/2023
8.0.0-preview.4.23260.4 196,162 5/16/2023
8.0.0-preview.3.23177.8 2,977 4/11/2023
8.0.0-preview.2.23153.2 1,766 3/14/2023
8.0.0-preview.1.23112.2 41,300 2/21/2023
7.0.20 354,948 5/28/2024
7.0.19 60,567 5/14/2024
7.0.18 171,292 4/9/2024
7.0.17 320,136 3/12/2024
7.0.16 363,164 2/13/2024
7.0.15 595,797 1/9/2024
7.0.14 1,005,074 11/14/2023
7.0.13 1,559,754 10/24/2023
7.0.12 1,042,155 10/10/2023
7.0.11 2,449,335 9/12/2023
7.0.10 1,720,797 8/8/2023
7.0.9 1,305,413 7/11/2023
7.0.8 1,067,161 6/22/2023
7.0.7 492,436 6/13/2023
7.0.5 3,558,247 4/11/2023
7.0.4 1,973,033 3/14/2023
7.0.3 1,695,035 2/14/2023
7.0.2 1,801,474 1/10/2023
7.0.1 1,040,212 12/13/2022
7.0.0 3,252,541 11/7/2022
7.0.0-rc.2.22476.2 67,101 10/11/2022
7.0.0-rc.1.22427.2 22,252 9/14/2022
7.0.0-preview.7.22376.6 10,583 8/9/2022
7.0.0-preview.6.22330.3 3,770 7/12/2022
7.0.0-preview.5.22303.8 9,441 6/14/2022
7.0.0-preview.4.22251.1 2,182 5/10/2022
7.0.0-preview.3.22178.4 1,193 4/13/2022
7.0.0-preview.2.22153.2 986 3/14/2022
7.0.0-preview.1.22109.13 4,928 2/17/2022
6.0.36 207,923 11/12/2024
6.0.35 175,478 10/8/2024
6.0.33 647,484 8/13/2024
6.0.32 280,979 7/9/2024
6.0.31 464,209 5/28/2024
6.0.30 159,310 5/14/2024
6.0.29 684,934 4/9/2024
6.0.28 428,272 3/12/2024
6.0.27 736,580 2/13/2024
6.0.26 1,002,720 1/9/2024
6.0.25 1,658,078 11/14/2023
6.0.24 901,510 10/24/2023
6.0.23 589,201 10/10/2023
6.0.22 1,012,063 9/12/2023
6.0.21 1,548,035 8/8/2023
6.0.20 1,378,172 7/11/2023
6.0.19 854,205 6/22/2023
6.0.18 570,272 6/13/2023
6.0.16 3,090,369 4/11/2023
6.0.15 1,852,079 3/14/2023
6.0.14 2,152,020 2/14/2023
6.0.13 2,757,857 1/10/2023
6.0.12 2,768,473 12/13/2022
6.0.11 3,466,394 11/7/2022
6.0.10 5,112,330 10/11/2022
6.0.9 3,892,601 9/13/2022
6.0.8 4,674,334 8/9/2022
6.0.7 4,160,863 7/12/2022
6.0.6 3,180,093 6/14/2022
6.0.5 4,070,526 5/10/2022
6.0.4 3,712,724 4/11/2022
6.0.3 4,369,458 3/8/2022
6.0.2 3,668,236 2/8/2022
6.0.1 5,503,922 12/14/2021
6.0.0 6,409,540 11/8/2021
6.0.0-rc.2.21480.10 204,902 10/12/2021
6.0.0-rc.1.21452.15 174,890 9/14/2021
6.0.0-preview.7.21378.6 9,071 8/10/2021
6.0.0-preview.6.21355.2 4,997 7/14/2021
6.0.0-preview.5.21301.17 3,470 6/15/2021
6.0.0-preview.4.21253.5 2,301 5/24/2021
6.0.0-preview.3.21201.13 2,183 4/8/2021
6.0.0-preview.2.21154.6 965 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,324 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 866,755 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 151,240 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 263,153 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 244,587 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 663,853 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 784,677 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 1,423,644 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,449,133 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,537,811 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 1,194,828 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,623,857 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,302,723 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 1,845,066 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,069,416 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,286,712 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,294,010 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 877,963 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 2,096,613 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 17,757 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 183,516 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,331 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,263 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,068 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 915 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,536 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 1,912 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 833 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,030 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 606,846 12/13/2022
3.1.31 138,075 11/8/2022
3.1.30 664,930 10/11/2022
3.1.29 97,096 9/13/2022
3.1.28 147,398 8/9/2022
3.1.27 163,756 7/12/2022
3.1.26 147,904 6/14/2022
3.1.25 216,395 5/10/2022
3.1.24 178,785 4/11/2022
3.1.23 341,194 3/8/2022
3.1.22 902,069 12/14/2021
3.1.21 731,103 11/7/2021
3.1.20 614,601 10/11/2021
3.1.19 439,558 9/14/2021
3.1.18 1,024,160 8/10/2021
3.1.17 834,999 7/13/2021
3.1.16 740,067 6/8/2021
3.1.15 732,819 5/11/2021
3.1.14 1,554,603 4/6/2021
3.1.13 1,204,895 3/9/2021
3.1.12 961,859 2/9/2021
3.1.11 1,134,038 1/12/2021
3.1.10 2,956,919 11/9/2020
3.1.9 3,153,804 10/13/2020
3.1.8 3,179,781 9/8/2020
3.1.7 2,428,228 8/11/2020
3.1.6 2,364,062 7/14/2020
3.1.5 3,627,358 6/9/2020
3.1.4 2,252,755 5/12/2020
3.1.3 3,775,965 3/24/2020
3.1.2 2,825,931 2/18/2020
3.1.1 3,148,704 1/14/2020
3.1.0 3,288,367 12/3/2019
3.1.0-preview3.19555.2 3,348 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,026 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,630 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 225,093 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 77,172 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 4,160,262 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 15,554 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 8,962 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 36,125 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 13,814 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 7,160 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 11,561 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 2,159 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,034 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 7,258 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 4,262 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 1,376 1/14/2025
2.2.0 12,484,285 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 23,430 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 12,900 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 13,700 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 7,100,077 6/18/2018
2.1.0 1,535,457 5/29/2018
2.1.0-rc1-final 36,573 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 13,066 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 28,189 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 265,398 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 719,167 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 1,291,606 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 987,878 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 10,050 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 20,756 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 135,014 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 559,202 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 276,627 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 363,115 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 5,565 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 23,411 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 4,422 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 57,091 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 164,750 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,377 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 290,381 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 15,702 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.