Skip to content

Commit 3a6c93b

Browse files
committed
add information about alternate add service method
1 parent f9d1062 commit 3a6c93b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,12 @@ public void ConfigureServices(IServiceCollection services)
110110
}
111111
```
112112

113-
The most important difference is that `AddAwsService` extensions method is used instead of `AddAWSService` used in `AWSSDK.Extensions.NETCore.Setup`. The reason for this will be explained later in this section.
113+
The most important difference is that `AddAwsService` extensions method is used instead of `AddAWSService` used in `AWSSDK.Extensions.NETCore.Setup`. The reason for this will be explained later in this section.
114+
114115
In addition, the `AddLocalStack` extension method is also used.
115116

117+
<e><b>(Alternatively, `AddAWSServiceLocalStack` method can be used to prevent mix-up with `AddAWSService`.)</b><e>
118+
116119
`AddLocalStack` extension method is responsible for both configurations and adding of `LocalStack.Client` dependencies to service collection.
117120

118121
You can configure `LocalStack.Client` by using entries in the `appsettings.json` files, as shown in the following example.
@@ -177,6 +180,7 @@ If the `UseLocalStack` entry is `true`, it uses the [Session](https://github.com
177180

178181
It is named as `AddAwsService` to avoid name conflict with `AddAWSService`.
179182

183+
<e><b>(Alternatively, `AddAWSServiceLocalStack` method can be used to prevent mix-up with `AddAWSService`.)</b><e>
180184

181185
### <a name="standalone-initialization"></a> Standalone Initialization
182186

0 commit comments

Comments
 (0)