An Introduction to the C# Driver for Cassandra
The C# driver enables .Net developers to create applications using Cassandra, exclusively working with CQL3. It separates functionality into lower-level API calls and a LINQ2CQL layer. To get started, add the NuGet package reference to your project. Connecting to a Cassandra cluster involves creating a Cluster object and calling its Connect() method. The returned Session object is used for all operations against the cluster. Data can be queried or inserted using inline CQL statements, prepared statements, or batch jobs. The LINQ2CQL driver, found in the Cassandra.Data.Linq namespace, provides extensive capabilities for working with data and requires a dedicated blog post to fully describe its features.
Company
DataStax
Date published
Jan. 6, 2014
Author(s)
Bill Bucher
Word count
380
Hacker News points
None found.
Language
English