Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebRoutingSettings

    Typed configuration options for web routing settings.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebRoutingSettings

    Properties

    View Source

    DisableAlternativeTemplates

    Gets or sets a value indicating whether the use of alternative templates are disabled.

    Declaration
    public bool DisableAlternativeTemplates { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    DisableFindContentByIdPath

    Gets or sets a value indicating whether find content ID by path is disabled.

    Declaration
    public bool DisableFindContentByIdPath { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    DisableRedirectUrlTracking

    Gets or sets a value indicating whether redirect URL tracking is disabled.

    Declaration
    public bool DisableRedirectUrlTracking { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    InternalRedirectPreservesTemplate

    Gets or sets a value indicating whether an internal redirect should preserve the template.

    Declaration
    public bool InternalRedirectPreservesTemplate { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    TryMatchingEndpointsForAllPages

    Gets or sets a value indicating whether to check if any routed endpoints match a front-end request before the Umbraco dynamic router tries to map the request to an Umbraco content item.

    Declaration
    public bool TryMatchingEndpointsForAllPages { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    This should not be necessary if the Umbraco catch-all/dynamic route is registered last like it's supposed to be. In that case ASP.NET Core will automatically handle this in all cases. This is more of a backward compatible option since this is what v7/v8 used to do.

    View Source

    TrySkipIisCustomErrors

    Gets or sets a value indicating whether IIS custom errors should be skipped.

    Declaration
    public bool TrySkipIisCustomErrors { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    UmbracoApplicationUrl

    Gets or sets a value for the Umbraco application URL.

    Declaration
    public string UmbracoApplicationUrl { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    UrlProviderMode

    Gets or sets a value for the URL provider mode (UrlMode).

    Declaration
    public UrlMode UrlProviderMode { get; set; }
    Property Value
    Type Description
    UrlMode
    View Source

    ValidateAlternativeTemplates

    Gets or sets a value indicating whether the use of alternative templates should be validated.

    Declaration
    public bool ValidateAlternativeTemplates { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DisableAlternativeTemplates
      • DisableFindContentByIdPath
      • DisableRedirectUrlTracking
      • InternalRedirectPreservesTemplate
      • TryMatchingEndpointsForAllPages
      • TrySkipIisCustomErrors
      • UmbracoApplicationUrl
      • UrlProviderMode
      • ValidateAlternativeTemplates
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX