C# pages: repurpose non-quick-start page into a "gRPC for .NET" page (#244)

* Initial revision

* Create separate dotnet page

* Simplify the C# section page
This commit is contained in:
Patrice Chalin 2020-05-28 13:14:44 -04:00 committed by GitHub
parent 1401ca0d29
commit 08f2a06b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 25 deletions

View File

@ -2,8 +2,13 @@
title: C#
---
These language-specific pages are available:
There are two official implementations of gRPC for C#. The original [gRPC
core-library][core-library] implementation is covered here:
- [Quick start](quickstart)
- [Quick Start using `grpc-dotnet`](quickstart-dotnet)
- [Basics tutorial](basics)
For details concerning the newer gRPC for .NET implementation, see [gRPC for
.NET](dotnet).
[core-library]: https://github.com/grpc/grpc/tree/master/src/csharp

View File

@ -0,0 +1,21 @@
---
title: gRPC for .NET
---
For an introduction to gRPC for .NET ([grpc-dotnet][]) and a basic tutorial, see
the following pages:
- [Introduction to gRPC on .NET Core](https://docs.microsoft.com/aspnet/core/grpc)
- [Tutorial: Create a gRPC client and server in ASP.NET Core][tutorial]
Several sample applications are available from the [examples][] folder in the
[grpc-dotnet][] repository.
{{< note >}}
Looking for gRPC C# core-library documentation?
See the [gRPC C# main page](..).
{{< /note >}}
[examples]: https://github.com/grpc/grpc-dotnet/tree/master/examples
[grpc-dotnet]: https://github.com/grpc/grpc-dotnet
[tutorial]: https://docs.microsoft.com/aspnet/core/tutorials/grpc/grpc-start

View File

@ -1,21 +0,0 @@
---
title: Quick Start using grpc-dotnet
description: This guide gets you started with gRPC for .NET with a simple working example.
weight: 2
---
{{< note >}}
This is a quick start guide for the "grpc-dotnet" implementation of gRPC C#s. See [gRPC C# Quick Start](../csharp) for how to start with the gRPC C# implementation based on native Core library.
{{< /note >}}
### General project info
See https://github.com/grpc/grpc-dotnet for general info about the "gRPC for .NET" project.
### gRPC ASP.NET Core Tutorial
The best way to start is the [gRPC ASP.NET Core Tutorial](https://docs.microsoft.com/aspnet/core/tutorials/grpc/grpc-start). See the [gRPC documentation](https://docs.microsoft.com/aspnet/core/grpc) section in ASP.NET Core's documentation for a more thorough overview.
### More Examples
More code examples for grpc-dotnet are at [https://github.com/grpc/grpc-dotnet/tree/master/examples](https://github.com/grpc/grpc-dotnet/tree/master/examples).

View File

@ -5,7 +5,10 @@ weight: 1
---
{{< note >}}
This is a quick start guide for the gRPC C# implementation based on Core native library. See [gRPC for .NET Quick Start](..//csharp-dotnet/) for how to start with the "grpc-dotnet" implementation.
This page uses the [gRPC C# core-library][core-library] implementation. For
documentation covering gRPC for .NET, see [gRPC for .NET](../dotnet).
[core-library]: https://github.com/grpc/grpc/tree/master/src/csharp
{{< /note >}}
### Prerequisites

View File

@ -1,4 +1,5 @@
/docs/quickstart/csharp-dotnet /docs/languages/csharp/quickstart-dotnet
/docs/languages/csharp/quickstart-dotnet /docs/languages/csharp/dotnet
/docs/quickstart/csharp-dotnet /docs/languages/csharp/dotnet
/docs/tutorials/async/helloasync-cpp /docs/languages/cpp/async
/docs/tutorials/auth/oauth2-objective-c /docs/languages/objective-c/oauth2