Sdílet prostřednictvím


RazorComponentsEndpointConventionBuilder Třída

Definice

Vytváří konvence, které se použijí k přizpůsobení EndpointBuilder instancí.

public sealed class RazorComponentsEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type RazorComponentsEndpointConventionBuilder = class
    interface IEndpointConventionBuilder
Public NotInheritable Class RazorComponentsEndpointConventionBuilder
Implements IEndpointConventionBuilder
Dědičnost
RazorComponentsEndpointConventionBuilder
Implementuje

Metody

Add(Action<EndpointBuilder>)

Přidá do tvůrce zadanou konvenci. Konvence se používají k přizpůsobení EndpointBuilder instancí.

Finally(Action<EndpointBuilder>)

Zaregistruje zadanou konvenci pro provádění po konvencích registrovaných prostřednictvím Add(Action<EndpointBuilder>)

Metody rozšíření

AddAdditionalAssemblies(RazorComponentsEndpointConventionBuilder, Assembly[])

Přidá daná další sestavení do aplikace komponent.

DisableRequestTimeout(IEndpointConventionBuilder)

Zakáže časový limit požadavků na koncových bodech.

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

Určuje zásadu časového limitu pro koncové body.

WithRequestTimeout(IEndpointConventionBuilder, String)

Určuje zásadu časového limitu pro koncové body.

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

Určuje časový limit koncových bodů.

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

Koncové body zkraťujte. Ke spuštění koncového bodu dojde v middlewaru UseRouting místo v UseEndpointu.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Nakonfiguruje aplikaci tak, aby podporovala InteractiveServer režim vykreslování.

AddInteractiveWebAssemblyRenderMode(RazorComponentsEndpointConventionBuilder, Action<WebAssemblyComponentsEndpointOptions>)

Nakonfiguruje aplikaci tak, aby podporovala InteractiveWebAssembly režim vykreslování.

Platí pro