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.

Search This Blog
About Me
My Photo

Full Stack Developer,Blogger,Microsoft Mvp, Mentor, Life long learner, 10+ Years of Experience for JavaScript, web and Microsoft technologies. ASP.NET MVC,Web Forms,C#,AngularJs,Golang
Mvp profile
Subscribe to my blog

Enter your email address:

Follow us on facebook
Blog Archive
Total Pageviews