Eliassen.Common.Hosting 0.1.84

This package has a SemVer 2.0.0 package version: 0.1.84+9.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Eliassen.Common.Hosting --version 0.1.84                
NuGet\Install-Package Eliassen.Common.Hosting -Version 0.1.84                
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="Eliassen.Common.Hosting" Version="0.1.84" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.Common.Hosting --version 0.1.84                
#r "nuget: Eliassen.Common.Hosting, 0.1.84"                
#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.
// Install Eliassen.Common.Hosting as a Cake Addin
#addin nuget:?package=Eliassen.Common.Hosting&version=0.1.84

// Install Eliassen.Common.Hosting as a Cake Tool
#tool nuget:?package=Eliassen.Common.Hosting&version=0.1.84                

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 is null.
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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
0.1.85 52 10/10/2024
0.1.84 46 10/10/2024
0.1.83 49 9/27/2024
0.1.82 139 8/23/2024
0.1.81 111 8/1/2024
0.1.81-dev-gh-pipline.3 54 8/1/2024