You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Integrating with Dependency Injection](#integrating-with-dependency-injection)
31
31
5.[Known Issues](#known-issues)
32
32
6.[Developing](#developing)
33
33
-[Building the Project](#building-the-project)
@@ -74,6 +74,29 @@ Refer to [documentation](https://github.com/localstack-dotnet/localstack-dotnet-
74
74
75
75
`LocalStack.NET` is a library that provides a wrapper around the [aws-sdk-net](https://github.com/aws/aws-sdk-net). This means you can use it in a similar way to the `AWS SDK for .NET` and to [AWSSDK.Extensions.NETCore.Setup](https://docs.aws.amazon.com/sdk-for-net/latest/developer-guide/net-dg-config-netcore.html) with a few differences. For more on how to use the AWS SDK for .NET, see [Getting Started with the AWS SDK for .NET](https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-setup.html).
76
76
77
+
### Setup
78
+
79
+
Here's a basic example of how to setup `LocalStack.NET`:
The `AddLocalStack` method integrates LocalStack.NET into your application, and the `AddAwsService` method allows you to specify which AWS services you want to use with LocalStack.
95
+
96
+
<e><b>(Alternatively, `AddAWSServiceLocalStack` method can be used to prevent mix-up with `AddAWSService`.)</b><e>
97
+
98
+
`AddLocalStack` extension method is responsible for both configurations and adding of `LocalStack.Client` dependencies to service collection.
99
+
77
100
### Configuration
78
101
79
102
To configure LocalStack.NET, you can use entries in the appsettings.json files. Here's a basic example for different environments:
@@ -105,30 +128,7 @@ To configure LocalStack.NET, you can use entries in the appsettings.json files.
105
128
}
106
129
```
107
130
108
-
The `RegionName` is important as LocalStack creates resources based on the specified region. For more advanced configurations and understanding how LocalStack.NET operates with LocalStack, refer to documentation.
109
-
110
-
### Integrating with Dependency Injection
111
-
112
-
Here's a basic example of how to integrate `LocalStack.NET` with the .NET dependency injection:
The `AddLocalStack` method integrates LocalStack.NET into your application, and the `AddAwsService` method allows you to specify which AWS services you want to use with LocalStack.
128
-
129
-
<e><b>(Alternatively, `AddAWSServiceLocalStack` method can be used to prevent mix-up with `AddAWSService`.)</b><e>
130
-
131
-
`AddLocalStack` extension method is responsible for both configurations and adding of `LocalStack.Client` dependencies to service collection.
131
+
The `RegionName` is important as LocalStack creates resources based on the specified region. For more advanced configurations and understanding how LocalStack.NET operates with LocalStack, refer to [documentation](https://github.com/localstack-dotnet/localstack-dotnet-client/wiki/Setup#configuration).
0 commit comments