Condividi tramite


PageConventionCollectionExtensions.AllowAnonymousToFolder Metodo

Definizione

Consente l'accesso anonimo a tutte le pagine nella cartella specificata.

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

Parametri

conventions
PageConventionCollection

Oggetto PageConventionCollection da configurare.

folderPath
String

Percorso della cartella.

Restituisce

Oggetto PageConventionCollection.

Si applica a