Class WebRoutingSettings
Typed configuration options for web routing settings.
Inheritance
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class WebRoutingSettingsProperties
View SourceDisableAlternativeTemplates
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 | 
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 | 
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 | 
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 | 
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.
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 | 
UmbracoApplicationUrl
Gets or sets a value for the Umbraco application URL.
Declaration
public string UmbracoApplicationUrl { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
UrlProviderMode
Gets or sets a value for the URL provider mode (UrlMode).
Declaration
public UrlMode UrlProviderMode { get; set; }Property Value
| Type | Description | 
|---|---|
| UrlMode | 
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 |