IFriendlyUrlResolver Interface
.NET Framework 4
Namespace: Microsoft.AspNet.FriendlyUrls.Resolvers
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Public Interface IFriendlyUrlResolver
'Usage
Dim instance As IFriendlyUrlResolver
public interface IFriendlyUrlResolver
public interface class IFriendlyUrlResolver
type IFriendlyUrlResolver = interface end
public interface IFriendlyUrlResolver
The IFriendlyUrlResolver type exposes the following members.
Methods
Name | Description | |
---|---|---|
ConvertToFriendlyUrl | Converts a URL with a file extension into a friendly extension-less URL. | |
GetExtensions | Returns a list of file extensions that the Friendly URLs system will try to resolve for the current request. For example, if the current request is for "~/example" and the GetExtensions method returns [ ".mobile.aspx", ".aspx", ".en-us.aspx" ], then the Friendly URLs system will attempt to match the current request to the files "~/example.mobile.aspx", "~/example.aspx", and "~/example.en-us.aspx", returning the first match. | |
PreprocessRequest | Provides the ability to inspect or modify the IHttpHandler that was resolved for the current request before the handler's ProcessRequest method is called. |
Top