コード例 #1
0
ファイル: AspNetRuntime.cs プロジェクト: UweKeim/aspnetserve
 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);
 }
コード例 #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);
 }
コード例 #3
0
ファイル: DomainHook.cs プロジェクト: UweKeim/aspnetserve
        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);
        }
コード例 #4
0
ファイル: DomainHook.cs プロジェクト: malafaya9/aspnetserve
        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);
        }