Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a WCF service a web service? [closed]

Tags:

c#

wcf

Is it correct to call a WCF Service a web service?

I am working on a assigment for school, and I made a RESTful WCF service and in the report I refered to it at times as a web service. Is it correct to refer to a WCF Service as a web service?

like image 985
Pillblast Avatar asked Jan 16 '12 16:01

Pillblast


People also ask

Is WCF service a web service?

Windows Communication Foundation (WCF) allows you to create a service that exposes a Web endpoint. Web endpoints send data by XML or JSON, there is no SOAP envelope. This topic demonstrates how to expose such an endpoint. The only way to secure a Web endpoint is to expose it through HTTPS, using transport security.

Is WCF and web service same?

Web services support only one protocol- HTTP and HTTPS during communication, but WCF supports more protocols like- HTTP, TCP, and MSMQ that can be extended for a comprehensive solution, reliable session, and transactions. It signifies WCF is more adaptable to work together for a variety of software.

What is difference between WCF and web service in asp net?

Attributes − WCF service is defined by ServiceContract and OperationContract attributes, whereas a web service is defined by WebService and WebMethod attributes. Protocols − WCF supports a range of protocols, i.e., HTTP, Named Pipes, TCP, and MSMQ, whereas a web service only supports HTTP protocol.

What has replaced WCF?

gRPC as a migration path for WCF to .NET Core and . NET 5 marks a shift in the way that Microsoft delivers remote communication solutions to developers who want to deliver services across a range of platforms. . NET Core and . NET 5 support calling WCF services, but won't offer server-side support for hosting WCF.


1 Answers

WCF is a superset of Microsoft 'communication' services that includes web services.

See here.

EDIT - To answer explicitly, yes in the context you are discussing the two terms are interchangeable. Just remember that WCF can also include other communcation technologies as well as 'web services'.

like image 85
Nick Avatar answered Sep 26 '22 06:09

Nick