AntiforgeryOptions.CookiePath Propiedad

Definición

Precaución

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.

Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.

Ruta de acceso establecida en la cookie. Si se establece en null, el atributo "path" de la cookie se establece en el valor de la PathBase solicitud actual. Si el valor de PathBase es null o está vacío, el atributo "path" se establece en el valor de Path.

public:
 property Nullable<Microsoft::AspNetCore::Http::PathString> CookiePath { Nullable<Microsoft::AspNetCore::Http::PathString> get(); void set(Nullable<Microsoft::AspNetCore::Http::PathString> value); };
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
Public Property CookiePath As Nullable(Of PathString)

Valor de propiedad

Nullable<PathString>
Atributos

Se aplica a