What is the relationship between WCF, Rest and SOAP?

后端 未结 4 2020
遇见更好的自我
遇见更好的自我 2021-01-30 03:40

What is the relationship between WCF and REST&SOAP? Is WCF based on one of those technologies (REST or SOAP) or it is a separate technology?

4条回答
  •  春和景丽
    2021-01-30 04:20

    Although, this question has got several good answers, just putting in my 2-cents, in an attempt for newbies to WCF vs SOAP vs REST-full services, to make it a bit easier for them to understand.

    We get confusions, whether WCF supports both REST and SOAP ? And, normally, we just see generic definitions about SOAP and REST. So , we need something from Microsoft to make us feel the truth : ) So here's a screenshot from Microsoft MSDN :

    So, yes, WCF supports both .

    In context with OP:

    • SOAP services:
      in WCF programming model support interoperability between systems that are built with Java, other platforms, and those that use messaging standards that are supported by Microsoft®. These also support transports such as HTTP, TCP, named pipes, and MSMQ.
    • Web HTTP services :
      in WCF programming model supports REST. [Source: MSDN]

提交回复
热议问题