Class WebsiteChannelDomainOptions
Website domain options used to configure domain overrides for website channels.
public sealed class WebsiteChannelDomainOptions
- Inheritance
-
objectWebsiteChannelDomainOptions
- Extension Methods
Remarks
Configuring the website domains for the channel overrides the corresponding configuration stored in the database. Values not provided via the options object are loaded from the database.
Constructors
WebsiteChannelDomainOptions()
public WebsiteChannelDomainOptions()
Properties
DomainOverrides
Collection of domain overrides for website channels organized by ChannelName
public IDictionary<string, WebsiteChannelDomains> DomainOverrides { get; }
Property Value
- IDictionary<string, WebsiteChannelDomains>
Remarks
The order of the domain overrides matters. When resolving links for the website, the first domain is used, while the rest is treated as aliases. The initialized instance of dictionary uses System.StringComparer.OrdinalIgnoreCase key comparer.
LanguageDomains
Collection of per-language domain configurations for website channels organized by ChannelName. Applies to channels routing by language-specific domains; unlike DomainOverrides it has no database counterpart - this configuration is the only source of per-language domains.
public IDictionary<string, WebsiteChannelLanguageDomains> LanguageDomains { get; }
Property Value
- IDictionary<string, WebsiteChannelLanguageDomains>
Remarks
The order of the domains within a language matters. When resolving links, the first domain is used, while the rest is treated as inbound aliases. The initialized instance of dictionary uses System.StringComparer.OrdinalIgnoreCase key comparer.