FluentCassandra is a .NET library for accessing Apache Cassandra. It fully impliments all commands that can be issued against the Apache Cassandra interface and supports .NET 4.0 dynamic keyword as well as a LINQ like expressions for querying the database. The goal of this project is to keep the interface in sync with the latest version of Cassandra and make it as easy as possible for .NET developers to start, adopt and program against the Cassandra database.
You can get help with FluentCassandra by asking questions or starting a discussion on our group. https://groups.google.com/d/forum/fluentcassandra
Taken from the "Cassandra Jump Start For Windows" by Nick Berardi:
- Download Cassandra from http://cassandra.apache.org/
- Extract Cassandra to a directory of your choice (I used c:\development\cassandra)
Set the following environment variables
JAVA_HOME (To the directory where you install the JRE, this should not be the bin directory) CASSANDRA_HOME (To the directory you extracted the files to in step 1)
Please note that you are going to want to be running Java JRE 6 for running Cassandra.
Modify your Cassandra config file as you like and don't forget to update the directory locations from a UNIX like path to something on your windows directory (in my example the config file is located at c:\development\cassandra\conf\storage-conf.xml)
Open cmd and run the cassandra.bat file (in my example the batch file is located at c:\development\cassandra\bin\cassandra.bat)
cd c:\development\cassandra\bin\ .\cassandra.bat
You can verify that Cassandra is running, by trying to connect to the server. To do this open a new cmd and run the cassandra-cli.bat file from the bin directory.
cd c:\development\cassandra\bin\ .\cassandra-cli.bat connect localhost/9160
There was an indepth 2 part series of blog posts made on the subject of creating your first Fluent Cassandra application.
If you need to build FluentCassandra locally, know that FluentCassandra uses Albacore - a Ruby-based build system for Windows.
To build FluentCassandra, install Ruby onto your machine and then open a new command prompt to your local FluentCassandra directory and execute the following command:
And that's it! The build will automatically run for you. You can also execute
rake -T to see a list of additional commands.