Escendit.Extensions.DependencyInjection.Cassandra
0.1.0-rc.90
dotnet add package Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.90
NuGet\Install-Package Escendit.Extensions.DependencyInjection.Cassandra -Version 0.1.0-rc.90
<PackageReference Include="Escendit.Extensions.DependencyInjection.Cassandra" Version="0.1.0-rc.90" />
<PackageVersion Include="Escendit.Extensions.DependencyInjection.Cassandra" Version="0.1.0-rc.90" />
<PackageReference Include="Escendit.Extensions.DependencyInjection.Cassandra" />
paket add Escendit.Extensions.DependencyInjection.Cassandra --version 0.1.0-rc.90
#r "nuget: Escendit.Extensions.DependencyInjection.Cassandra, 0.1.0-rc.90"
#:package Escendit.Extensions.DependencyInjection.Cassandra@0.1.0-rc.90
#addin nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.90&prerelease
#tool nuget:?package=Escendit.Extensions.DependencyInjection.Cassandra&version=0.1.0-rc.90&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. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | 281 | 9/19/2023 |
| 0.1.0-rc.89 | 158 | 9/19/2023 |
| 0.1.0-rc.88 | 160 | 9/19/2023 |
| 0.1.0-rc.87 | 144 | 9/19/2023 |
| 0.1.0-rc.86 | 152 | 9/19/2023 |
| 0.1.0-rc.85 | 140 | 9/19/2023 |
| 0.1.0-rc.83 | 136 | 9/19/2023 |
| 0.1.0-rc.81 | 151 | 9/19/2023 |
| 0.1.0-rc.79 | 132 | 9/19/2023 |
| 0.1.0-rc.77 | 146 | 9/19/2023 |
| 0.1.0-rc.75 | 144 | 9/19/2023 |