Third-party tools with subdomain hosting (#27174)

* Update troubleshoot.md

* Updates

* Apply suggestions from code review

Co-authored-by: James Newton-King <james@newtonking.com>

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
Co-authored-by: James Newton-King <james@newtonking.com>
pull/27168/head
lucasmaj 2022-10-03 14:06:38 -05:00 committed by GitHub
parent 297d86c564
commit e3ec1ffe8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -170,6 +170,9 @@ The WPF application can use the gRPC generated types from the new class library
## Calling gRPC services hosted in a sub-directory
> [!WARNING]
> Many third-party gRPC tools don't support services hosted in subdirectories. Consider finding a way to host gRPC as the root directory.
The path component of a gRPC channel's address is ignored when making gRPC calls. For example, `GrpcChannel.ForAddress("https://localhost:5001/ignored_path")` won't use `ignored_path` when routing gRPC calls for the service.
The address path is ignored because gRPC has a standardized, prescriptive address structure. A gRPC address combines the package, service and method names: `https://localhost:5001/PackageName.ServiceName/MethodName`.
@ -435,6 +438,9 @@ The WPF application can use the gRPC generated types from the new class library
## Calling gRPC services hosted in a sub-directory
> [!WARNING]
> Many third-party gRPC tools don't support services hosted in subdirectories. Consider finding a way to host gRPC as the root directory.
The path component of a gRPC channel's address is ignored when making gRPC calls. For example, `GrpcChannel.ForAddress("https://localhost:5001/ignored_path")` won't use `ignored_path` when routing gRPC calls for the service.
The address path is ignored because gRPC has a standardized, prescriptive address structure. A gRPC address combines the package, service and method names: `https://localhost:5001/PackageName.ServiceName/MethodName`.
@ -650,6 +656,9 @@ The WPF application can use the gRPC generated types from the new class library
## Calling gRPC services hosted in a sub-directory
> [!WARNING]
> Many third-party gRPC tools don't support services hosted in subdirectories. Consider finding a way to host gRPC as the root directory.
The path component of a gRPC channel's address is ignored when making gRPC calls. For example, `GrpcChannel.ForAddress("https://localhost:5001/ignored_path")` won't use `ignored_path` when routing gRPC calls for the service.
The address path is ignored because gRPC has a standardized, prescriptive address structure. A gRPC address combines the package, service and method names: `https://localhost:5001/PackageName.ServiceName/MethodName`.