System.Web.HttpRequest.ApplicationPath Property

Gets the ASP.NET application's virtual application root path on the server.

Syntax

public string ApplicationPath { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to construct a URL relative to the application root from a page or Web user control that is not in the root directory. This allows pages and shared controls that exist at different levels of a directory structure to use the same code to link to resources at fixed locations in the application.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0