Solved

Using Web Service  instead of WCF

Posted on 2010-09-06
1
267 Views
Last Modified: 2012-05-10
If I'm having problems binding to a WCF service but I can access it using a Web Reference, and I'm doing a read-only operation, is there any reason not to do that?
Is there an advantage to persisting with the binding to get the WCF to work?
0
Comment
Question by:Silas2
1 Comment
 
LVL 18

Accepted Solution

by:
Anil Golamari earned 500 total points
ID: 33621673
http://www.programminghelp.com/programming/dotnet/wcf-creating-and-implementing-a-service-in-c/
http://msdn.microsoft.com/en-us/library/ms733769.aspx

You can use a web service instead of wcf but in long term if you need to make any change to the code or whether you client is not using same kind of transport to call the service then web service is very disadvantageous. If you are using WCF and project the endpoint bindings then you should be able to
connect any client and also code reusability and code changes will be easy to do in wcf.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now