FriendlyUrlResolver.PreprocessRequest Method

.NET Framework 4.5

Called after a friendly URL is resolved to an HTTP handler but before the handler is executed.

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

Syntax

'Declaration
Public Overridable Sub PreprocessRequest ( _
    httpContext As HttpContextBase, _
    httpHandler As IHttpHandler _
)
'Usage
Dim instance As FriendlyUrlResolver 
Dim httpContext As HttpContextBase 
Dim httpHandler As IHttpHandler

instance.PreprocessRequest(httpContext, _
    httpHandler)
public virtual void PreprocessRequest(
    HttpContextBase httpContext,
    IHttpHandler httpHandler
)
public:
virtual void PreprocessRequest(
    HttpContextBase^ httpContext, 
    IHttpHandler^ httpHandler
)
abstract PreprocessRequest : 
        httpContext:HttpContextBase * 
        httpHandler:IHttpHandler -> unit  
override PreprocessRequest : 
        httpContext:HttpContextBase * 
        httpHandler:IHttpHandler -> unit
public function PreprocessRequest(
    httpContext : HttpContextBase, 
    httpHandler : IHttpHandler
)

Parameters

Implements

IFriendlyUrlResolver.PreprocessRequest(HttpContextBase, IHttpHandler)

See Also

Reference

FriendlyUrlResolver Class

Microsoft.AspNet.FriendlyUrls.Resolvers Namespace