Escendit.Extensions.Hosting.Cassandra
0.1.0-rc.90
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
<PackageReference Include="Escendit.Extensions.Hosting.Cassandra" Version="0.1.0-rc.90" />
paket add Escendit.Extensions.Hosting.Cassandra --version 0.1.0-rc.90
#r "nuget: Escendit.Extensions.Hosting.Cassandra, 0.1.0-rc.90"
// 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 | Versions 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. |
-
net7.0
- Escendit.Extensions.DependencyInjection.Cassandra (>= 0.1.0-rc.90)
- Microsoft.Extensions.Hosting.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Options (>= 7.0.1)
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 | 168 | 9/19/2023 |
0.1.0-rc.89 | 71 | 9/19/2023 |
0.1.0-rc.88 | 76 | 9/19/2023 |
0.1.0-rc.87 | 72 | 9/19/2023 |
0.1.0-rc.86 | 79 | 9/19/2023 |
0.1.0-rc.85 | 74 | 9/19/2023 |
0.1.0-rc.83 | 71 | 9/19/2023 |
0.1.0-rc.81 | 73 | 9/19/2023 |
0.1.0-rc.79 | 73 | 9/19/2023 |
0.1.0-rc.77 | 70 | 9/19/2023 |
0.1.0-rc.75 | 76 | 9/19/2023 |