Click or drag to resize
AlternativeUrlsService Class
Service for using alternative URLs.
Inheritance Hierarchy
SystemObject
  Kentico.Content.Web.Mvc.RoutingAlternativeUrlsService

Namespace: Kentico.Content.Web.Mvc.Routing
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public class AlternativeUrlsService : IAlternativeUrlsService

The AlternativeUrlsService type exposes the following members.

Constructors
  NameDescription
Public methodAlternativeUrlsService
Creates instance of AlternativeUrlsService.
Top
Methods
  NameDescription
Public methodGetMainDocumentData
Returns data of main document for given alternativeUrl. alternativeUrl is normalized and checked whether matches any excluded URLs and should not be processed.
Top
See Also