C# Class Orchard.Utility.Extensions.HttpRequestExtensions

Exibir arquivo Open project: ucdavis/Orchard

Public Methods

Method Description
ToApplicationRootUrlString ( this request ) : string

Returns the application root part of a request.

Prevents port number issues by using the client requested host

ToRootUrlString ( this request ) : string

Returns the root part of a request.

Prevents port number issues by using the client requested host

ToUrlString ( this request ) : string

Returns the client requested url.

Prevents port number issues by using the client requested host

Method Details

ToApplicationRootUrlString() public static method

Returns the application root part of a request.
Prevents port number issues by using the client requested host
public static ToApplicationRootUrlString ( this request ) : string
request this
return string

ToRootUrlString() public static method

Returns the root part of a request.
Prevents port number issues by using the client requested host
public static ToRootUrlString ( this request ) : string
request this
return string

ToUrlString() public static method

Returns the client requested url.
Prevents port number issues by using the client requested host
public static ToUrlString ( this request ) : string
request this
return string