public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                                               typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

            Host.Configure(_prefixes, _virtualDir, _physicalDir);
            Host.Start();
        }
Exemplo n.º 2
0
        public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

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