FriendlyUrlResolver Class

.NET Framework 4.5

Resolves a friendly URL to an HTTP handler.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.FriendlyUrls.Resolvers.FriendlyUrlResolver
    Microsoft.AspNet.FriendlyUrls.Resolvers.GenericHandlerFriendlyUrlResolver
    Microsoft.AspNet.FriendlyUrls.Resolvers.WebFormsFriendlyUrlResolver

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

Syntax

'Declaration
Public Class FriendlyUrlResolver _
    Implements IFriendlyUrlResolver
'Usage
Dim instance As FriendlyUrlResolver
public class FriendlyUrlResolver : IFriendlyUrlResolver
public ref class FriendlyUrlResolver : IFriendlyUrlResolver
type FriendlyUrlResolver =  
    class 
        interface IFriendlyUrlResolver 
    end
public class FriendlyUrlResolver implements IFriendlyUrlResolver

The FriendlyUrlResolver type exposes the following members.

Constructors

  Name Description
Public method FriendlyUrlResolver Creates a FriendlyUrlResolver for the provided extension.

Top

Methods

  Name Description
Public method ConvertToFriendlyUrl Converts a typical URL with a file extension into a friendly extension-less URL.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetExtensions Gets the extensions to use (such as .aspx, .ashx, or .mobile.aspx) while attempting to resolve an HTTP handler from the friendly URL.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PreprocessRequest Called after a friendly URL is resolved to an HTTP handler but before the handler is executed.
Public method ToString (Inherited from Object.)

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.Resolvers Namespace