web-serviceswcfmobilehosting

Web hosting vs web service hosting


I just created my web service which a mobile phone consumes, I'm running it on my local host and tested it on my own network and works pretty well.

Now, I'm thinking to upload the service somewhere over the host service provider.

Does web hosting services like godaddy and similar also provides web service hosting? I mean, if I build a web site I can upload it on the web hosting site and manage it there, is it the same when I upload my Service?

If not, where's the best place where I can upload my service and test it there?

The service I created is in WCF


Solution

  • Basically you have 2 options for hosting a WCF service in IIS being published to the public:

    1. create a Windows VM on typical VM providers like Godaddy, Azure or Amazon etc, and follow the instructions from respective provider about publishing Websites. Remember, WCF is running in the app pool, while IIS Website is responsible for listening requests and delivering responses for WCF.

    2. In Azure, you could publish WCF through Worker Role. Search "wcf azure worker role" you will find plenty docs and tutorials.

    After all, best place depends on your best skills and best budgets etc. Option 1 and 2 could be enough for starting points.