Microsoft.Extensions.Hosting.Abstractions 8.0.1

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 the IHostedService 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

  • 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
89
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
55
Microsoft.Azure.Functions.Worker.Grpc
This library provides gRPC support for Azure Functions .NET Worker communication with the Azure Functions Host.
49
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
49
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
46
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
45
Microsoft.Extensions.Hosting
.NET Core hosting and startup infrastructures for applications.
42
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
42
Microsoft.Extensions.Diagnostics.HealthChecks
Components for performing health checks in .NET applications Commonly Used Types: Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService Microsoft.Extensions.Diagnostics.HealthChecks.IHealthChecksBuilder
38
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
38
Marten
.NET Transactional Document DB and Event Store on PostgreSQL
36
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
35
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
34
Microsoft.Extensions.Hosting
.NET Core hosting and startup infrastructures for applications.
34
Microsoft.Extensions.Hosting
.NET Core hosting and startup infrastructures for applications.
33
App.Metrics.Extensions.Collectors
Metric/Event Collectors for App Metrics e.g. System Usage, GC Events
32
Microsoft.Extensions.Hosting
.NET Core hosting and startup infrastructures for applications.
32
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
32
Microsoft.Extensions.Diagnostics.HealthChecks
Components for performing health checks in .NET applications Commonly Used Types: Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService Microsoft.Extensions.Diagnostics.HealthChecks.IHealthChecksBuilder
32

https://go.microsoft.com/fwlink/?LinkID=799421

.NET Framework 4.6.2

.NET 8.0

.NET Standard 2.0

.NET Standard 2.1

.NET 7.0

.NET 6.0

Version Downloads Last updated
9.0.0 2 11/13/2024
9.0.0-rc.2.24473.5 2 10/24/2024
9.0.0-rc.1.24431.7 3 09/20/2024
9.0.0-preview.7.24405.7 4 08/15/2024
9.0.0-preview.6.24327.7 5 07/11/2024
9.0.0-preview.5.24306.7 3 06/13/2024
9.0.0-preview.4.24266.19 6 05/24/2024
9.0.0-preview.3.24172.9 5 04/18/2024
9.0.0-preview.2.24128.5 8 03/15/2024
9.0.0-preview.1.24080.9 5 05/31/2024
8.0.1 6 10/21/2024
8.0.0 10 12/10/2023
8.0.0-rc.2.23479.6 6 12/10/2023
8.0.0-rc.1.23419.4 4 12/10/2023
8.0.0-preview.7.23375.6 5 12/10/2023
8.0.0-preview.6.23329.7 5 12/10/2023
8.0.0-preview.5.23280.8 4 12/10/2023
8.0.0-preview.4.23259.5 2 08/24/2023
8.0.0-preview.3.23174.8 7 08/25/2023
8.0.0-preview.2.23128.3 5 08/23/2023
8.0.0-preview.1.23110.8 6 08/27/2023
7.0.0 8 06/11/2023
7.0.0-rc.2.22472.3 5 05/15/2023
7.0.0-rc.1.22426.10 3 08/24/2023
7.0.0-preview.7.22375.6 5 08/21/2023
7.0.0-preview.6.22324.4 7 08/21/2023
7.0.0-preview.5.22301.12 7 08/23/2023
7.0.0-preview.4.22229.4 4 05/16/2023
7.0.0-preview.3.22175.4 4 08/24/2023
7.0.0-preview.2.22152.2 3 08/22/2023
7.0.0-preview.1.22076.8 4 08/25/2023
6.0.2-mauipre.1.22102.15 5 08/24/2023
6.0.2-mauipre.1.22054.8 6 05/18/2023
6.0.1 0 11/12/2024
6.0.0 10 02/03/2022
6.0.0-rc.2.21480.5 3 08/21/2023
6.0.0-rc.1.21451.13 3 08/26/2023
6.0.0-preview.7.21377.19 4 08/24/2023
6.0.0-preview.6.21352.12 3 08/23/2023
6.0.0-preview.5.21301.5 6 08/21/2023
6.0.0-preview.4.21253.7 5 05/18/2023
6.0.0-preview.3.21201.4 5 05/19/2023
6.0.0-preview.2.21154.6 6 05/17/2023
6.0.0-preview.1.21102.12 3 08/26/2023
5.0.0 28 08/06/2021
5.0.0-rc.2.20475.5 5 08/22/2023
5.0.0-rc.1.20451.14 2 08/24/2023
5.0.0-preview.8.20407.11 4 08/24/2023
5.0.0-preview.7.20364.11 8 08/23/2023
5.0.0-preview.6.20305.6 6 08/23/2023
5.0.0-preview.5.20278.1 5 08/23/2023
5.0.0-preview.4.20251.6 3 05/19/2023
5.0.0-preview.3.20215.2 5 08/26/2023
5.0.0-preview.2.20160.3 5 08/24/2023
5.0.0-preview.1.20120.4 6 05/18/2023
3.1.32 4 06/12/2023
3.1.31 5 06/11/2023
3.1.30 5 06/11/2023
3.1.29 6 05/18/2023
3.1.28 4 05/13/2023
3.1.27 4 06/11/2023
3.1.26 3 05/19/2023
3.1.25 5 06/11/2023
3.1.24 5 06/11/2023
3.1.23 5 06/12/2023
3.1.22 4 06/11/2023
3.1.21 3 06/11/2023
3.1.20 3 06/12/2023
3.1.19 4 06/11/2023
3.1.18 4 06/11/2023
3.1.17 3 06/11/2023
3.1.16 4 06/10/2023
3.1.15 2 06/11/2023
3.1.14 6 06/11/2023
3.1.13 9 06/12/2023
3.1.12 5 06/11/2023
3.1.11 4 06/11/2023
3.1.10 2 05/18/2023
3.1.9 6 06/10/2023
3.1.8 24 08/02/2021
3.1.7 6 06/10/2023
3.1.6 7 05/18/2023
3.1.5 6 06/10/2023
3.1.4 4 06/10/2023
3.1.3 6 06/10/2023
3.1.2 6 04/04/2021
3.1.1 7 06/09/2023
3.1.0 28 05/09/2022
3.1.0-preview3.19553.2 5 08/22/2023
3.1.0-preview2.19525.4 4 08/23/2023
3.1.0-preview1.19506.1 6 05/16/2023
3.0.3 6 06/10/2023
3.0.2 4 06/09/2023
3.0.1 5 06/10/2023
3.0.0 24 02/03/2022
3.0.0-rc1.19456.10 6 08/22/2023
3.0.0-preview9.19423.4 7 05/18/2023
3.0.0-preview8.19405.4 4 08/22/2023
3.0.0-preview7.19362.4 4 08/22/2023
3.0.0-preview6.19304.6 6 08/24/2023
3.0.0-preview5.19227.9 3 07/22/2024
3.0.0-preview4.19216.2 5 08/23/2023
3.0.0-preview3.19153.1 7 08/21/2023
3.0.0-preview.19074.2 5 08/24/2023
3.0.0-preview.18572.1 5 08/24/2023
2.2.0 87 06/18/2020
2.2.0-preview3-35497 5 08/23/2023
2.2.0-preview2-35157 5 08/22/2023
2.2.0-preview1-35029 5 08/23/2023
2.1.1 35 12/30/2020
2.1.0 17 12/30/2020
2.1.0-rc1-final 8 06/10/2023
2.1.0-preview2-final 6 06/11/2023
2.1.0-preview1-final 5 07/22/2024
2.0.3 21 11/29/2019
2.0.2 8 06/10/2023
2.0.1 6 06/28/2022
2.0.0 6 11/29/2019
2.0.0-preview2-final 5 06/11/2023
2.0.0-preview1-final 7 06/10/2023