New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.Extensions

Assembly:Kendo.Mvc.dll

Syntax:

C#
public static class HttpRequestBaseExtensions

Inheritance: objectHttpRequestBaseExtensions

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Methods

Get the Application root path.

C#
public static string ApplicationRoot(this HttpRequestBase instance)
Parameters:instanceHttpRequestBase

The instance.

Returns:

string

Determines whether this instance can compress the specified instance.

C#
public static bool CanCompress(this HttpRequestBase instance)
Parameters:instanceHttpRequestBase

The instance.

Returns:

bool

true if this instance can compress the specified instance; otherwise, false.