Share via


HttpRequestExtensions Class

.NET Framework 4

Provides extension methods for working with Friendly URLs.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.FriendlyUrls.HttpRequestExtensions

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

Syntax

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

Methods

  Name Description
Public methodStatic member GetFriendlyUrlFileExtension(HttpRequest) Returns the extension of the file Friendly URLs mapped this request to.
Public methodStatic member GetFriendlyUrlFileExtension(HttpRequestBase) Returns the extension of the file Friendly URLs mapped this request to.
Public methodStatic member GetFriendlyUrlFileVirtualPath(HttpRequest) Returns the virtual path of the file Friendly URLs mapped this request to.
Public methodStatic member GetFriendlyUrlFileVirtualPath(HttpRequestBase) Returns the virtual path of the file Friendly URLs mapped this request to.
Public methodStatic member GetFriendlyUrlSegments(HttpRequest) Returns the URL segments left over after Friendly URLs mapped this request to a file.
Public methodStatic member GetFriendlyUrlSegments(HttpRequestBase) Returns the URL segments left over after Friendly URLs mapped this request to a file.

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