Last post 9 hours, 6 minutes ago by robby32
Jan 12, 2018 07:38 AM|robby32|LINK
I have created a wcf service which is called successfuly in my local app. I have run unit tests . But it is on my local host and i need to host it so that it can be tested by a testing centre ...
The textbox below needs a URI for an API you create and host. It should be your own implementation of our reference service.
the text box has http://your-hostname/api
I assume the wcf service would be required here or is an ai required ?
I dont have an external host name , can i use github ?
Jan 13, 2018 01:59 PM|DA924|LINK
You need to give more detail here. Where did you get the requirements to conclude that you needed a WCF service?
Jan 14, 2018 01:35 AM|robby32|LINK
The requirement is to write a wcf service , I did on my local machine. But I need testers to be able to access the wcf service endpoints in order to test the output of the different procedures i wrote.
for example one is Fibonacci numbers. So I have written the code and it seems to work as expected , but some testers need to be able to access the service from their remote machine and invoke the service and test the output of the Fibonacci that I wrote.
I was wondering how can they access it if its on my machine. Dont I need to host it on a public site ? If so i dont have a public host name .
Jan 14, 2018 02:38 PM|DA924|LINK
Yes, you need to have the service deployed on a Web hosting provider's Web server, mainly because you don't have the expertise to harden the Windows O/S and IIS to attack for a machine exposed to the public Internet.
Also, it is you and not some client doing it for you, with you being the one that must test your Web service that has been exposed publically.
write yourself a windows desktop program to test the service.
Jan 15, 2018 02:13 AM|Edward Z|LINK
Could the remote computer access your computer? If it could, you could host it on your computer by IIS-Host or Self-Host, then others could access the service by address with your computer name and ip address.
If it could not, there is no need to achieve this unless you publish it to public site.
>> I dont have an external host name , can i use github ?
No, it could not be published through GitHub, it needs a public Server.
9 hours, 6 minutes ago|robby32|LINK
Thankyou , i have done as suggested , deployed on a Web hosting providers Web server.