dotnet / dotnet/AspNetCore.Docs

How to create a gRPC server with explicitly defined parameters?

Open
#17,821 2 comments 1 reaction 1 assignee Claimed by @wadepickett View on GitHub
doc-enhancement gRPC Pri2 Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

The page doesn't show how to create a server with explicit parameters like IPAddress and Port we want the server to listen on.

In Grpc.Core you can create a server with a set of parameters like Services to bind to and Ports, which is very convenient. Also being given an instance of a server allows you to start / stop it.

I assume the same functionality is implemented in Grpc.Net but not documented at all. Therefore, any docs on that matter would be hugely beneficial.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 1d298a6c-8ddc-dbc8-d219-0fa7138442c2
* Version Independent ID: b96be346-958a-cfcd-d80a-c352d64223e8
* Content: [Create a .NET Core gRPC client and server in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-3.1&tabs=visual-studio)
* Content Source: [aspnetcore/tutorials/grpc/grpc-start.md](https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/tutorials/grpc/grpc-start.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-tutorials**
* GitHub Login: @JunTaoLuo
* Microsoft Alias: **johluo**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.