-
-
Save Blind-Striker/088c27d8b144bd203c3865e7941a0298 to your computer and use it in GitHub Desktop.
Sample DI configuration for LocalStack.NET
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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