diff --git a/content/docs/languages/csharp/_index.md b/content/docs/languages/csharp/_index.md index 08ff1a5..61bd699 100644 --- a/content/docs/languages/csharp/_index.md +++ b/content/docs/languages/csharp/_index.md @@ -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 diff --git a/content/docs/languages/csharp/dotnet.md b/content/docs/languages/csharp/dotnet.md new file mode 100644 index 0000000..6f5bf27 --- /dev/null +++ b/content/docs/languages/csharp/dotnet.md @@ -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 \ No newline at end of file diff --git a/content/docs/languages/csharp/quickstart-dotnet.md b/content/docs/languages/csharp/quickstart-dotnet.md deleted file mode 100644 index 62192ba..0000000 --- a/content/docs/languages/csharp/quickstart-dotnet.md +++ /dev/null @@ -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). diff --git a/content/docs/languages/csharp/quickstart.md b/content/docs/languages/csharp/quickstart.md index 92d72d0..df5ff09 100644 --- a/content/docs/languages/csharp/quickstart.md +++ b/content/docs/languages/csharp/quickstart.md @@ -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 diff --git a/layouts/index.redirects b/layouts/index.redirects index aee6181..a24c9ab 100644 --- a/layouts/index.redirects +++ b/layouts/index.redirects @@ -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