from:(http://msdn.microsoft.com/en-us/library/ff647180.aspx)
In this step, you create a Windows Forms application named Test Client to test the WCF service.
In this step, you use the test client to ensure that the WCF service is running properly.
When you call the service, your current user security context will automatically be passed to your WCF service. The code should look as follows:
private void button1_Click(object sender, EventArgs e) { WCFTestService.MyServiceClient myService = new WCFTestService.MyServiceClient(); MessageBox.Show(myService.DoWork("Hello World!")); myService.Close(); }
When you click the button on the form, the message “Welcome Hello World!” should appear.
Host your WCF service with multiple host environment using multiple protocol
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, u