grpc / grpc/grpc-dotnet

Customizing gRPC URLs?

Open
#110 14 comments 10 reactions 0 assignees View on GitHub
needs design question
Dominant language
C#
Stars
4.5k
Forks
836
Avg merge
6d 3h
Merged PRs (30d)
7

Description

How strict is the gRPC standard with respect to URLs?

Today we generate URLs that always place them at the root of the web app.

e.g. /Count.Counter/AccumulateCount

Is there flexibility to have them prefixed with a URL segment in a web app?

e.g. /api/Count.Counter/AccumulateCount

If this is allowed then we should provide a way to customize service URLs in the startup experience.

---

**UPDATE 2021/04/21** ✔️

**Calling a service in a sub-directory documented here: https://docs.microsoft.com/en-us/aspnet/core/grpc/troubleshoot#calling-grpc-services-hosted-in-a-sub-directory**

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.