Hi all,
After hosting in IIS , how to check the WCF Web service is active or not in client side .
Please give me some idea.
Hi all,
After hosting in IIS , how to check the WCF Web service is active or not in client side .
Please give me some idea.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtesh ShahPosted Jun 22, 2021, 10:38 AM
Hi,
1. Another option you can use wcftestclient which is Test Client (WcfTestClient.exe) is a GUI tool that enables users to input test parameters, submit that input to the service, and view the response that the service sends back. It provides a seamless service testing experience when combined with WCF Service Host.
2. You can have a method called ping to verify your WCF service is up and running. You can call that to make sure your service up and runnning.
Hope it will help.
Varun SetiaPosted Jun 22, 2021, 10:37 AM
You can invoke any method at client application.
Or if you are looking for something more advanced go for service discovery. Here is implementation https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/wcf-discovery-overview
Salman BegPosted Jun 22, 2021, 10:31 AM