RazorComponentsServiceOptions Class

Definition

Provides options for configuring server-side rendering of Razor Components.

public sealed class RazorComponentsServiceOptions
type RazorComponentsServiceOptions = class
Public NotInheritable Class RazorComponentsServiceOptions
Inheritance
RazorComponentsServiceOptions

Constructors

RazorComponentsServiceOptions()

Properties

DetailedErrors

Gets or sets a value that determines whether to include detailed information on errors.

MaxFormMappingCollectionSize

Gets or sets the maximum number of elements allowed in a form collection.

MaxFormMappingErrorCount

Gets or sets the maximum number of errors allowed when mapping form data.

MaxFormMappingKeySize

Gets or sets the maximum size of the buffer used to read form data keys.

MaxFormMappingRecursionDepth

Gets or sets the maximum depth allowed when recursively mapping form data.

TemporaryRedirectionUrlValidityDuration

Gets or sets the lifetime of data protection validity for temporary redirection URLs emitted by Blazor server-side rendering. These are only used transiently so the lifetime only needs to be long enough for a client to receive the URL and begin navigation to it. However, it should also be long enough to allow for clock skew across servers.

Applies to