Saturday, July 1, 2006

how to add web servicein C# application

You can easily add web service to the application by add reference in C#
In the solution explorer right click the project and click add reference and
select add web reference then
type the URL of the web service that you would like to add to the web application
for example:
now you just need to refer this service like this:
localhost.HelloWebServiceinC MyService = new localhost.HelloWebServiceinC();
and you can use all the web methods that are defined in the webservice
through your application
Share:

0 comments:

Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews