static void Main(string[] args) { Debug.Listeners.Add(new ConsoleTraceListener()); Console.WriteLine("Loading configuration information..."); var config = new LocalHostEnvironmentConfiguration(); Console.WriteLine(); Console.WriteLine(config.ToString()); Console.WriteLine(); HostEnvironment.Instance.Initialize(config); Console.WriteLine(); Console.WriteLine("Press enter to exit..."); Console.ReadLine(); }
static void Main(string[] args) { Debug.Listeners.Add(new ConsoleTraceListener()); Console.WriteLine("Started..."); var config = new LocalHostEnvironmentConfiguration(); //var config = new AzureHostEnvironmentConfiguration(); config.NodeType = ComputeNodeType.NetGateway; var compute_node = config.GetComputeNode(); var processors = config.GetProcessors(compute_node); processors.ToList().ForEach(p => p.StartProcessor()); Console.WriteLine("Open..."); Console.WriteLine("Press Any Key To Exit..."); Console.ReadLine(); }