AppBuilderSessionAffinityExtensions.UseSessionAffinity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- builder
- IReverseProxyApplicationBuilder