Class RoutingOptions
Inheritance
Inherited Members
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
[Options]
public class RoutingOptions
Constructors
RoutingOptions()
Declaration
public RoutingOptions()
Properties
EnableRecursivePartialRouting
Specifies if the result of a successful partial routing should be propagated to further partial routing.
Declaration
public bool EnableRecursivePartialRouting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UrlCacheExpirationTime
Gets the content url cache expiration time .
Declaration
public TimeSpan UrlCacheExpirationTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
UsePrimaryHostForEditAndPreviewUrls
Specifies that the HostDefinitionType that is Primary should be used when generating edit and preview urls.
Declaration
public bool UsePrimaryHostForEditAndPreviewUrls { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UsePrimaryHostForOutgoingUrls
Specifies that the HostDefinitionType that is Primary should be used when generating outgoing url.
Declaration
public bool UsePrimaryHostForOutgoingUrls { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.
UseTrailingSlash
Gets or sets a value indicating whether a trailing slash should be added for urls to content.
Declaration
public bool UseTrailingSlash { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Default value is true.
Methods
ConfigureForExternalTemplates()
Configures routing to support that templates are deployed in a separate application
Declaration
public void ConfigureForExternalTemplates()