Home > Net >  Help: have zero application endpoints (infrastructure)
Help: have zero application endpoints (infrastructure)

Time:09-30

<? The XML version="1.0" encoding="utf-8"?>

























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

  •  Tags:  
  • C#
  • Related