Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi I have a website already hosted online, now i want to add a webserivice to my website so the service will be used by others. Can any one please tell me how to do it.


Thank you
Santhosh
Posted
Comments
Ahmed Bensaid 30-May-14 9:46am    
You have to open your solution locally with Visual Studio.
And then, you'll be able to add a webservice, or something else ...
After coded functionality, you have to publish your website to your hosting platform ;)

1 solution

Yes :-) and check out the following keywords/Clues about problems that can arise when for example other websites should be using the webservices on your website:

Keywords are:
- Cross origin Resource sharing (CORS)

If you use a fairly fast-to-set-up webservice like asmx. Here are some more clues:
http://stackoverflow.com/questions/8820351/calling-cross-domain-asmx-web-service-using-javascript[^]

.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900