public CustomAspNetRequest(ushort id, BeginRequestMessageBody body, ServerInternal server)
     : base(id, body)
 {
     //these must be the same values used when calling ApplicationHost.CreateApplicationHost
     this.VirtualPath  = server.VirtualPath;
     this.PhysicalPath = server.PhysicalPath;
 }
 public CustomAspNetChannelStack(TcpLayer tcpLayer, ServerInternal server)
 {
     _server              = server;
     _tcpLayer            = tcpLayer;
     _tcpLayer.UpperLayer = this.CreateUpperLayer(tcpLayer);
 }
 internal void Initialize(int port, string virtualPath, string physicalPath)
 {
     _server = new ServerInternal(port, virtualPath, physicalPath);
 }
 internal CustomAspNetChannel(ServerInternal server)
 {
     _server = server;
 }