Skip to content

Commit a7fc11a

Browse files
committed
Make microservice tutorial enhancements
1 parent 0ad9b03 commit a7fc11a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/en/tutorials/microservice/part-05.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In the previous part, we created the Ordering microservice. In this part, we wil
2626

2727
## Creating the Order Entity
2828

29-
We will start by creating the `Order` entity, which will represent an order in our system. We'll add this entity to the `CloudCrm.OrderingService` project. Create a new folder named `Entities` and add a class named `Order` inside it:
29+
We will start by creating the `Order` entity, which will represent an order in our system. We'll add this entity to the `CloudCrm.OrderingService` project. Create a new folder named `Entities` and create a file `Order.cs` inside it:
3030

3131
```csharp
3232
using CloudCrm.OrderingService.Enums;
@@ -46,7 +46,7 @@ To keep this example simple, we allow users to include only a single product wit
4646

4747
### Adding the OrderState Enum
4848

49-
We also need to define the `OrderState` enum. In the `CloudCrm.OrderingService.Contracts` project, create a folder named `Enums` and add an `OrderState` enum inside it:
49+
We also need to define the `OrderState` enum. In the `CloudCrm.OrderingService.Contracts` project, create a folder named `Enums` and create a file `OrderState.cs` inside it:
5050

5151
```csharp
5252
namespace CloudCrm.OrderingService.Enums;

docs/en/tutorials/microservice/part-06.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,9 @@ It opens the *Generate C# proxies* window. Select the `CloudCrm.CatalogService`
250250

251251
![generate-catalog-service-proxy](images/generate-catalog-service-proxy.png)
252252

253-
We have generated the proxy classes for the `IProductIntegrationService` interface. Now, we must add the *Remote Service* url to the `appsettings.json` file of the `CloudCrm.OrderingService` project. Open the `appsettings.json` file (the `appsettings.json` file of the `CloudCrm.OrderingService` project of the `CloudCrm.OrderingService` .NET solution) and add the *CatalogService* section following configuration:
253+
Proxy classes for the `IProductIntegrationService` interface have been generated. This configuration is usually added automatically.
254+
255+
However, if it has not been added, you must manually add the `CatalogService` entry to the `appsettings.json` file of the `CloudCrm.OrderingService` project:
254256

255257
```json
256258
{

0 commit comments

Comments
 (0)