Skip to content

Instantly share code, notes, and snippets.

@Blind-Striker
Created February 10, 2021 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blind-Striker/088c27d8b144bd203c3865e7941a0298 to your computer and use it in GitHub Desktop.
Save Blind-Striker/088c27d8b144bd203c3865e7941a0298 to your computer and use it in GitHub Desktop.
Sample DI configuration for LocalStack.NET
public void ConfigureServices(IServiceCollection services)
{
// Add framework services.
services.AddMvc();
services.AddLocalStack(Configuration)
services.AddDefaultAWSOptions(Configuration.GetAWSOptions());
services.AddAwsService<IAmazonS3>();
services.AddAwsService<IAmazonDynamoDB>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment