Microsoft.AspNetCore.Hosting.WindowsServices
                               
                            
                                9.0.10
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    
        
        
                                There is a newer prerelease version of this package available.
                                
See the version list below for details.
                    See the version list below for details.
dotnet add package Microsoft.AspNetCore.Hosting.WindowsServices --version 9.0.10
NuGet\Install-Package Microsoft.AspNetCore.Hosting.WindowsServices -Version 9.0.10
        
        
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.Hosting.WindowsServices" Version="9.0.10" />
        
        
For projects that support PackageReference, copy this XML node into the project file to reference the package.
                    
    
    <PackageVersion Include="Microsoft.AspNetCore.Hosting.WindowsServices" Version="9.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Hosting.WindowsServices" />
        
        
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.Hosting.WindowsServices --version 9.0.10
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    #r "nuget: Microsoft.AspNetCore.Hosting.WindowsServices, 9.0.10"
        
        
#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.Hosting.WindowsServices@9.0.10
        
        
#: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.Hosting.WindowsServices&version=9.0.10
#tool nuget:?package=Microsoft.AspNetCore.Hosting.WindowsServices&version=9.0.10
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    ASP.NET Core hosting infrastructure and startup logic for web applications running within a Windows service.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/5bae930797f60d2d04f3b1df6a33eaca85fc5f28
| Product | Versions 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
- System.ServiceProcess.ServiceController (>= 9.0.10)
 
 
NuGet packages (27)
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Hosting.WindowsServices:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            Base2art.WebApiRunner.Server.Runners.Common
                                                        
                                                         Package Description  | 
                                                    |
| 
                                                        
                                                            Analogy.LogViewer.gRPC
                                                        
                                                         gRPC Real Time Receiver for Analogy Log Viewer  | 
                                                    |
| 
                                                        
                                                            MepApps.Svr.Ctl
                                                        
                                                         Mep Apps Inc. Server Controls  | 
                                                    |
| 
                                                        
                                                            Analogy.LogServer
                                                        
                                                         Package Description  | 
                                                    |
| 
                                                        
                                                            Plinth.WindowsService
                                                        
                                                            
                                                         Plinth Windows Service Utilities  | 
                                                    
GitHub repositories (12)
Showing the top 12 popular GitHub repositories that depend on Microsoft.AspNetCore.Hosting.WindowsServices:
| Repository | Stars | 
|---|---|
| 
                                                        
                                                            dotnet/AspNetCore.Docs
                                                        
                                                         
                                                            Documentation for ASP.NET Core
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            immense/Remotely
                                                        
                                                         
                                                            A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            rnwood/smtp4dev
                                                        
                                                         
                                                            smtp4dev - the fake smtp email server for development and testing
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnet/crank
                                                        
                                                         
                                                            Benchmarking infrastructure for applications
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnetcore/aspnetcore-doc-cn
                                                        
                                                         
                                                            The Simplified Chinese edition of Microsoft ASP.NET Core documentation, translated by .NET Core Community and .NET China Community.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            microsoft/IIS.Administration
                                                        
                                                         
                                                            REST API for managing IIS
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            ProfessionalCSharp/MoreSamples
                                                        
                                                         
                                                            Additional code samples the book series Professional C#, Wrox Press
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            sthewissen/Mynt
                                                        
                                                         
                                                            An Azure Functions-based crypto currency trading bot; featuring 10 exchanges, 25 indicators, custom strategy support, backtester and more
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            gnsilence/HangfireHttpJob
                                                        
                                                         
                                                            hangfire的拓展程序,在原作者基础上增加了一些功能,调用api的方式来执行定时任务
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Myster-Tee/TinfoilWebServer
                                                        
                                                         
                                                            Install your packages from your own server
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            PowerShellOrg/tug
                                                        
                                                         
                                                            Open-source, cross-platform Pull/Reporting Server for DSC
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            jignesht24/Aspnetcore
                                                        
                                                         
                                                            Learn ASP.net core MVC
                                                         
                                                     | 
                                                    
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.0.0-rc.2.25502.107 | 694 | 10/14/2025 | |
| 10.0.0-rc.1.25451.107 | 421 | 9/9/2025 | |
| 10.0.0-preview.7.25380.108 | 194 | 8/12/2025 | |
| 10.0.0-preview.6.25358.103 | 207 | 7/15/2025 | |
| 10.0.0-preview.5.25277.114 | 204 | 6/6/2025 | |
| 10.0.0-preview.4.25258.110 | 293 | 5/12/2025 | |
| 10.0.0-preview.3.25172.1 | 282 | 4/10/2025 | |
| 10.0.0-preview.2.25164.1 | 239 | 3/18/2025 | |
| 10.0.0-preview.1.25120.3 | 267 | 2/25/2025 | |
| 9.0.10 | 6,192 | 10/14/2025 | |
| 9.0.9 | 10,230 | 9/9/2025 | |
| 9.0.8 | 16,017 | 8/5/2025 | |
| 9.0.7 | 28,848 | 7/8/2025 | |
| 9.0.6 | 9,198 | 6/10/2025 | |
| 9.0.5 | 39,934 | 5/13/2025 | |
| 9.0.4 | 12,746 | 4/8/2025 | |
| 9.0.3 | 9,822 | 3/11/2025 | |
| 9.0.2 | 51,370 | 2/11/2025 | |
| 9.0.1 | 11,276 | 1/14/2025 | |
| 9.0.0 | 53,275 | 11/12/2024 | |
| 9.0.0-rc.2.24474.3 | 338 | 10/8/2024 | |
| 9.0.0-rc.1.24452.1 | 293 | 9/10/2024 | |
| 9.0.0-preview.7.24406.2 | 286 | 8/13/2024 | |
| 9.0.0-preview.6.24328.4 | 300 | 7/9/2024 | |
| 9.0.0-preview.5.24306.11 | 312 | 6/11/2024 | |
| 9.0.0-preview.4.24267.6 | 284 | 5/21/2024 | |
| 9.0.0-preview.3.24172.13 | 351 | 4/11/2024 | |
| 9.0.0-preview.2.24128.4 | 300 | 3/12/2024 | |
| 9.0.0-preview.1.24081.5 | 333 | 2/13/2024 | |
| 8.0.21 | 11,883 | 10/14/2025 | |
| 8.0.20 | 14,003 | 9/9/2025 | |
| 8.0.19 | 27,972 | 8/4/2025 | |
| 8.0.18 | 26,795 | 7/8/2025 | |
| 8.0.17 | 15,448 | 6/10/2025 | |
| 8.0.16 | 16,862 | 5/13/2025 | |
| 8.0.15 | 21,347 | 4/8/2025 | |
| 8.0.14 | 13,588 | 3/11/2025 | |
| 8.0.13 | 16,952 | 2/11/2025 | |
| 8.0.12 | 167,636 | 1/14/2025 | |
| 8.0.11 | 169,162 | 11/12/2024 | |
| 8.0.10 | 132,494 | 10/8/2024 | |
| 8.0.8 | 237,470 | 8/13/2024 | |
| 8.0.7 | 97,698 | 7/9/2024 | |
| 8.0.6 | 186,751 | 5/28/2024 | |
| 8.0.5 | 38,310 | 5/14/2024 | |
| 8.0.4 | 250,820 | 4/9/2024 | |
| 8.0.3 | 60,256 | 3/12/2024 | |
| 8.0.2 | 82,596 | 2/13/2024 | |
| 8.0.1 | 218,504 | 1/9/2024 | |
| 8.0.0 | 187,567 | 11/14/2023 | |
| 8.0.0-rc.2.23480.2 | 654 | 10/10/2023 | |
| 8.0.0-rc.1.23421.29 | 453 | 9/12/2023 | |
| 8.0.0-preview.7.23375.9 | 428 | 8/8/2023 | |
| 8.0.0-preview.6.23329.11 | 400 | 7/11/2023 | |
| 8.0.0-preview.5.23302.2 | 357 | 6/13/2023 | |
| 8.0.0-preview.4.23260.4 | 328 | 5/16/2023 | |
| 8.0.0-preview.3.23177.8 | 443 | 4/11/2023 | |
| 8.0.0-preview.2.23153.2 | 375 | 3/14/2023 | |
| 8.0.0-preview.1.23112.2 | 469 | 2/21/2023 | |
| 7.0.20 | 36,899 | 5/28/2024 | |
| 7.0.19 | 4,011 | 5/14/2024 | |
| 7.0.18 | 3,136 | 4/9/2024 | |
| 7.0.17 | 4,764 | 3/12/2024 | |
| 7.0.16 | 8,590 | 2/13/2024 | |
| 7.0.15 | 13,722 | 1/9/2024 | |
| 7.0.14 | 37,096 | 11/14/2023 | |
| 7.0.13 | 29,503 | 10/24/2023 | |
| 7.0.12 | 18,912 | 10/10/2023 | |
| 7.0.11 | 21,464 | 9/12/2023 | |
| 7.0.10 | 60,406 | 8/8/2023 | |
| 7.0.9 | 30,841 | 7/11/2023 | |
| 7.0.8 | 13,586 | 6/22/2023 | |
| 7.0.7 | 18,954 | 6/13/2023 | |
| 7.0.5 | 115,376 | 4/11/2023 | |
| 7.0.4 | 13,917 | 3/14/2023 | |
| 7.0.3 | 44,784 | 2/14/2023 | |
| 7.0.2 | 23,224 | 1/10/2023 | |
| 7.0.1 | 17,645 | 12/13/2022 | |
| 7.0.0 | 92,048 | 11/7/2022 | |
| 7.0.0-rc.2.22476.2 | 609 | 10/11/2022 | |
| 7.0.0-rc.1.22427.2 | 494 | 9/14/2022 | |
| 7.0.0-preview.7.22376.6 | 471 | 8/9/2022 | |
| 7.0.0-preview.6.22330.3 | 415 | 7/12/2022 | |
| 7.0.0-preview.5.22303.8 | 434 | 6/14/2022 | |
| 7.0.0-preview.4.22251.1 | 485 | 5/10/2022 | |
| 7.0.0-preview.3.22178.4 | 456 | 4/13/2022 | |
| 7.0.0-preview.2.22153.2 | 425 | 3/14/2022 | |
| 7.0.0-preview.1.22109.13 | 409 | 2/17/2022 | |
| 6.0.36 | 68,109 | 11/12/2024 | |
| 6.0.35 | 3,885 | 10/8/2024 | |
| 6.0.33 | 16,194 | 8/13/2024 | |
| 6.0.32 | 14,204 | 7/9/2024 | |
| 6.0.31 | 9,512 | 5/28/2024 | |
| 6.0.30 | 2,471 | 5/14/2024 | |
| 6.0.29 | 28,648 | 4/9/2024 | |
| 6.0.28 | 18,770 | 3/12/2024 | |
| 6.0.27 | 20,532 | 2/13/2024 | |
| 6.0.26 | 33,478 | 1/9/2024 | |
| 6.0.25 | 56,984 | 11/14/2023 | |
| 6.0.24 | 34,351 | 10/24/2023 | |
| 6.0.23 | 12,529 | 10/10/2023 | |
| 6.0.22 | 86,736 | 9/12/2023 | |
| 6.0.21 | 17,476 | 8/8/2023 | |
| 6.0.20 | 33,192 | 7/11/2023 | |
| 6.0.19 | 8,810 | 6/22/2023 | |
| 6.0.18 | 18,475 | 6/13/2023 | |
| 6.0.16 | 54,233 | 4/11/2023 | |
| 6.0.15 | 45,348 | 3/14/2023 | |
| 6.0.14 | 93,994 | 2/14/2023 | |
| 6.0.13 | 40,617 | 1/10/2023 | |
| 6.0.12 | 64,664 | 12/13/2022 | |
| 6.0.11 | 133,288 | 11/7/2022 | |
| 6.0.10 | 586,745 | 10/11/2022 | |
| 6.0.9 | 86,272 | 9/13/2022 | |
| 6.0.8 | 160,270 | 8/9/2022 | |
| 6.0.7 | 249,891 | 7/12/2022 | |
| 6.0.6 | 46,655 | 6/14/2022 | |
| 6.0.5 | 124,693 | 5/10/2022 | |
| 6.0.4 | 159,521 | 4/11/2022 | |
| 6.0.3 | 78,378 | 3/8/2022 | |
| 6.0.2 | 155,484 | 2/8/2022 | |
| 6.0.1 | 442,151 | 12/14/2021 | |
| 6.0.0 | 375,743 | 11/8/2021 | |
| 6.0.0-rc.2.21480.10 | 1,003 | 10/12/2021 | |
| 6.0.0-rc.1.21452.15 | 768 | 9/14/2021 | |
| 6.0.0-preview.7.21378.6 | 668 | 8/10/2021 | |
| 6.0.0-preview.6.21355.2 | 587 | 7/14/2021 | |
| 6.0.0-preview.5.21301.17 | 479 | 6/15/2021 | |
| 6.0.0-preview.4.21253.5 | 416 | 5/24/2021 | |
| 6.0.0-preview.3.21201.13 | 643 | 4/8/2021 | |
| 6.0.0-preview.2.21154.6 | 588 | 3/11/2021 | |
| 6.0.0-preview.1.21103.6 | 628 | 2/12/2021 | |
| 5.0.17 | 28,483 | 5/10/2022 | |
| 5.0.16 | 13,391 | 4/11/2022 | |
| 5.0.15 | 10,945 | 3/8/2022 | |
| 5.0.14 | 7,260 | 2/8/2022 | |
| 5.0.13 | 38,068 | 12/14/2021 | |
| 5.0.12 | 50,437 | 11/7/2021 | |
| 5.0.11 | 100,258 | 10/12/2021 | |
| 5.0.10 | 46,965 | 9/14/2021 | |
| 5.0.9 | 223,123 | 8/10/2021 | |
| 5.0.8 | 98,824 | 7/13/2021 | |
| 5.0.7 | 77,430 | 6/8/2021 | |
| 5.0.6 | 54,229 | 5/11/2021 | |
| 5.0.5 | 95,881 | 4/6/2021 | |
| 5.0.4 | 50,925 | 3/9/2021 | |
| 5.0.3 | 53,391 | 2/9/2021 | |
| 5.0.2 | 109,617 | 1/12/2021 | |
| 5.0.1 | 103,080 | 12/8/2020 | |
| 5.0.0 | 95,534 | 11/9/2020 | |
| 5.0.0-rc.2.20475.17 | 778 | 10/13/2020 | |
| 5.0.0-rc.1.20451.17 | 804 | 9/14/2020 | |
| 5.0.0-preview.8.20414.8 | 652 | 8/25/2020 | |
| 5.0.0-preview.7.20365.19 | 679 | 7/21/2020 | |
| 5.0.0-preview.6.20312.15 | 682 | 6/25/2020 | |
| 5.0.0-preview.5.20279.2 | 640 | 6/10/2020 | |
| 5.0.0-preview.4.20257.10 | 684 | 5/18/2020 | |
| 5.0.0-preview.3.20215.14 | 673 | 4/23/2020 | |
| 5.0.0-preview.2.20167.3 | 678 | 4/2/2020 | |
| 5.0.0-preview.1.20124.5 | 739 | 3/16/2020 | |
| 3.1.32 | 25,048 | 12/13/2022 | |
| 3.1.31 | 5,874 | 11/8/2022 | |
| 3.1.30 | 33,386 | 10/11/2022 | |
| 3.1.29 | 5,943 | 9/13/2022 | |
| 3.1.28 | 6,733 | 8/9/2022 | |
| 3.1.27 | 12,876 | 7/12/2022 | |
| 3.1.26 | 9,923 | 6/14/2022 | |
| 3.1.25 | 14,531 | 5/10/2022 | |
| 3.1.24 | 10,474 | 4/11/2022 | |
| 3.1.23 | 14,104 | 3/8/2022 | |
| 3.1.22 | 125,676 | 12/14/2021 | |
| 3.1.21 | 135,872 | 11/7/2021 | |
| 3.1.20 | 26,345 | 10/11/2021 | |
| 3.1.19 | 16,148 | 9/14/2021 | |
| 3.1.18 | 25,890 | 8/10/2021 | |
| 3.1.17 | 56,656 | 7/13/2021 | |
| 3.1.16 | 30,513 | 6/8/2021 | |
| 3.1.15 | 49,061 | 5/11/2021 | |
| 3.1.14 | 199,490 | 4/6/2021 | |
| 3.1.13 | 42,296 | 3/9/2021 | |
| 3.1.12 | 176,589 | 2/9/2021 | |
| 3.1.11 | 36,896 | 1/12/2021 | |
| 3.1.10 | 359,163 | 11/9/2020 | |
| 3.1.9 | 183,219 | 10/13/2020 | |
| 3.1.8 | 211,171 | 9/8/2020 | |
| 3.1.7 | 62,057 | 8/11/2020 | |
| 3.1.6 | 146,752 | 7/14/2020 | |
| 3.1.5 | 146,657 | 6/9/2020 | |
| 3.1.4 | 285,592 | 5/12/2020 | |
| 3.1.3 | 225,645 | 3/24/2020 | |
| 3.1.2 | 180,243 | 2/18/2020 | |
| 3.1.1 | 232,281 | 1/14/2020 | |
| 3.1.0 | 190,615 | 12/3/2019 | |
| 3.1.0-preview3.19555.2 | 713 | 11/13/2019 | |
| 3.1.0-preview2.19528.8 | 686 | 11/1/2019 | |
| 3.1.0-preview1.19508.20 | 744 | 10/15/2019 | |
| 3.0.3 | 17,520 | 2/18/2020 | |
| 3.0.2 | 2,780 | 1/14/2020 | |
| 3.0.0 | 419,914 | 9/23/2019 | |
| 3.0.0-rc1.19457.4 | 916 | 9/16/2019 | |
| 3.0.0-preview9.19424.4 | 1,081 | 9/4/2019 | |
| 3.0.0-preview8.19405.7 | 1,532 | 8/13/2019 | |
| 3.0.0-preview7.19365.7 | 1,323 | 7/23/2019 | |
| 3.0.0-preview6.19307.2 | 1,944 | 6/12/2019 | |
| 3.0.0-preview5-19227-01 | 1,013 | 5/6/2019 | |
| 3.0.0-preview4-19216-03 | 805 | 4/18/2019 | |
| 3.0.0-preview3-19153-02 | 920 | 3/6/2019 | |
| 3.0.0-preview-19075-0444 | 899 | 1/29/2019 | |
| 3.0.0-preview-18579-0056 | 1,087 | 12/3/2018 | |
| 2.3.0 | 16,538 | 1/14/2025 | |
| 2.2.0 | 2,736,881 | 12/3/2018 | |
| 2.2.0-preview3-35497 | 3,285 | 10/17/2018 | |
| 2.2.0-preview2-35157 | 3,279 | 9/12/2018 | |
| 2.2.0-preview1-35029 | 2,501 | 8/22/2018 | |
| 2.1.1 | 1,203,225 | 6/18/2018 | |
| 2.1.0 | 220,063 | 5/29/2018 | |
| 2.1.0-rc1-final | 10,083 | 5/6/2018 | |
| 2.1.0-preview2-final | 3,997 | 4/10/2018 | |
| 2.1.0-preview1-final | 5,928 | 2/26/2018 | |
| 2.0.3 | 38,268 | 5/7/2018 | |
| 2.0.2 | 46,937 | 3/13/2018 | |
| 2.0.1 | 61,343 | 11/14/2017 | |
| 2.0.0 | 55,019 | 8/11/2017 | |
| 2.0.0-preview2-final | 2,243 | 6/27/2017 | |
| 1.1.3 | 14,540 | 9/20/2017 | |
| 1.1.2 | 51,760 | 5/9/2017 | |
| 1.1.1 | 16,304 | 3/6/2017 | |
| 1.1.0 | 97,930 | 11/16/2016 | |
| 1.1.0-preview1-final | 2,298 | 10/24/2016 | |
| 1.0.5 | 3,117 | 11/14/2017 | |
| 1.0.4 | 2,788 | 9/20/2017 | |
| 1.0.3 | 3,120 | 5/9/2017 | |
| 1.0.2 | 17,479 | 3/6/2017 | |
| 1.0.1 | 5,164 | 12/12/2016 | |
| 1.0.0 | 16,943 | 6/27/2016 | |
| 1.0.0-rc2-final | 2,518 | 5/16/2016 |