PageConventionCollectionExtensions.AllowAnonymousToFolder(PageConventionCollection, String) PageConventionCollectionExtensions.AllowAnonymousToFolder(PageConventionCollection, String) PageConventionCollectionExtensions.AllowAnonymousToFolder(PageConventionCollection, String) Method

Definition

Adds a AllowAnonymousFilter to all pages under the specified folder.

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

Parameters

folderPath
String String String

The folder path.

Returns

Applies to