Share via

RazorComponentsServiceOptions.TemporaryRedirectionUrlValidityDuration Property


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.

public TimeSpan TemporaryRedirectionUrlValidityDuration { get; set; }
member this.TemporaryRedirectionUrlValidityDuration : TimeSpan with get, set
Public Property TemporaryRedirectionUrlValidityDuration As TimeSpan

Property Value

Applies to