Name
HttpRuntime
Synopsis
The HttpRuntime
class provides ASP.NET
runtime services and is used transparently by the ASP.NET framework.
In some rare cases, you may want to use it. For example, you can use
the ProcessRequest()
static
(shared) method to process an ASP.NET request outside of Internet
Information Server and Close()
to clear the cache and shutdown the Common Language Runtime.
Public NotInheritable Class HttpRuntime ' Public Constructors Public Sub New() ' Public Shared Properties Public Shared ReadOnly Property AppDomainAppId As String Public Shared ReadOnly Property AppDomainAppPath As String Public Shared ReadOnly Property AppDomainAppVirtualPath As String Public Shared ReadOnly Property AppDomainId As String Public Shared ReadOnly Property AspInstallDirectory As String Public Shared ReadOnly Property BinDirectory As String Public Shared ReadOnly Property Cache As Cache Public Shared ReadOnly Property ClrInstallDirectory As String Public Shared ReadOnly Property CodegenDir As String Public Shared ReadOnly Property IsOnUNCShare As Boolean Public Shared ReadOnly Property MachineConfigurationDirectory As String ' Public Shared Methods Public Shared Sub Close() Public Shared Sub ProcessRequest( ByVal wr As HttpWorkerRequest) End Class
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.