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