I got a sample code from net for inserting:
In the line below, should
"Cassandra1"be placed inweb.config? If yes as what?ICluster cluster = AquilesHelper.RetrieveCluster("Cassandra1");In the code below, what is
CassandraClient? Is it a class? What should be inside theCassandraClientclass?cluster.Execute(new ExecutionBlock(delegate(CassandraClient client) { client.insert(key, columnParent, column, ConsistencyLevel.ONE); }), keyspace);
The answer to your first question can be found here.
A quick read of the source code reveals this type alias in DefaultClient.cs:
So
CassandraClientis an instance ofApache.Cassandra.Cassandra.Client, which is the client generated by the Thrift C# code generator.