Try
{//open service create listening and to start listening to the news
ServiceHost ServiceHost=new ServiceHost (typeof (WCFService));
//need using System. The ServiceModel;
ServiceHost. The Open ();
Weblab. Text="service start normal";
}
The catch (Exception ex)
{
Weblab. Text=ex. The Message;
}
Add a WCF service in winfrom let him as a host to provide a web interface, but an open error have zero application (infrastructure) endpoint
Pray god help online have you tried many ways to