Escendit.Extensions.Hosting.Cassandra 0.1.0-rc.90

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

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

Escendit.Extensions.Hosting.Cassandra

Escendit.Extensions.Hosting.Cassandra is a NuGet package that provides the ability to register ICluster. This package is suitable for host builder type registrations. For .NET Workers & Orleans Silos.

Installation

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

Install-Package Escendit.Extensions.Hosting.Cassandra

Usage

Register Options

Default
Host
    .CreateDefaultBuilder()
    .AddCassandraClientOptionsAsDefault(...);
Named
Host
    .CreateDefaultBuilder()
    .AddCassandraClientOptions("name", ...);

Register Client

Default
Host
    .CreateDefaultBuilder()
    .AddCassandraClientAsDefault(...);
Default From Options
Host
    .CreateDefaultBuilder()
    .AddCassandraClientFromOptionsAsDefault("options name");
Named
Host
    .CreateDefaultBuilder()
    .AddCassandraClient("name", ...);
From Options
Host
    .CreateDefaultBuilder()
    .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 (3)

Showing the top 3 NuGet packages that depend on Escendit.Extensions.Hosting.Cassandra:

Package Downloads
Escendit.AspNetCore.Builder.Cassandra

Cassandra & ScyllaDB Client Web Application Extensions.

Escendit.Orleans.Persistence.Cassandra

Cassandra Grain Storage Provider for Orleans Persistence

Escendit.Orleans.Reminders.Cassandra

Cassandra Reminder Service Provider for Orleans Reminders

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0-rc.90 141 9/19/2023
0.1.0-rc.89 53 9/19/2023
0.1.0-rc.88 59 9/19/2023
0.1.0-rc.87 54 9/19/2023
0.1.0-rc.86 61 9/19/2023
0.1.0-rc.85 57 9/19/2023
0.1.0-rc.83 54 9/19/2023
0.1.0-rc.81 55 9/19/2023
0.1.0-rc.79 54 9/19/2023
0.1.0-rc.77 53 9/19/2023
0.1.0-rc.75 57 9/19/2023