Del via


AppBuilderSessionAffinityExtensions.UseSessionAffinity Method

Definition

Checks if a request has an established affinity relationship and if the associated destination is available. This should be placed before load balancing and other destination selection components. Requests without an affinity relationship will be processed normally and have the affinity relationship established by a later component.

public static Microsoft.AspNetCore.Builder.IReverseProxyApplicationBuilder UseSessionAffinity (this Microsoft.AspNetCore.Builder.IReverseProxyApplicationBuilder builder);
static member UseSessionAffinity : Microsoft.AspNetCore.Builder.IReverseProxyApplicationBuilder -> Microsoft.AspNetCore.Builder.IReverseProxyApplicationBuilder
<Extension()>
Public Function UseSessionAffinity (builder As IReverseProxyApplicationBuilder) As IReverseProxyApplicationBuilder

Parameters

Returns

Applies to