Escendit.Extensions.DependencyInjection.Cassandra
0.1.0-rc.83
See the version list below for details.
dotnet add package Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.83
NuGet\Install-Package Escendit.Extensions.DependencyInjection.Cassandra -Version 0.1.0-rc.83
<PackageReference Include="Escendit.Extensions.DependencyInjection.Cassandra" Version="0.1.0-rc.83" />
paket add Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.83
#r "nuget: Escendit.Extensions.DependencyInjection.Cassandra, 0.1.0-rc.83"
// Install Escendit.Extensions.DependencyInjection.Cassandra as a Cake Addin #addin nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.83&prerelease // Install Escendit.Extensions.DependencyInjection.Cassandra as a Cake Tool #tool nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.83&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 | 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
- CassandraCSharpDriver (>= 3.19.3)
- Microsoft.Extensions.Options (>= 7.0.1)
- Microsoft.Orleans.Core (>= 7.2.1)
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 | 163 | 9/19/2023 |
0.1.0-rc.89 | 69 | 9/19/2023 |
0.1.0-rc.88 | 72 | 9/19/2023 |
0.1.0-rc.87 | 70 | 9/19/2023 |
0.1.0-rc.86 | 73 | 9/19/2023 |
0.1.0-rc.85 | 68 | 9/19/2023 |
0.1.0-rc.83 | 68 | 9/19/2023 |
0.1.0-rc.81 | 66 | 9/19/2023 |
0.1.0-rc.79 | 65 | 9/19/2023 |
0.1.0-rc.77 | 63 | 9/19/2023 |
0.1.0-rc.75 | 69 | 9/19/2023 |