Share via


RouteCollectionExtensions Class

.NET Framework 4

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.FriendlyUrls.RouteCollectionExtensions

Namespace:  Microsoft.AspNet.FriendlyUrls
Assembly:  Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class RouteCollectionExtensions
'Usage
public static class RouteCollectionExtensions
[ExtensionAttribute]
public ref class RouteCollectionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type RouteCollectionExtensions =  class end
public final class RouteCollectionExtensions

Methods

  Name Description
Public methodStatic member EnableFriendlyUrls(RouteCollection) Enables friendly URLs for Web Forms pages.
Public methodStatic member EnableFriendlyUrls(RouteCollection, FriendlyUrlSettings) Enables friendly URLs for Web Forms pages.
Public methodStatic member EnableFriendlyUrls(RouteCollection, IFriendlyUrlResolver[]) Enables friendly URLs using the specified resolvers.
Public methodStatic member EnableFriendlyUrls(RouteCollection, FriendlyUrlSettings, IFriendlyUrlResolver[]) Enables friendly URLs using the passed resolvers.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.FriendlyUrls Namespace