Eliassen.Common.Hosting
0.1.85
dotnet add package Eliassen.Common.Hosting --version 0.1.85
NuGet\Install-Package Eliassen.Common.Hosting -Version 0.1.85
<PackageReference Include="Eliassen.Common.Hosting" Version="0.1.85" />
paket add Eliassen.Common.Hosting --version 0.1.85
#r "nuget: Eliassen.Common.Hosting, 0.1.85"
// Install Eliassen.Common.Hosting as a Cake Addin #addin nuget:?package=Eliassen.Common.Hosting&version=0.1.85 // Install Eliassen.Common.Hosting as a Cake Tool #tool nuget:?package=Eliassen.Common.Hosting&version=0.1.85
Eliassen.Common.Hosting
This library provides a set of classes and extension methods for configuring common hosting services in .NET applications.
Common.Hosting.HostingBuilder
Represents a builder for configuring hosting extensions.
Properties
DisableMailKit
Gets or sets a value indicating whether MailKit functionality should be disabled. Set to true
to
disable MailKit functionality; otherwise, set to false
. The default value is false
.
DisableMessageQueueing
Gets or sets a value indicating whether message queueing should be disabled. Set to true
to disable
message queueing; otherwise, set to false
. The default value is false
.
Common.Hosting.ServiceCollectionExtensions
Provides extension methods for configuring common hosting services in the IServiceCollection
.
Methods
TryCommonHosting
Tries to add common hosting services to the specified IServiceCollection
.
Parameters
services
: The instance.configuration
: The configuration containing settings for hosting services.builder
: Optional builder for configuring hosting. Default isnull
.
Return value
The updated instance.
This library is designed to make it easy to configure common hosting services in your .NET applications.
By using the HostingBuilder
and ServiceCollectionExtensions
classes, you can quickly and easily add
the hosting services your application needs.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Eliassen.MailKit.Hosting (>= 0.1.85)
- Eliassen.MessageQueueing.Hosting (>= 0.1.85)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Eliassen.Common.Hosting:
Package | Downloads |
---|---|
Eliassen.Common.Complete
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.