Escendit.Extensions.DependencyInjection.Cassandra 0.1.0-rc.87

This is a prerelease version of Escendit.Extensions.DependencyInjection.Cassandra.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.87                
NuGet\Install-Package Escendit.Extensions.DependencyInjection.Cassandra -Version 0.1.0-rc.87                
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="Escendit.Extensions.DependencyInjection.Cassandra" Version="0.1.0-rc.87" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.87                
#r "nuget: Escendit.Extensions.DependencyInjection.Cassandra, 0.1.0-rc.87"                
#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 Escendit.Extensions.DependencyInjection.Cassandra as a Cake Addin
#addin nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.87&prerelease

// Install Escendit.Extensions.DependencyInjection.Cassandra as a Cake Tool
#tool nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.87&prerelease                

Escendit.Extensions.DependencyInjection.Cassandra

Escendit.Extensions.DependencyInjection.Cassandra is a NuGet package that provides the ability to register ICluster. This package is suitable for service collection type registrations.

Installation

To install Escendit.Extensions.DependencyInjection.Cassandra, run the following command in the Package Manager Console:

Install-Package Escendit.Extensions.DependencyInjection.Cassandra

Usage

Register Options

Default
new ServiceCollection()
    .AddCassandraClientOptionsAsDefault(...);
Named
new ServiceCollection()
    .AddCassandraClientOptions("name", ...);

Register Client

Default
new ServiceCollection()
    .AddCassandraClientAsDefault(...);
Default From Options
new ServiceCollection()
    .AddCassandraClientFromOptionsAsDefault("options name");
Named
new ServiceCollection()
    .AddCassandraClient("name", ...);
From Options
new ServiceCollection()
    .AddCassandraClientFromOptions("name", "options name");

Consume Client

You can consume service with IServiceProvider, required variant exists as-well.

Default
serviceProvider
    .GetCassandraClient();
Named
serviceProvider
    .GetCassandraClient("name");

Contributing

If you'd like to contribute to cassandra-dotnet-extensions, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Escendit.Extensions.DependencyInjection.Cassandra:

Package Downloads
Escendit.Extensions.Hosting.Cassandra

Cassandra & ScyllaDB Client Host Builder Extensions.

Escendit.Orleans.Clustering.Cassandra

Cassandra Clustering Provider for Orleans Clustering

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0-rc.90 161 9/19/2023
0.1.0-rc.89 68 9/19/2023
0.1.0-rc.88 71 9/19/2023
0.1.0-rc.87 69 9/19/2023
0.1.0-rc.86 72 9/19/2023
0.1.0-rc.85 67 9/19/2023
0.1.0-rc.83 67 9/19/2023
0.1.0-rc.81 65 9/19/2023
0.1.0-rc.79 64 9/19/2023
0.1.0-rc.77 62 9/19/2023
0.1.0-rc.75 68 9/19/2023