METHOD

IServiceCollection.AddServiceDiscovery

Register service discovery support; configure the HTTP clients separately.

Formal Syntax & Structure

csharp syntaxcsharp
builder.Services.AddServiceDiscovery()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.builder.Services.AddServiceDiscovery()
C# & .NET Reference