C# (CSharp) Canonicalize.Strategies Пространство имен

Классы

Имя Описание
CustomStrategy Allows for custom URL canonicalization strategies defined using an Action<UrlBuilder>.
HostStrategy URL canonicalization strategy enforcing use of a specific DNS host name or IP address.
LowercaseStrategy URL canonicalization strategy enforcing that all characters in the path are lower case.
MapStrategy URL canonicalization strategy using a map/dictionary data structure to map old paths to new ones.
NoTrailingSlashStrategy URL canonicalization strategy removing trailing slash characters from the end of the path.
NoWwwStrategy URL canonicalization strategy removing the www domain prefix if present.
PatternStrategy URL canonicalization strategy using a pattern described as a regular expression to modify the path.
TrailingSlashStrategy URL canonicalization strategy ensuring a slash as the last character of the path for non-file URLs.
WwwStrategy URL canonicalization strategy ensuring a host name including the www domain prefix.