Microsoft.Extensions.Hosting.Abstractions 9.0.3
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
BackgroundServicebase class and theIHostedServiceinterface 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.BackgroundServiceMicrosoft.Extensions.Hosting.IHostBuilderMicrosoft.Extensions.Hosting.IHostedService
Additional Documentation
- Conceptual documentation
- API documentation
Related Packages
Microsoft.Extensions.HostingMicrosoft.Extensions.Configuration.AbstractionsMicrosoft.Extensions.DependencyInjection.AbstractionsMicrosoft.Extensions.Diagnostics.AbstractionsMicrosoft.Extensions.FileProviders.AbstractionsMicrosoft.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
|
45 |
|
DotNetCore.CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern.
|
37 |
|
DotNetCore.CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern.
|
28 |
|
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
|
15 |
|
OpenTracing.Contrib.NetCore
Adds OpenTracing instrumentation for .NET Core apps that use the `Microsoft.Extensions.*` stack.
Instrumented components: HttpClient calls, ASP.NET Core, Entity Framework Core and any other library that uses DiagnosticSource events.
|
5 |
|
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
|
5 |
|
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications.
|
5 |
|
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/98a853b20131fd59b37076dd3699d8c7f62b24cb
|
5 |
|
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/57512b49997283599b00a6b67d0ccebaec171daf
|
5 |
|
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/5a129191c1a59ef35c9b4c5a04de71ab111c28d2
|
5 |
|
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/d4a83b27a44c35c521600e1f30ef688c874415d4
|
5 |
|
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/36f34b3a19eb7219142ab2035921d08e84c572c3
|
5 |
|
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/da6e34b3e17bac8fd1f78c7e76d7ed6192514651
|
5 |
|
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
|
5 |
|
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/aspnet/AspNetCore/tree/4a42afc5aea63750638e118560d43db04bd9ccc2
|
5 |
|
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/f6897a5bb7ca767df8eb465bf15b193c878fffbf
|
5 |
|
DotNetCore.CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern.
|
4 |
https://go.microsoft.com/fwlink/?LinkID=799421
.NET Framework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.3)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
.NET Standard 2.1
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.3)
.NET Standard 2.0
- System.Threading.Tasks.Extensions (>= 4.5.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.3)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.3)
.NET 9.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.3)
.NET 8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.3)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.3)