Cassandra Provider use a configuration section where all properties must be set.

Below is a sample of a App.Config file:

<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="cassandra" type="System.Data.Cassandra.Configuration.CassandraConfigurationSection, System.Data.Cassandra"/>
  </configSections>
  <cassandra port="9160" minPoolCountPerHost="2" maxPoolCountPerHost="2147483647" timeout="10000.0">
    <servers>
      <add name="10.0.0.1"/>
      <add name="10.0.0.2"/>
    </servers>
  </cassandra>
</configuration>

Last edited Nov 28, 2011 at 9:23 PM by Caldas, version 1

Comments

No comments yet.