public void ProcessRequest(IAspNetWorker aspNetWorkerRequest) { //TODO: Find a way to prevent the IAspNetWorkerRequest implementation //from also having to be a HttpWorkerRequest. Perhaps some type of a //proxy object. HttpRuntime.ProcessRequest((HttpWorkerRequest) aspNetWorkerRequest); }
public void ProcessRequest(IAspNetWorker aspNetWorkerRequest) { //TODO: Find a way to prevent the IAspNetWorkerRequest implementation //from also having to be a HttpWorkerRequest. Perhaps some type of a //proxy object. HttpRuntime.ProcessRequest((HttpWorkerRequest)aspNetWorkerRequest); }
public void Configure(string virtualDir, string physicalDir, IDictionary<string, string> serverVariables) { if(IsConfigured) throw new Exception("The DomainHook is already configured."); AspNetRuntime aspNetRuntime = new AspNetRuntime(); _worker = new AspNetWorker(aspNetRuntime, virtualDir, physicalDir, serverVariables); }
public void Configure(string virtualDir, string physicalDir, IDictionary <string, string> serverVariables) { if (IsConfigured) { throw new Exception("The DomainHook is already configured."); } AspNetRuntime aspNetRuntime = new AspNetRuntime(); _worker = new AspNetWorker(aspNetRuntime, virtualDir, physicalDir, serverVariables); }