Eliassen.Common.Hosting 0.1.85

This package has a SemVer 2.0.0 package version: 0.1.85+2.
dotnet add package Eliassen.Common.Hosting --version 0.1.85                
NuGet\Install-Package Eliassen.Common.Hosting -Version 0.1.85                
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.85" />                
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.85                
#r "nuget: Eliassen.Common.Hosting, 0.1.85"                
#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.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 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 46 10/10/2024
0.1.84 41 10/10/2024
0.1.83 44 9/27/2024
0.1.82 132 8/23/2024
0.1.81 104 8/1/2024
0.1.81-dev-gh-pipline.3 49 8/1/2024