API

MapGrpcService<T>()

Maps the generated service implementation.

Formal Syntax & Structure

csharp syntaxcsharp
app.MapGrpcService<StockEndpoint>()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.app.MapGrpcService<StockEndpoint>()
C# & .NET Reference