private void CreateServer(IPAddress address, int port, string virtualPath, string physicalPath, ILoggerFactory loggerFactory) { var channelFactory = new AspNetChannelFactory(loggerFactory, new AspNetRequestConfig { VirtualPath = virtualPath, PhysicalPath = physicalPath }); _server = new TcpServer(address, port, channelFactory); }
private void CreateServer(IPAddress address, int port, string virtualPath, string physicalPath, ILoggerFactory loggerFactory) { var channelFactory = new AspNetChannelFactory (loggerFactory, new AspNetRequestConfig { VirtualPath = virtualPath, PhysicalPath = physicalPath }); _server = new TcpServer(address, port, channelFactory); }