This project is read-only.



<!-- A static key is used instead of machiekey to encrypt passwords since machinekey changes when in development -->
    <add key="StaticKey" value="7862520A3D5D9B045B4C408034564A794DB25CA89DE62168764FF0DCE537184F0535D5D9AD66DEDC97DC1ABFF7FA540B4DFD82E5BB196B95D15FF81F75AD5328" />

    <!-- This is the e-mail address that will be the sender on all the e-mails sent by this application -->
    <add key="fromEmail" value="" />

    <!-- By default a administrator user is made and this is its sign in name. Only low letters-->
    <add key="AdminName" value="admin" />

    <!-- By default a administrator user is made and this is its e-mail -->
    <add key="AdminEmail" value="" />

    <!-- By default a administrator user is made and this is its password -->
    <add key="AdminPassword" value="cassandra2014" />

    <!-- By default a administrator user is made and this is its password retrieval question -->
    <add key="AdminQuestion" value="Color of my first car?" />

    <!-- By default a administrator user is made and this is its password retrieval answer -->
    <add key="AdminAnswer" value="Kiwi" />

    <!-- By default a role is created to hold administrators and this is its name. Admin is added to this by default. -->
    <add key="AdminRoleName" value="Admins" />

    <!-- The name of your application -->
    <add key="ApplicationName" value="MyApp1" />

    <!-- Connection string to  your database-->
    <add key="ConnectionString" value="localhost" />

  <!-- Time window meaning who is the online user in seconds-->
    <add key="UserIsOnlineTimeWindow" value="900" />

  <!-- Cassandra parameter- The total number of replicas across the cluster (Replication factor)-->
    <add key="ReplicationFactor" value="3" />

  <!-- Time window meaning who is the active user in seconds-->
    <add key="UserIsActiveTimeWindow"  value="9000" />


Add custom providers:


<!-- Custom membership provider -->

<membership defaultProvider="CassandraMembershipProvider">
        <clear />
        <add name="CassandraMembershipProvider"
             applicationName="MyApp1" />

    <!-- Custom profile provider -->

<profile enabled="true" defaultProvider="CassandraProfileProvider">
        <clear />
        <add name="CassandraProfileProvider"
             applicationName="MyApp1" />
        <clear />
        <add name="Gender" type="System.Int32" defaultValue="-1" />
        <add name="Birthdate" type="System.DateTime" defaultValue="-1" />
        <add name="PortraitBlobAddressUri" type="System.String" defaultValue="" />

    <!-- Custom role provider -->

    <roleManager enabled="true" defaultProvider="CassandraRoleProvider">
        <clear />
        <add name="CassandraRoleProvider"
             applicationName="MyApp1" />

    <machineKey decryption="AES" decryptionKey="0CA3EFAF0F7A5E7A62681C0BF656EE0ECE31ACEE3E1023BA3FAD20EA5F199DE8" validation="SHA1" validationKey="448396CF27E32841EB374CF1D787713ABF42A2049DE62168764FF0DCE537184F0535D5D9AD66DEDC97DC1ABFF7FA540B4DFD82E5BB196B95D15FF81F75AD5328"></machineKey>

    <!-- Custom session state provider -->

    <sessionState timeout="60" cookieName="MyApp1" mode="Custom" customProvider="CassandraSessionProvider">
        <clear />
        <add name="CassandraSessionProvider" type="Cognitum.CassandraProviders.Cassandra.CassandraSessionStateProvider" />

Last edited Jul 28, 2014 at 2:23 PM by kbocian, version 9