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 | |
---|---|---|
GetFriendlyUrlFileExtension(HttpRequest) | Returns the extension of the file Friendly URLs mapped this request to. | |
GetFriendlyUrlFileExtension(HttpRequestBase) | Returns the extension of the file Friendly URLs mapped this request to. | |
GetFriendlyUrlFileVirtualPath(HttpRequest) | Returns the virtual path of the file Friendly URLs mapped this request to. | |
GetFriendlyUrlFileVirtualPath(HttpRequestBase) | Returns the virtual path of the file Friendly URLs mapped this request to. | |
GetFriendlyUrlSegments(HttpRequest) | Returns the URL segments left over after Friendly URLs mapped this request to a file. | |
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.