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 (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/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 (211)

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 952 3/18/2025
10.0.0-preview.1.25120.3 1,811 2/25/2025
9.0.3 500,431 3/11/2025
9.0.2 1,012,558 2/11/2025
9.0.1 953,882 1/14/2025
9.0.0 2,291,113 11/12/2024
9.0.0-rc.2.24474.3 48,368 10/8/2024
9.0.0-rc.1.24452.1 34,762 9/10/2024
9.0.0-preview.7.24406.2 7,492 8/13/2024
9.0.0-preview.6.24328.4 11,706 7/9/2024
9.0.0-preview.5.24306.11 3,761 6/11/2024
9.0.0-preview.4.24267.6 2,236 5/21/2024
9.0.0-preview.3.24172.13 69,407 4/11/2024
9.0.0-preview.2.24128.4 2,914 3/12/2024
9.0.0-preview.1.24081.5 24,645 2/13/2024
8.0.14 378,652 3/11/2025
8.0.13 869,580 2/11/2025
8.0.12 1,105,224 1/14/2025
8.0.11 3,659,794 11/12/2024
8.0.10 5,471,655 10/8/2024
8.0.8 6,565,344 8/13/2024
8.0.7 4,807,425 7/9/2024
8.0.6 5,022,269 5/28/2024
8.0.5 1,799,142 5/14/2024
8.0.4 4,509,753 4/9/2024
8.0.3 3,229,118 3/12/2024
8.0.2 3,301,340 2/13/2024
8.0.1 3,739,762 1/9/2024
8.0.0 5,479,059 11/14/2023
8.0.0-rc.2.23480.2 63,850 10/10/2023
8.0.0-rc.1.23421.29 59,558 9/12/2023
8.0.0-preview.7.23375.9 12,512 8/8/2023
8.0.0-preview.6.23329.11 43,002 7/11/2023
8.0.0-preview.5.23302.2 12,621 6/13/2023
8.0.0-preview.4.23260.4 229,058 5/16/2023
8.0.0-preview.3.23177.8 3,048 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 418,769 5/28/2024
7.0.19 65,976 5/14/2024
7.0.18 184,305 4/9/2024
7.0.17 378,645 3/12/2024
7.0.16 386,702 2/13/2024
7.0.15 611,085 1/9/2024
7.0.14 1,026,187 11/14/2023
7.0.13 1,717,495 10/24/2023
7.0.12 1,058,031 10/10/2023
7.0.11 2,695,204 9/12/2023
7.0.10 1,745,203 8/8/2023
7.0.9 1,334,496 7/11/2023
7.0.8 1,083,995 6/22/2023
7.0.7 510,922 6/13/2023
7.0.5 3,678,045 4/11/2023
7.0.4 2,006,093 3/14/2023
7.0.3 1,724,084 2/14/2023
7.0.2 1,825,069 1/10/2023
7.0.1 1,055,965 12/13/2022
7.0.0 3,374,706 11/7/2022
7.0.0-rc.2.22476.2 67,794 10/11/2022
7.0.0-rc.1.22427.2 22,556 9/14/2022
7.0.0-preview.7.22376.6 10,689 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,038 3/14/2022
7.0.0-preview.1.22109.13 5,013 2/17/2022
6.0.36 525,984 11/12/2024
6.0.35 205,406 10/8/2024
6.0.33 785,442 8/13/2024
6.0.32 307,102 7/9/2024
6.0.31 495,188 5/28/2024
6.0.30 166,148 5/14/2024
6.0.29 739,814 4/9/2024
6.0.28 447,416 3/12/2024
6.0.27 810,709 2/13/2024
6.0.26 1,054,036 1/9/2024
6.0.25 1,730,617 11/14/2023
6.0.24 921,587 10/24/2023
6.0.23 609,891 10/10/2023
6.0.22 1,043,264 9/12/2023
6.0.21 1,597,499 8/8/2023
6.0.20 1,422,233 7/11/2023
6.0.19 882,304 6/22/2023
6.0.18 587,763 6/13/2023
6.0.16 3,168,153 4/11/2023
6.0.15 1,908,304 3/14/2023
6.0.14 2,213,304 2/14/2023
6.0.13 2,860,740 1/10/2023
6.0.12 2,820,137 12/13/2022
6.0.11 3,596,967 11/7/2022
6.0.10 5,196,117 10/11/2022
6.0.9 3,969,822 9/13/2022
6.0.8 4,759,706 8/9/2022
6.0.7 4,230,147 7/12/2022
6.0.6 3,228,057 6/14/2022
6.0.5 4,122,926 5/10/2022
6.0.4 3,775,510 4/11/2022
6.0.3 4,435,811 3/8/2022
6.0.2 3,719,548 2/8/2022
6.0.1 5,593,721 12/14/2021
6.0.0 6,548,927 11/8/2021
6.0.0-rc.2.21480.10 205,299 10/12/2021
6.0.0-rc.1.21452.15 175,157 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 886,738 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 152,650 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 265,335 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 246,855 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 668,642 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 789,947 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 1,432,424 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,457,366 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,546,086 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 1,202,476 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,636,554 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,308,109 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 1,857,621 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,073,794 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,289,701 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,296,805 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 880,295 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 2,133,166 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,973 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 634,838 12/13/2022
3.1.31 142,016 11/8/2022
3.1.30 682,591 10/11/2022
3.1.29 98,985 9/13/2022
3.1.28 148,762 8/9/2022
3.1.27 164,990 7/12/2022
3.1.26 151,179 6/14/2022
3.1.25 218,538 5/10/2022
3.1.24 181,812 4/11/2022
3.1.23 345,029 3/8/2022
3.1.22 914,202 12/14/2021
3.1.21 735,850 11/7/2021
3.1.20 626,724 10/11/2021
3.1.19 443,004 9/14/2021
3.1.18 1,029,213 8/10/2021
3.1.17 837,973 7/13/2021
3.1.16 745,706 6/8/2021
3.1.15 739,568 5/11/2021
3.1.14 1,584,372 4/6/2021
3.1.13 1,214,519 3/9/2021
3.1.12 965,869 2/9/2021
3.1.11 1,145,175 1/12/2021
3.1.10 2,980,146 11/9/2020
3.1.9 3,171,568 10/13/2020
3.1.8 3,197,956 9/8/2020
3.1.7 2,439,701 8/11/2020
3.1.6 2,377,488 7/14/2020
3.1.5 3,648,978 6/9/2020
3.1.4 2,264,104 5/12/2020
3.1.3 3,800,169 3/24/2020
3.1.2 2,839,611 2/18/2020
3.1.1 3,174,439 1/14/2020
3.1.0 3,315,169 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,539 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 77,311 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 4,197,920 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,017 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 36,256 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,621 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 5,181 1/14/2025
2.2.0 12,606,061 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,158,522 6/18/2018
2.1.0 1,555,443 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,412 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 266,380 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 720,831 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 1,295,861 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 991,846 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,858 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 135,550 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 562,200 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 277,285 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 364,844 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,524 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 57,197 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 165,353 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,428 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.