PageConventionCollectionExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extensions for PageConventionCollection.
public static class PageConventionCollectionExtensions
type PageConventionCollectionExtensions = class
Public Module PageConventionCollectionExtensions
- Inheritance
-
PageConventionCollectionExtensions
Add(Page |
Adds the specified |
Add |
Adds the specified
The page can be routed via |
Add |
Adds the specified
The page can be routed via |
Allow |
Allows anonymous access to all pages under the specified area folder. |
Allow |
Allows anonymous access to the page with the specified name located in the specified area. |
Allow |
Allows anonymous access to all pages under the specified folder. |
Allow |
Allows anonymous access to the page with the specified name. |
Authorize |
Requires authorization with the specified policy for all pages under the specified folder. |
Authorize |
Requires authorization with the default policy for all pages under the specified folder. |
Authorize |
Requires authorization for the specified area page with the specified policy. |
Authorize |
Requires authorization for the specified area page. |
Authorize |
Requires authorization for all pages under the specified folder. |
Authorize |
Requires authorization for all pages under the specified folder. |
Authorize |
Requires authorization with the specified policy for the page with the specified name. |
Authorize |
Requires authorization for the specified page. |
Configure |
Configures the specified |
Configure |
Configures the specified |
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |