public void Start()
        {
            this.Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(typeof(HttpListenerAspNetHost), this.virtualDir, this.physicalDir);

            this.Host.Configure(this.prefixes, this.virtualDir, this.physicalDir);
            this.Host.Start();
        }
        public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                                               typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

            Host.Configure(_prefixes, _virtualDir, _physicalDir);
            Host.Start();
        }
예제 #3
0
        public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

            Host.Configure(_prefixes, _virtualDir, _physicalDir);
            Host.Start();
        }