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: examples/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,15 +192,15 @@ The gRPC-Web JavaScript client was generated from *greet.proto* using [`protoc`]
192
192
193
193
## [Microservicer](./Microservicer)
194
194
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.
196
196
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:
198
198
199
199
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`.
201
201
3. The frontend app configures the gRPC client with the backend address in *Startup.cs*.
202
202
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.
0 commit comments