RouteAttribute public sealed class RouteAttribute : Attribute Indicates that the associated component should match the specified route template pattern. Documentation Code public string Template { get; } Gets the route template. public RouteAttribute(string template) Constructs an instance of RouteAttribute.