Search Results for

    Show / Hide Table of Contents
    View Source

    Class RoutableDocumentFilter

    Utility class used to check if the current request is for a front-end request

    Inheritance
    object
    Namespace: Umbraco.Cms.Web.Common.Routing
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public sealed class RoutableDocumentFilter : IRoutableDocumentFilter
    Remarks

    There are various checks to determine if this is a front-end request such as checking if the request is part of any reserved paths or existing MVC routes.

    Constructors

    View Source

    RoutableDocumentFilter(IOptions<GlobalSettings>, IOptions<WebRoutingSettings>, IHostingEnvironment, EndpointDataSource)

    Initializes a new instance of the RoutableDocumentFilter class.

    Declaration
    public RoutableDocumentFilter(IOptions<GlobalSettings> globalSettings, IOptions<WebRoutingSettings> routingSettings, IHostingEnvironment hostingEnvironment, EndpointDataSource endpointDataSource)
    Parameters
    Type Name Description
    IOptions<GlobalSettings> globalSettings
    IOptions<WebRoutingSettings> routingSettings
    IHostingEnvironment hostingEnvironment
    EndpointDataSource endpointDataSource

    Methods

    View Source

    IsDocumentRequest(string)

    Checks if the request is a document request (i.e. one that the module should handle)

    Declaration
    public bool IsDocumentRequest(string absPath)
    Parameters
    Type Name Description
    string absPath
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX