Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 196e36b

Browse files
committed
upgrade quickstart and tutorial to netcoreapp2.1
1 parent a7eb280 commit 196e36b

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

docs/quickstart/csharp.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ From the `examples/csharp/Helloworld` directory:
5757
> dotnet build Greeter.sln
5858
```
5959

60-
(if you're using dotnet SDK 1.x you need to run dotnet restore Greeter.sln first)
61-
6260
*NOTE: If you want to use gRPC C# from a project that uses the old-style .csproj files (supported by Visual Studio 2013, 2015 and older versions of Mono), please refer to the
6361
[Greeter using legacy .csproj](https://github.com/grpc/grpc/blob/{{ site.data.config.grpc_release_tag }}/examples/csharp/HelloworldLegacyCsproj/README.md) example.*
6462

@@ -70,14 +68,14 @@ From the `examples/csharp/Helloworld` directory:
7068

7169
```
7270
> cd GreeterServer
73-
> dotnet run -f netcoreapp1.0
71+
> dotnet run -f netcoreapp2.1
7472
```
7573

7674
* In another terminal, run the client
7775

7876
```
7977
> cd GreeterClient
80-
> dotnet run -f netcoreapp1.0
78+
> dotnet run -f netcoreapp2.1
8179
```
8280

8381
Congratulations! You've just run a client-server application with gRPC.
@@ -244,14 +242,14 @@ Just like we did before, from the `examples/csharp/Helloworld` directory:
244242

245243
```
246244
> cd GreeterServer
247-
> dotnet run -f netcoreapp1.0
245+
> dotnet run -f netcoreapp2.1
248246
```
249247

250248
* In another terminal, run the client
251249

252250
```
253251
> cd GreeterClient
254-
> dotnet run -f netcoreapp1.0
252+
> dotnet run -f netcoreapp2.1
255253
```
256254

257255
## What's next

docs/tutorials/basic/csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,14 +512,14 @@ using (var call = client.RouteChat())
512512
Run the server, which will listen on port 50052:
513513

514514
```
515-
> cd RouteGuideServer/bin/Debug/netcoreapp1.0
515+
> cd RouteGuideServer/bin/Debug/netcoreapp2.1
516516
> dotnet exec RouteGuideServer.dll
517517
```
518518

519519
Run the client (in a different terminal):
520520

521521
```
522-
> cd RouteGuideClient/bin/Debug/netcoreapp1.0
522+
> cd RouteGuideClient/bin/Debug/netcoreapp2.1
523523
> dotnet exec RouteGuideClient.dll
524524
```
525525

0 commit comments

Comments
 (0)