Inheritance: FubuMVC.Core.FubuRegistry, IDisposable
Esempio n. 1
0
        private static void Main(string[] args)
        {
            var group = new MonitoredNodeGroup();

            group.Add("Node1", "memory://1".ToUri());
            group.Add("Node2", "memory://2".ToUri());
            group.Add("Node3", "memory://3".ToUri());
            group.Add("Node4", "memory://4".ToUri());

            group.Startup();

            var url = "http://localhost:" + group.Port;

            Process.Start(url);

            Console.WriteLine("Running the harness...");

            group.WaitForShutdown();

            Console.WriteLine("Shutting down the harness");

            group.SafeDispose();
        }
Esempio n. 2
0
        private static void Main(string[] args)
        {
            var group = new MonitoredNodeGroup();
            group.Add("Node1", "memory://1".ToUri());
            group.Add("Node2", "memory://2".ToUri());
            group.Add("Node3", "memory://3".ToUri());
            group.Add("Node4", "memory://4".ToUri());

            group.Startup();

            var url = "http://localhost:" + group.Port;
            Process.Start(url);

            Console.WriteLine("Running the harness...");

            group.WaitForShutdown();

            Console.WriteLine("Shutting down the harness");

            group.SafeDispose();
        }
Esempio n. 3
0
 public HomeEndpoint(FubuHtmlDocument document, MonitoredNodeGroup group, IUrlRegistry urls)
 {
     _document = document;
     _group = @group;
     _urls = urls;
 }
Esempio n. 4
0
 public HomeEndpoint(FubuHtmlDocument document, MonitoredNodeGroup group, IUrlRegistry urls)
 {
     _document = document;
     _group    = @group;
     _urls     = urls;
 }