FriendlyUrlResolver Class
.NET Framework 4
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 | |
---|---|---|
FriendlyUrlResolver | Creates a FriendlyUrlResolver for the provided extension. |
Top
Methods
Name | Description | |
---|---|---|
ConvertToFriendlyUrl | Converts a URL with a file extension into a friendly extension-less URL. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetExtensions | Gets the file extensions to use (such as .aspx, .ashx, or .mobile.aspx) while attempting to resolve an HTTP handler from the friendly URL. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
PreprocessRequest | ||
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.