Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding WCF

Tags:

wcf

Could anyone point me to a resource that explains WCF with pictures and simple code snippets. I am tired of googling and finding the same "ABC" articles in all search results.

like image 848
Developer Avatar asked Jan 07 '09 21:01

Developer


People also ask

What is WCF and how it works?

Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.

Is WCF easy?

This hosting is very flexible and easy to use, but suitable only during development phases of a distributed application. IIS: When a WCF service is hosted in IIS the client can access the service over the internet.

Is WCF obsolete?

As long as the Windows operating system continues to include . NET Framework, WCF will continue to function.


1 Answers

WCF is a very complex technology that in my opinion is very poorly documented. It is incredibly easy to get up and running with, but the performance tuning to run a large scale app can be incredibly complicated and a lot of trial and error. One day everything is working fine and then you find out that only a single Channel is kept waiting for a new connection and that there is a config setting that you need to adjust on a custom binding to allow more channels to be waiting so that calls don't fail inbetween when a channel is used and the next channel is spun up.

In general Nicholas Allen's blog is a gold mine of information. However Windbg has been my best friend in trying to explain some very bizarre behavior coming from WCF.

like image 128
Steve Severance Avatar answered Oct 20 '22 22:10

Steve Severance