ScaleHub.DependecyInjection 0.1.4

dotnet add package ScaleHub.DependecyInjection --version 0.1.4
                    
NuGet\Install-Package ScaleHub.DependecyInjection -Version 0.1.4
                    
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="ScaleHub.DependecyInjection" Version="0.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScaleHub.DependecyInjection" Version="0.1.4" />
                    
Directory.Packages.props
<PackageReference Include="ScaleHub.DependecyInjection" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ScaleHub.DependecyInjection --version 0.1.4
                    
#r "nuget: ScaleHub.DependecyInjection, 0.1.4"
                    
#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.
#addin nuget:?package=ScaleHub.DependecyInjection&version=0.1.4
                    
Install ScaleHub.DependecyInjection as a Cake Addin
#tool nuget:?package=ScaleHub.DependecyInjection&version=0.1.4
                    
Install ScaleHub.DependecyInjection as a Cake Tool

ScaleHub extension for Microsoft.Extensions.DependencyInjection

Usage

To use, with an IServiceCollection instance:

builder.Services.AddScaleHub(opt =>
{
    //Configure here the scalehub.
});

This registers:

  • As a singleton for the IScaleHub
  • As a background service for the ScaleHubBackgroundService

To use at runtime, add a dependency on IScaleHub:

public class EmployeesController 
{
	private readonly IScaleHub hub;

	public EmployeesController(IScaleHub hub)
	{
		this.hub = hub;
	}

	// use the this.hub
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 ScaleHub.DependecyInjection:

Package Downloads
ScaleHub.SqlServer

ScaleHub.SqlServer SQL Server integration for ScaleHub.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.4 228 1/5/2024
0.1.3 228 11/7/2023
0.1.2 166 11/1/2023
0.1.0 188 10/29/2023