Convert a remote Windows service to a local service and use it locally from a windows .Net form application in C#

  • Thread starter Thread starter syedripon
  • Start date Start date
S

syedripon

Guest

Hello everyone: I have a remote windows service C#. It was remotely used by an application. Now, I have a created a windows form application on my machine in C#. Now, I need to test the service locally, no remote access. How do refer to it and call a method of it from this form locally. Previously, the remote reference was done by adding a service reference and the address is like: http://here/populationservice/populationservice.svc. But locally I can't test it as I need to deploy the service on that remote host where I don't have access. How can I test one (public) method of that servcie from my local form app. Do I just change the endpoint address to something like. Where do I get the port: http://localhost:here/populationservice/populationservice.svc How I do refer to it locally and what other places do I need to change? Thanks.


Continue reading...
 
Back
Top