Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save awswithdotnet/6866272c05ce8a6dd8d357f1c606beb9 to your computer and use it in GitHub Desktop.
Save awswithdotnet/6866272c05ce8a6dd8d357f1c606beb9 to your computer and use it in GitHub Desktop.
DynamoDb DynamoDb LocalDynamoDBConnectionSettingsFactory
public class LocalDynamoDBConnectionSettingsFactory :
IDataConnectionSettingsFactory<AmazonDynamoDBConfig>
{
public AmazonDynamoDBConfig GetSettings()
{
AmazonDynamoDBConfig amazonDynamoDBConfig = new AmazonDynamoDBConfig();
amazonDynamoDBConfig.ServiceURL = "http://localhost:8000";
return amazonDynamoDBConfig;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment