wcf vs web service

Posted on 2009-02-20
Last Modified: 2013-12-17
Can someone please tell me the difference between wcf and a web service (please don't post a microsoft link, I already looked there).  

I really don't understand how it would help at all if you are going over the web.  It seems to me the only difference is that you can speficy the protocol that it uses.  I watched the first three examples here:  

He created a wcf project, played with it in visual studio, then he hosted it in iis.  If you are hosting it in iis, isn't it going to be using http anyway?

So can someone please tell me what benefits this technology has?

Question by:jackjohnson44
    LVL 12

    Accepted Solution

    Standard Web Services use SOAP (XML Envelope) to Communicate.

    With WCF you are not tied to SOAP you can send and receive any format you want, JSON, XML, Raw Bytes  etc

    WCF also allows you to create Restful interfaces such as this

    and return a block of XML

    So that's basically it Tied to SOAP or the world's your oyster :)

    Personally I would suggest that you look at the new MVC framework coming out and skip WCF altogether.

    LVL 26

    Assisted Solution

    by:Anurag Thakur

    Author Comment

    Thanks guys, I appreciate the help.

    William, can you please explain what you meant when you mentioned MVC?  I have heard the term, but I do not know how it applies in this scenario.
    LVL 12

    Expert Comment


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 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

    14 Experts available now in Live!

    Get 1:1 Help Now