Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have written a web service using c#(Framework 3.5) and tested it to be working fine.
While writing the web application to consume the SERVICE, I have faced a dilemma between "adding as service reference" and adding as "web reference(in advanced tab)".
Both ways of adding is working but I just want to know which method is better and why.

Any insight is greatly appreciated.
Thanks.
Posted
Comments
virang_21 12-Dec-14 16:43pm    
Adding a web reference is for asmx web service ( old way of doing things ) while adding a service reference is for WCF which is more flexible compared to asmx web service.

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