Gets or sets the site URL. It must be a Web URL, and include the path to the site root. It is only to be used
to generate direct references to the site in external locations. For references from a page, use root-relative
URLs and ResolveUrl etc as appropriate.
Namespace:
EPiServer.ConfigurationAssembly: EPiServer.Configuration (in EPiServer.Configuration.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[ConfigurationPropertyAttribute("siteUrl", DefaultValue = "http://localhost/", IsRequired = true)] [ManagerTabAttribute(ManagerTab.Site)] [WebUrlValidatorAttribute] public Uri SiteUrl { get; set; } |