A modern, feature-rich C# client library for Apache Cassandra and DataStax Enterprise using Cassandra's binary protocol.
DataStax C# Driver is a client library that enables C# applications to interact with Apache Cassandra and DataStax Enterprise databases using Cassandra's native binary protocol and CQL. It provides a comprehensive set of features for executing queries, managing connections, and leveraging advanced database capabilities like graph traversal and geospatial data handling. The library solves the problem of building reliable, high-performance .NET applications on top of Cassandra clusters.
C# and .NET developers building applications that require scalable, distributed data storage with Apache Cassandra or DataStax Enterprise. It is particularly useful for teams needing production-grade database connectivity with support for advanced features like graph queries and geospatial types.
Developers choose this driver for its official support, extensive feature set matching Cassandra's capabilities, and deep integration with DataStax Enterprise. Its tunable architecture, async-first design, and built-in object mapping reduce development time while ensuring optimal performance and reliability in distributed environments.
DataStax C# Driver for Apache Cassandra
Provides both synchronous and asynchronous APIs, enabling non-blocking database operations for scalable applications, as demonstrated in the ExecuteAsync method examples for flexible application design.
Includes built-in support for DSE Graph, geospatial types, and specific authentication methods like DseGssapiAuthProvider, making it ideal for leveraging enterprise features beyond standard Cassandra.
Features a Mapper component and Linq2Cql to reduce boilerplate code when mapping query results to C# objects, simplifying data access layers with examples like mapper.Single<User>().
Offers configurable load balancing, retry policies, and connection pooling, allowing fine-grained control over database interactions for optimized performance, as shown in the SetPageSize and WithLoadBalancingPolicy examples.
DSE Graph does not support prepared statements, which can impact performance for repetitive graph queries, as explicitly admitted in the README under the Graph section.
The driver provides numerous tunable options via the Builder pattern and statement settings, leading to a steep learning curve and increased setup time for developers not familiar with Cassandra's nuances.
Heavy integration with DataStax Enterprise features like graph and geospatial types may limit portability to standard Apache Cassandra clusters, creating dependency on DataStax's ecosystem.
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Npgsql is the .NET data provider for PostgreSQL.
Npgsql is the .NET data provider for PostgreSQL.
The Official C# .NET Driver for MongoDB
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.