Click below for Step by Step and Interview Q & A (dotnetinter) wrote,
Click below for Step by Step and Interview Q & A
dotnetinter

.NET WCF(Windows Communication Foundation) interview questions: - Distinguish between Web Services

.NET WCF(Windows Communication Foundation) interview questions: - Distinguish between Web Services and Remoting | WCF and Web services

Distinguishing between different technologies is always the favorite questions for the interviewer. So here we have the following.

Remoting works only when both the ends i.e. server and client are in .NET technologies. Web services are useful when the client is not .NET like JAVA etc.

Difference between WCF and Web services

  • WCF services can be hosted in multiple protocols like HTTP, TCP etc. Web services can only be hosted on Http protocol.

  • WCF has COM+ so you can call two different WCF services in a transaction, we cannot call two different web services in one transaction.

  • WCF integrates with MSMQ easily, but for web services we will need to write code to communicate with the MSMQ pool.

In simple words below equation shows the difference with simple equation.

WCF = Web services + Remoting + MSMQ + COM+
Web service = WCF – (Remoting + MSMQ + COM+ )


Also click and see the following .NET WCF(Windows Communication Foundation) interview questions video on endpoints, address, contracts and bindings: -

Tags: .net, .net wcf interview questions, csharp interview questions, it interview questions with answers, programming interview questions, remoting, wcf, wcf(windows communication foundation), web service
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments