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
Copy file name to clipboardExpand all lines: docs/en/tutorials/microservice/part-06.md
+2-25Lines changed: 2 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,8 +252,6 @@ It opens the *Generate C# proxies* window. Select the `CloudCrm.CatalogService`
252
252
253
253
Proxy classes for the `IProductIntegrationService` interface have been generated.
254
254
255
-
### Adding Static HTTP Client Proxies
256
-
257
255
Lastly, open the `CloudCrmOrderingServiceModule` class (the `CloudCrmOrderingServiceModule.cs` file under the `CloudCrm.OrderingService` project of the `CloudCrm.OrderingService` .NET solution) and add the following code to the `ConfigureServices` method:
258
256
259
257
```csharp
@@ -262,31 +260,10 @@ public override void ConfigureServices(ServiceConfigurationContext context)
Notice that `CatalogService` is the remote service name for the HTTP Client proxy.
271
-
272
-
### Note for the Kubernetes Deployment Configuration
273
265
274
-
ABP Studio automatically adds the base URL of the catalog service to the `appsettings.json` file of the `CloudCrm.OrderingService` project when you generate the C# client proxies:
275
-
276
-
````json
277
-
"RemoteServices": {
278
-
"CatalogService": {
279
-
"BaseUrl": "http://localhost:..."
280
-
}
281
-
}
282
-
````
283
-
284
-
If you will deploy your solution to Kubernetes, you should add that configuration to the `env` section of your `ordering` Helm chart's pod definition file (default location in the file system: `/etc/helm/cloudcrm/charts/ordering/templates/ordering.yaml`). Example configuration:
0 commit comments