Skip to content

Commit 59ac331

Browse files
authored
Update microservicer example readme (#982)
1 parent 27cf289 commit 59ac331

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ The gRPC-Web JavaScript client was generated from *greet.proto* using [`protoc`]
192192

193193
## [Microservicer](./Microservicer)
194194

195-
The microserver example shows how to use gRPC in a microservice solution. The backend app hosts a gRPC service that is called by the frontend app. In the frontend app the gRPC client factory is used to inject a gRPC client into the MVC controller.
195+
The microservicer example shows how to use gRPC in a solution that contains multiple web apps. The backend app hosts a gRPC service that is called by the frontend app. The frontend app uses gRPC client factory to create a client an inject it into the MVC controller with dependency injection.
196196

197-
This example uses [tye](https://github.com/dotnet/tye) to run the microservice solution and for service discovery. When `tye run` command is run in the solution directory:
197+
This example uses [tye](https://github.com/dotnet/tye) to run the solution and for service discovery. When `tye run` command is run:
198198

199199
1. Tye builds and runs the frontend and backend apps.
200-
2. Tye injects service addresses into each app.
200+
2. Tye injects service addresses into each app. The backend app address is accessible via `IConfiguration`.
201201
3. The frontend app configures the gRPC client with the backend address in *Startup.cs*.
202202

203-
[Install the Tye dotnet tool](https://github.com/dotnet/tye/blob/master/docs/getting_started.md) and then execute `tye run` in the *examples/Microserver* directory.
203+
[Install the Tye dotnet tool](https://github.com/dotnet/tye/blob/master/docs/getting_started.md) and then execute `tye run` in the *examples/Microservicer* directory.
204204

205205
##### Scenarios:
206206

0 commit comments

Comments
 (0)