Show / Hide Table of Contents

Class ReverseProxyIEndpointRouteBuilderExtensions

Extension methods for IEndpointRouteBuilder used to add Reverse Proxy to the ASP .NET Core request pipeline.

Inheritance
Object
ReverseProxyIEndpointRouteBuilderExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Microsoft.AspNetCore.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class ReverseProxyIEndpointRouteBuilderExtensions

Methods

| Improve this Doc View Source

MapReverseProxy(IEndpointRouteBuilder)

Adds Reverse Proxy routes to the route table using the default processing pipeline.

Declaration
public static ReverseProxyConventionBuilder MapReverseProxy(this IEndpointRouteBuilder endpoints)
Parameters
Type Name Description
IEndpointRouteBuilder endpoints
Returns
Type Description
ReverseProxyConventionBuilder
| Improve this Doc View Source

MapReverseProxy(IEndpointRouteBuilder, Action<IReverseProxyApplicationBuilder>)

Adds Reverse Proxy routes to the route table with the customized processing pipeline. The pipeline includes by default the initialization step and the final proxy step, but not LoadBalancingMiddleware or other intermediate components.

Declaration
public static ReverseProxyConventionBuilder MapReverseProxy(this IEndpointRouteBuilder endpoints, Action<IReverseProxyApplicationBuilder> configureApp)
Parameters
Type Name Description
IEndpointRouteBuilder endpoints
Action<IReverseProxyApplicationBuilder> configureApp
Returns
Type Description
ReverseProxyConventionBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX