Example #1
0
 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);
 }
Example #2
0
 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);
 }
Example #3
0
        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);
        }
Example #4
0
        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);
        }