New MSDN articles about WCF and WF

MSDN recently published a series of new articles about WCF and WF.  Take a look and let me know what you think… Workflow Services Describes how to create and configure workflow services. Endpoints: Addresses, Bindings, and Contracts Describes how to control multiple aspects of your service. Data Transfer and Serialization Describes how serialization of data…

0

WCF Keep Alive Channel

Customers periodically ask for a way to enable TCP Keep Alive on the underlying socket for the TCP transport in WCF.  The most often reason I hear this request is to workaround an idle timeout on some intermediary device (like a proxy or load balancer).  However, TCP Keep alive is a hop by hop solution…

1

Fix available for SMSvcHost.exe Event Log ID 8 issue

A fix for the SMSvcHost.exe Event ID 8 issue described here has now been published.  The download can be found at here: The associated KB article has details of where to get the fix. https://support.microsoft.com/en-us/kb/2536618

9

Server-side Tcp Connection pooling

An internal customer was asking how to control connection pooling on the server side of WCF for the Tcp Transport.  There are two knobs to control this behavior.  The first controls how long a connection can stay open while waiting to be reused and can be set through the IdleTimeout property on the TcpConnectionPoolSettings object,…

0

SMSvcHost.exe Event Log ID 8 – An error occurred while dispatching a duplicated socket: this handle is now leaked in the process

Recently, I have worked with several internal and external customers that are hitting an odd error when using WCF’s TCP Port Sharing Service or Tcp Activation Service. The symptoms include client’s timing out during channel open, an event log entry on the server, and, in some cases, a server process that doesn’t ever respond to…

9

TCP Port sharing – Access is denied

I recently helped a customer who ran into this error: System.ServiceModel.CommunicationException: The service endpoint failed to listen on the URI ‘net.tcp://localhost/CalcultorService.svc/’ because access was denied.  Verify that the current user is granted access in the appropriate allowAccunts section of SMSvcHost.exe.config. —> System.ComponentModel.Win32Exception: Access is denied They had updated the <allowedAccounts> section of the smsvchost.exe.config file…

2