SiteBaseRewriteAppRelativeVirtualPath Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets or sets a value indicating whether cs should rewrite the AppRelativeVirtualPath path to ~/default.aspx.

Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool RewriteAppRelativeVirtualPath { get; set; }

Property Value

Type: Boolean
true if rewrite the AppRelativeVirtualPath path to ~/default.aspx otherwise, false.
Remarks

CS is using url rewriting when a url is not the same as the page file name. Like ~/default.aspx?id=xxx. In prior versions of CS ~/default.aspx?id=xxx was the only url that could be used to access CS web pages and therefore CS was rewriting all virtual paths to ~/default.aspx. CS version 5.2 and later supports both ~/default.aspx (virtual) urls and file name based urls, but for backwards compability CS will by default rewrite the application relative virtual path to ~/default.aspx. By setting this property to false CS will not rewrite the relative path to ~/default.aspx.
See Also

Reference