Compartir a través de


PageConventionCollectionExtensions.AllowAnonymousToFolder Método

Definición

Permite el acceso anónimo a todas las páginas de la carpeta especificada.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection AllowAnonymousToFolder (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, string folderPath);
static member AllowAnonymousToFolder : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function AllowAnonymousToFolder (conventions As PageConventionCollection, folderPath As String) As PageConventionCollection

Parámetros

conventions
PageConventionCollection

El objeto PageConventionCollection que se va a configurar.

folderPath
String

Ruta de acceso de la carpeta.

Devoluciones

PageConventionCollection.

Se aplica a