コード例 #1
0
        private void Start()
        {
            Service = new Service();

            BasicHttpEndpoint = new BasicHttpEndpointHandle { Address = "http://192.168.175.123:8000/FreetimeDataServices" };

            Service.AddEndpointHandle(BasicHttpEndpoint);
            Service.Load();

            gridSessions.DataSource = Service.ServiceHosts.ToList();
            SetupGrid();

            Service.Start();
        }
コード例 #2
0
        private void Start()
        {
            Service = new Service();

            BasicHttpEndpoint = new BasicHttpEndpointHandle { Address = "http://localhost:8000/FreetimeDataServices" };

            //var wsHandle = new WSHttpEndpointHandle { Address = "https://localhost:8000/FreetimeDataServices" };
            //Service.AddEndpointHandle(BasicHttpEndpoint);

            Service.AddEndpointHandle(BasicHttpEndpoint);
            Service.Load();

            gridSessions.DataSource = Service.ServiceHosts.ToList();
            SetupGrid();

            Service.Start();
        }