Share via


ServiceDiscoveryReverseProxyServiceCollectionExtensions Class

Definition

Extensions for IServiceCollection used to register the ReverseProxy's components.

public static class ServiceDiscoveryReverseProxyServiceCollectionExtensions
type ServiceDiscoveryReverseProxyServiceCollectionExtensions = class
Public Module ServiceDiscoveryReverseProxyServiceCollectionExtensions
Inheritance
ServiceDiscoveryReverseProxyServiceCollectionExtensions

Methods

AddHttpForwarderWithServiceDiscovery(IServiceCollection)

Adds the Yarp.ReverseProxy.Forwarder.IHttpForwarder with service discovery support.

AddServiceDiscoveryDestinationResolver(IReverseProxyBuilder)

Provides a Yarp.ReverseProxy.ServiceDiscovery.IDestinationResolver implementation which uses service discovery to resolve destinations.

AddServiceDiscoveryForwarderFactory(IServiceCollection)

Provides a Yarp.ReverseProxy.Forwarder.IForwarderHttpClientFactory implementation which uses service discovery to resolve service names.

Applies to