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
- You must have a valid Amazon Web Services developer account.
- Requires the AWS SDK for .NET and the AWS SDK for .NET Extensions. For more information on the AWS SDK for .NET, see http://aws.amazon.com/sdkfornet.
- You must be signed up to use Amazon DynamoDB. For more information on Amazon DynamoDB, see http://aws.amazon.com/dynamodb.
Running the Sample
The basic steps for running the Amazon DynamoDB Session Provider sample are:
- Open the
AmazonDynamoDBSessionProviderSample.sln file in Visual Studio.
- Open the
Web.config file.
- 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>"/>
- Save the file.
- Run the sample in Debug mode by typing F5.