ClassAspNetApplication
Represents an ASP.NET Hosted Application
Definition
Namespace:ArtOfTest.WebAii.WebServers.AspNetHost
Assembly:ArtOfTest.WebAii.dll
Syntax:
public sealed class AspNetApplication : MarshalByRefObject
Inheritance: objectMarshalByRefObjectAspNetApplication
Inherited Members
Constructors
AspNetApplication(string, string)
Create a new Asp.Net application.
Properties
Current
Return current AspNetApplication object.
Declaration
public static AspNetApplication Current { get; }
Property Value
IsHostRegistered
The host object hosting this application object.
LastRequest
Last request processed by this application
Declaration
public AspNetRequest LastRequest { get; }
Property Value
LastResponse
Last response processed by this application.
Declaration
public AspNetResponse LastResponse { get; }
Property Value
Methods
Create(Settings)
Create a new AspNetApplication
Declaration
public static AspNetApplication Create(Settings settings)
Parameters
settings
Settings to use.
Returns
The newly created application
InitializeLifetimeService()
Object will live for ever.
Declaration
public override object InitializeLifetimeService()
Returns
Overrides
ProcessRequest(AspNetRequest)
Process a Request
Declaration
public AspNetResponse ProcessRequest(AspNetRequest request)
Parameters
request
The request object.
Returns
The response object.
ProcessRequest(string)
Process a request.
Declaration
public AspNetResponse ProcessRequest(string requestPath)
Parameters
requestPath
The request path.
Returns
The response object.