Microsoft.Extensions.Hosting.Abstractions 9.0.0
About
Contains abstractions to host user code in an application by encapsulating an application's resources and lifetime functionality including:
- Dependency injection (DI).
- Logging.
- Configuration.
- Starting, stopping and obtaining notifications.
This package is also used to wire up specific application models like ASP.NET Core that are built on top of hosting.
Key Features
- Provides the
BackgroundService
base class and theIHostedService
interface for implementing worker services. - Provides interfaces used to configure and start\stop a host.
- Provides types to obtain environment settings such as an application name and paths.
How to Use
See the Conceptual documentation below for using BackgroundService
and IHostedService
to host worker services.
Main Types
The main types provided by this library are:
Microsoft.Extensions.Hosting.BackgroundService
Microsoft.Extensions.Hosting.IHostBuilder
Microsoft.Extensions.Hosting.IHostedService
Additional Documentation
- Conceptual documentation
- API documentation
Related Packages
Microsoft.Extensions.Hosting
Microsoft.Extensions.Configuration.Abstractions
Microsoft.Extensions.DependencyInjection.Abstractions
Microsoft.Extensions.Diagnostics.Abstractions
Microsoft.Extensions.FileProviders.Abstractions
Microsoft.Extensions.Logging.Abstractions
Feedback & Contributing
Microsoft.Extensions.Hosting.Abstractions is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on Microsoft.Extensions.Hosting.Abstractions.
Packages | Downloads |
---|---|
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
|
4,187 |
SkyAPM.Agent.Hosting
SkyAPM ASP.NET Core Agent.
|
1,407 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
1,317 |
Hangfire.NetCore
.NET Core's Worker Service host support for Hangfire (background job system for ASP.NET applications).
|
919 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
817 |
SkyAPM.Agent.Hosting
SkyAPM ASP.NET Core Agent.
|
467 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
406 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/dc5e11abdb05b322f4b74b3afbcfb352fe984b2e
|
381 |
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
|
304 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/fc93e595ceffbb1e3e85532bf454e92a6a80dd6b
|
159 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
130 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/e882394a7bb38930da748291fe2c2ceaa6a80588
|
95 |
Hangfire.NetCore
.NET Core's Worker Service host support for Hangfire (background job system for ASP.NET applications).
|
81 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d827c653b787c07de908240b7746ce34d3e6271e
|
74 |
Volo.Abp.Autofac
Package Description
|
49 |
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications.
This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
|
44 |
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications.
This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/be0a4a7f4cf06cbd6ec714bd1d9afee6bdb040a8
|
34 |
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications.
This package was built from the source at:
https://github.com/aspnet/Hosting/tree/c3edce8e8a19a1e2e58fd21a986271b88071e6ba
|
34 |
Volo.Abp.Autofac
Package Description
|
33 |
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications.
|
33 |
https://go.microsoft.com/fwlink/?LinkID=799421
.NET Framework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
.NET Standard 2.1
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
.NET Standard 2.0
- System.Threading.Tasks.Extensions (>= 4.5.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0)
.NET 9.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
.NET 8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 7 | 11/13/2024 |
9.0.0-rc.2.24473.5 | 8 | 10/08/2024 |
9.0.0-rc.1.24431.7 | 7 | 09/11/2024 |
9.0.0-preview.7.24405.7 | 8 | 08/13/2024 |
9.0.0-preview.6.24327.7 | 9 | 07/11/2024 |
9.0.0-preview.5.24306.7 | 8 | 06/29/2024 |
9.0.0-preview.4.24266.19 | 10 | 06/07/2024 |
9.0.0-preview.3.24172.9 | 13 | 04/13/2024 |
9.0.0-preview.2.24128.5 | 15 | 03/14/2024 |
9.0.0-preview.1.24080.9 | 18 | 03/01/2024 |
8.0.1 | 6 | 10/12/2024 |
8.0.0 | 167 | 11/24/2023 |
8.0.0-rc.2.23479.6 | 18 | 10/11/2023 |
8.0.0-rc.1.23419.4 | 14 | 09/29/2023 |
8.0.0-preview.7.23375.6 | 19 | 08/14/2023 |
8.0.0-preview.6.23329.7 | 17 | 10/02/2023 |
8.0.0-preview.5.23280.8 | 16 | 08/22/2023 |
8.0.0-preview.4.23259.5 | 16 | 11/28/2023 |
8.0.0-preview.3.23174.8 | 17 | 07/26/2023 |
8.0.0-preview.2.23128.3 | 19 | 10/03/2023 |
8.0.0-preview.1.23110.8 | 16 | 11/28/2023 |
7.0.0 | 16 | 06/20/2023 |
7.0.0-rc.2.22472.3 | 14 | 11/29/2023 |
7.0.0-rc.1.22426.10 | 9 | 12/03/2023 |
7.0.0-preview.7.22375.6 | 18 | 11/29/2023 |
7.0.0-preview.6.22324.4 | 14 | 07/04/2023 |
7.0.0-preview.5.22301.12 | 17 | 11/07/2023 |
7.0.0-preview.4.22229.4 | 20 | 06/09/2023 |
7.0.0-preview.3.22175.4 | 15 | 10/09/2023 |
7.0.0-preview.2.22152.2 | 15 | 11/16/2023 |
7.0.0-preview.1.22076.8 | 16 | 08/19/2023 |
6.0.2-mauipre.1.22102.15 | 12 | 10/05/2023 |
6.0.2-mauipre.1.22054.8 | 17 | 11/28/2023 |
6.0.1 | 6 | 11/13/2024 |
6.0.0 | 1,940 | 11/12/2021 |
6.0.0-rc.2.21480.5 | 14 | 12/02/2023 |
6.0.0-rc.1.21451.13 | 17 | 10/14/2023 |
6.0.0-preview.7.21377.19 | 17 | 07/27/2023 |
6.0.0-preview.6.21352.12 | 15 | 12/03/2023 |
6.0.0-preview.5.21301.5 | 18 | 09/10/2023 |
6.0.0-preview.4.21253.7 | 17 | 10/29/2023 |
6.0.0-preview.3.21201.4 | 19 | 09/21/2023 |
6.0.0-preview.2.21154.6 | 12 | 07/05/2023 |
6.0.0-preview.1.21102.12 | 17 | 10/05/2023 |
5.0.0 | 671 | 12/16/2020 |
5.0.0-rc.2.20475.5 | 14 | 10/31/2023 |
5.0.0-rc.1.20451.14 | 14 | 07/06/2023 |
5.0.0-preview.8.20407.11 | 16 | 10/10/2023 |
5.0.0-preview.7.20364.11 | 17 | 06/20/2023 |
5.0.0-preview.6.20305.6 | 19 | 11/06/2023 |
5.0.0-preview.5.20278.1 | 14 | 08/20/2023 |
5.0.0-preview.4.20251.6 | 17 | 10/08/2023 |
5.0.0-preview.3.20215.2 | 17 | 07/06/2023 |
5.0.0-preview.2.20160.3 | 14 | 11/29/2023 |
5.0.0-preview.1.20120.4 | 16 | 09/20/2023 |
3.1.32 | 14 | 02/07/2024 |
3.1.31 | 15 | 10/23/2023 |
3.1.30 | 15 | 01/13/2024 |
3.1.29 | 18 | 06/08/2023 |
3.1.28 | 18 | 06/21/2023 |
3.1.27 | 18 | 09/18/2023 |
3.1.26 | 15 | 10/04/2023 |
3.1.25 | 13 | 10/26/2023 |
3.1.24 | 14 | 12/25/2023 |
3.1.23 | 14 | 07/26/2023 |
3.1.22 | 16 | 10/05/2023 |
3.1.21 | 20 | 10/10/2023 |
3.1.20 | 14 | 10/08/2023 |
3.1.19 | 16 | 09/23/2023 |
3.1.18 | 12 | 11/25/2023 |
3.1.17 | 16 | 09/28/2023 |
3.1.16 | 19 | 09/23/2023 |
3.1.15 | 16 | 11/21/2023 |
3.1.14 | 19 | 10/08/2023 |
3.1.13 | 16 | 11/22/2023 |
3.1.12 | 12 | 02/05/2024 |
3.1.11 | 20 | 10/29/2023 |
3.1.10 | 16 | 09/12/2023 |
3.1.9 | 16 | 10/07/2023 |
3.1.8 | 2,452 | 04/16/2021 |
3.1.7 | 15 | 12/29/2023 |
3.1.6 | 12 | 12/30/2023 |
3.1.5 | 14 | 11/12/2023 |
3.1.4 | 12 | 10/03/2023 |
3.1.3 | 13 | 10/03/2023 |
3.1.2 | 17 | 09/25/2023 |
3.1.1 | 16 | 09/15/2023 |
3.1.0 | 17 | 09/14/2023 |
3.1.0-preview3.19553.2 | 9 | 12/08/2023 |
3.1.0-preview2.19525.4 | 15 | 10/08/2023 |
3.1.0-preview1.19506.1 | 12 | 11/29/2023 |
3.0.3 | 17 | 10/04/2023 |
3.0.2 | 14 | 12/28/2023 |
3.0.1 | 15 | 10/11/2023 |
3.0.0 | 940 | 10/11/2023 |
3.0.0-rc1.19456.10 | 11 | 12/09/2023 |
3.0.0-preview9.19423.4 | 13 | 11/12/2023 |
3.0.0-preview8.19405.4 | 16 | 10/08/2023 |
3.0.0-preview7.19362.4 | 14 | 10/05/2023 |
3.0.0-preview6.19304.6 | 15 | 10/12/2023 |
3.0.0-preview5.19227.9 | 14 | 11/29/2023 |
3.0.0-preview4.19216.2 | 15 | 11/28/2023 |
3.0.0-preview3.19153.1 | 10 | 11/28/2023 |
3.0.0-preview.19074.2 | 13 | 10/17/2023 |
3.0.0-preview.18572.1 | 15 | 10/03/2023 |
2.2.0 | 2,697 | 12/16/2020 |
2.2.0-preview3-35497 | 13 | 09/04/2023 |
2.2.0-preview2-35157 | 14 | 10/12/2023 |
2.2.0-preview1-35029 | 10 | 10/12/2023 |
2.1.1 | 17 | 10/11/2023 |
2.1.0 | 30 | 01/18/2021 |
2.1.0-rc1-final | 18 | 10/17/2023 |
2.1.0-preview2-final | 15 | 10/16/2023 |
2.1.0-preview1-final | 11 | 10/14/2023 |
2.0.3 | 13 | 10/03/2023 |
2.0.2 | 15 | 11/06/2023 |
2.0.1 | 18 | 11/06/2023 |
2.0.0 | 294 | 01/22/2021 |
2.0.0-preview2-final | 14 | 09/10/2023 |
2.0.0-preview1-final | 12 | 10/17/2023 |