Go to DotNetFunda.com
 Online : 2490 |  Welcome, Guest!   Login
 
Home > Interview Questions > WCF Interview Questions > What is the difference WCF and Web servi ...

call for mock interview

WCF Interview Questions

What is the difference WCF and Web services?

Author: Raja | Posted on: 6/7/2009 1:57:34 PM | Category: WCF | Views:4136 |  Print | Asked In: Many Interviews


Answer:
Web services can only be invoked by HTTP (traditional webservice with .asmx). While WCF Service or a WCF component can be invoked by any protocol (like http, tcp etc.) and any transport type.

Second web services are not flexible. However, WCF Services are flexible. If you make a new version of the service then you need to just expose a new end. Therefore, services are agile and which is a very practical approach looking at the current business trends.

We develop WCF as contracts, interface, operations, and data contracts. As the developer we are more focused on the business logic services and need not worry about channel stack. WCF is a unified programming API for any kind of services so we create the service and use configuration information to set up the communication mechanism like HTTP/TCP/MSMQ etc

For more details, read http://msdn.microsoft.com/en-us/library/aa738737.aspx

Interesting?   Share and Bookmark this


Navigate to:

 Submit Interview Questions

What are various ways of hosting WCF Services? ...

How to add a new row in DataTable? ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions



Advertisement

About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)