[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

Using Web Service instead of WCF

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
Silas2
Asked:
Silas2
1 Solution
 
Anil GolamariCommented:
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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now