Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

baskar
More...

Forums » .NET » WCF »

Difference wcf and wcf web service?


Posted Date: 19 Jun 2012      Posted By:: shiva     Member Level: Bronze    Member Rank: 2979     Points: 1   Responses: 4



difference wcf and wcf web service? tell me the difference brifely?

with any example?




Responses

#676171    Author: Ultimaterengan        Member Level: Gold      Member Rank: 9     Date: 19/Jun/2012   Rating: 2 out of 52 out of 5     Points: 3

Web Services

1.It Can be accessed only over HTTP
2.It works in stateless environment

WCF(Windows Communication Foundation)

WCF is flexible because its services can be hosted in different types of applications. The following lists several common scenarios for hosting WCF services:
IIS
WAS
Self-hosting
Managed Windows Service



Thanks & Regards
G.Renganathan
Nothing is mine ,Everything is yours!!!


http://renganathan1984.blogspot.com/



 
#676199    Author: Gaurav Agrawal      Member Level: Gold      Member Rank: 177     Date: 19/Jun/2012   Rating: 2 out of 52 out of 5     Points: -1

[Response removed by Admin for invalid response to the thread or violation of forum policies.]


 
#676200    Author: Gaurav Agrawal      Member Level: Gold      Member Rank: 177     Date: 19/Jun/2012   Rating: 2 out of 52 out of 5     Points: -1

[Response removed by Admin for invalid response to the thread or violation of forum policies.]





 
#676747    Author: Ajesh Madhukar Dalvi      Member Level: Silver      Member Rank: 340     Date: 21/Jun/2012   Rating: 2 out of 52 out of 5     Points: 4

WCF is an extension - it's a web service, but you can expose it over TCP/IP, or named pipes, in addition to just using HTTP.

Also, WCF has lots more options for security and so on.

You can also host a WCF service inside your own app - you don't have to use IIS for hosting the web service (ASMX).

In conclusion: WCF IS web services - just much more flexible and much more useful than straight ASMX web services.


WCF is a programming model and API. "WCF Service" implies an app that is built using that programming model and API.

"Web Service" is an app that exposes an HTTP (REST (XML or JSON), SOAP or otherwise) interface.

You can build a Web service using WCF, but you can also build a Web service using other APIs or "stacks". Like PHP or Java, for example.

With WCF you can build web services but you can also build services that are not, "Webbish". For example you can build a service that accepts incoming binary requests over only a local pipe interface. It is still a service, but it is not a "web service" because it is not using web protocols (generally HTTP and XML).



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Using wcf how to upload a image
Previous : Using wcf how to connect with remote database?
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.