Amazon DynamoDB Session Provider Sample

This is a sample that demonstrates how to use the Amazon DynamoDB session provider. The session provider is configured in the Web.config. The AWS credentials for the session provider can be in either the session provider's configuration or in the appSettings section. Since this sample also creates a Amazon DynamoDB client the credentials were put in the appSettings section so that they can be used for both the session provider and the client created in the sample.

Prerequisites

Running the Sample

The basic steps for running the Amazon DynamoDB Session Provider sample are:

  1. Open the AmazonDynamoDBSessionProviderSample.sln file in Visual Studio.
  2. Open the Web.config file.
  3. Enter your Access Key ID and Secret Access Key:
    <add key="AWSAccessKey" value="<Your Access Key ID>"/>   
    <add key="AWSSecretKey" value="<Your Secret Access Key>"/>
  4. Save the file.
  5. Run the sample in Debug mode by typing F5.