Home > Net >  Create WCF service, I use to find on the server to monitor internal and external network two address
Create WCF service, I use to find on the server to monitor internal and external network two address

Time:10-30

Such as:

ServiceHost host=new ServiceHost (typeof (TCPServiceLibrary Service1));
If (the host State!=CommunicationState database.opening)
{
The host. The Open ();
TextBox1. Text=TextBox1. Text. Insert (0, DateTime. Now. The ToString () + ": the service is started \ r \ n");
}

App. Config
















How to add state to set the address????? Thank you

CodePudding user response:

Problem solving,//localhost downstairs pick up points oh

CodePudding user response:

CodePudding user response:

  • Related