Microsoft.AspNetCore.TestHost 9.0.3

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

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

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/763b4ef31ca4df6dae07c7ee8f39ea259b6980fa

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

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.2.25164.1 854 3/18/2025
10.0.0-preview.1.25120.3 1,789 2/25/2025
9.0.3 446,272 3/11/2025
9.0.2 997,900 2/11/2025
9.0.1 943,936 1/14/2025
9.0.0 2,275,010 11/12/2024
9.0.0-rc.2.24474.3 48,229 10/8/2024
9.0.0-rc.1.24452.1 34,696 9/10/2024
9.0.0-preview.7.24406.2 7,490 8/13/2024
9.0.0-preview.6.24328.4 11,701 7/9/2024
9.0.0-preview.5.24306.11 3,759 6/11/2024
9.0.0-preview.4.24267.6 2,232 5/21/2024
9.0.0-preview.3.24172.13 69,405 4/11/2024
9.0.0-preview.2.24128.4 2,901 3/12/2024
9.0.0-preview.1.24081.5 24,616 2/13/2024
8.0.14 342,207 3/11/2025
8.0.13 845,368 2/11/2025
8.0.12 1,090,412 1/14/2025
8.0.11 3,626,273 11/12/2024
8.0.10 5,435,880 10/8/2024
8.0.8 6,534,754 8/13/2024
8.0.7 4,787,903 7/9/2024
8.0.6 5,006,602 5/28/2024
8.0.5 1,793,028 5/14/2024
8.0.4 4,493,492 4/9/2024
8.0.3 3,220,039 3/12/2024
8.0.2 3,294,778 2/13/2024
8.0.1 3,730,564 1/9/2024
8.0.0 5,460,451 11/14/2023
8.0.0-rc.2.23480.2 63,831 10/10/2023
8.0.0-rc.1.23421.29 59,387 9/12/2023
8.0.0-preview.7.23375.9 12,497 8/8/2023
8.0.0-preview.6.23329.11 42,987 7/11/2023
8.0.0-preview.5.23302.2 12,621 6/13/2023
8.0.0-preview.4.23260.4 227,985 5/16/2023
8.0.0-preview.3.23177.8 3,046 4/11/2023
8.0.0-preview.2.23153.2 1,807 3/14/2023
8.0.0-preview.1.23112.2 41,446 2/21/2023
7.0.20 416,326 5/28/2024
7.0.19 65,524 5/14/2024
7.0.18 183,936 4/9/2024
7.0.17 377,306 3/12/2024
7.0.16 385,867 2/13/2024
7.0.15 610,529 1/9/2024
7.0.14 1,025,398 11/14/2023
7.0.13 1,713,043 10/24/2023
7.0.12 1,057,394 10/10/2023
7.0.11 2,683,700 9/12/2023
7.0.10 1,744,124 8/8/2023
7.0.9 1,333,270 7/11/2023
7.0.8 1,083,326 6/22/2023
7.0.7 510,140 6/13/2023
7.0.5 3,674,720 4/11/2023
7.0.4 2,004,539 3/14/2023
7.0.3 1,722,971 2/14/2023
7.0.2 1,824,004 1/10/2023
7.0.1 1,055,474 12/13/2022
7.0.0 3,369,608 11/7/2022
7.0.0-rc.2.22476.2 67,776 10/11/2022
7.0.0-rc.1.22427.2 22,549 9/14/2022
7.0.0-preview.7.22376.6 10,680 8/9/2022
7.0.0-preview.6.22330.3 3,820 7/12/2022
7.0.0-preview.5.22303.8 9,522 6/14/2022
7.0.0-preview.4.22251.1 2,230 5/10/2022
7.0.0-preview.3.22178.4 1,255 4/13/2022
7.0.0-preview.2.22153.2 1,037 3/14/2022
7.0.0-preview.1.22109.13 5,013 2/17/2022
6.0.36 512,745 11/12/2024
6.0.35 204,187 10/8/2024
6.0.33 781,127 8/13/2024
6.0.32 306,178 7/9/2024
6.0.31 493,891 5/28/2024
6.0.30 165,780 5/14/2024
6.0.29 737,353 4/9/2024
6.0.28 446,505 3/12/2024
6.0.27 809,030 2/13/2024
6.0.26 1,052,772 1/9/2024
6.0.25 1,727,618 11/14/2023
6.0.24 920,841 10/24/2023
6.0.23 609,189 10/10/2023
6.0.22 1,042,121 9/12/2023
6.0.21 1,595,994 8/8/2023
6.0.20 1,420,572 7/11/2023
6.0.19 881,267 6/22/2023
6.0.18 586,961 6/13/2023
6.0.16 3,165,626 4/11/2023
6.0.15 1,905,893 3/14/2023
6.0.14 2,210,839 2/14/2023
6.0.13 2,857,407 1/10/2023
6.0.12 2,818,427 12/13/2022
6.0.11 3,593,414 11/7/2022
6.0.10 5,193,307 10/11/2022
6.0.9 3,966,918 9/13/2022
6.0.8 4,756,743 8/9/2022
6.0.7 4,227,476 7/12/2022
6.0.6 3,226,330 6/14/2022
6.0.5 4,120,967 5/10/2022
6.0.4 3,772,997 4/11/2022
6.0.3 4,433,185 3/8/2022
6.0.2 3,717,744 2/8/2022
6.0.1 5,590,874 12/14/2021
6.0.0 6,543,939 11/8/2021
6.0.0-rc.2.21480.10 205,297 10/12/2021
6.0.0-rc.1.21452.15 175,140 9/14/2021
6.0.0-preview.7.21378.6 9,111 8/10/2021
6.0.0-preview.6.21355.2 5,046 7/14/2021
6.0.0-preview.5.21301.17 3,519 6/15/2021
6.0.0-preview.4.21253.5 2,766 5/24/2021
6.0.0-preview.3.21201.13 2,982 4/8/2021
6.0.0-preview.2.21154.6 1,007 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,370 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 885,931 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 152,609 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 265,257 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 246,701 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 668,455 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 789,699 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 1,432,162 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,457,080 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,545,816 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 1,202,213 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,636,084 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,307,897 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 1,857,102 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,073,573 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,289,568 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,296,697 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 880,243 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 2,131,666 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 17,819 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,571 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,381 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,314 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,113 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 959 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,588 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,971 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 878 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,076 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 633,672 12/13/2022
3.1.31 141,893 11/8/2022
3.1.30 682,478 10/11/2022
3.1.29 98,903 9/13/2022
3.1.28 148,717 8/9/2022
3.1.27 164,948 7/12/2022
3.1.26 151,016 6/14/2022
3.1.25 218,455 5/10/2022
3.1.24 181,639 4/11/2022
3.1.23 344,922 3/8/2022
3.1.22 913,787 12/14/2021
3.1.21 735,633 11/7/2021
3.1.20 626,369 10/11/2021
3.1.19 442,771 9/14/2021
3.1.18 1,028,843 8/10/2021
3.1.17 837,834 7/13/2021
3.1.16 745,517 6/8/2021
3.1.15 739,267 5/11/2021
3.1.14 1,582,794 4/6/2021
3.1.13 1,214,239 3/9/2021
3.1.12 965,732 2/9/2021
3.1.11 1,144,641 1/12/2021
3.1.10 2,979,546 11/9/2020
3.1.9 3,171,022 10/13/2020
3.1.8 3,197,171 9/8/2020
3.1.7 2,439,189 8/11/2020
3.1.6 2,377,050 7/14/2020
3.1.5 3,648,393 6/9/2020
3.1.4 2,263,751 5/12/2020
3.1.3 3,799,456 3/24/2020
3.1.2 2,839,108 2/18/2020
3.1.1 3,173,558 1/14/2020
3.1.0 3,314,264 12/3/2019
3.1.0-preview3.19555.2 3,397 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,076 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,681 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 226,499 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 77,306 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 4,196,168 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 15,604 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 9,015 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 36,239 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 13,862 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 7,209 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 11,620 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 2,234 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,084 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 7,334 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 4,320 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 4,957 1/14/2025
2.2.0 12,601,756 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 23,539 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 13,080 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 13,778 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 7,156,400 6/18/2018
2.1.0 1,554,793 5/29/2018
2.1.0-rc1-final 36,711 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 13,202 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 28,410 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 266,345 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 720,784 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 1,295,702 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 991,642 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 10,147 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 20,856 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 135,532 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 562,083 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 277,268 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 364,789 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 5,683 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 23,548 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 4,522 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 57,192 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 165,329 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,478 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 293,289 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 15,819 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.