Sign in
Jon Cole
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Asynchronous Programming
BizTalk Adapters
Debugging
Firewall
Impersonation
Port Sharing Service
Soap
Sockets
System.Net
Tcp Activation
WCF
Archive
Archives
September 2011
(1)
May 2011
(1)
April 2011
(1)
October 2010
(1)
June 2010
(2)
September 2009
(1)
June 2007
(1)
March 2007
(2)
June 2006
(1)
April 2006
(1)
March 2006
(1)
December 2005
(2)
November 2005
(1)
September 2005
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Jon Cole
Debugging a memory leak in managed code: Ping - SendAsync
Posted
over 8 years ago
by
JonCole
20
Comments
Included in version 2.0 of the .NET framework is a Ping class (System.Net.NetworkInformation namespace) that can be used to monitor the up/down status of a network connection to a server. We recently realized that we had a minor bug in the class that...
Jon Cole
Simple Message Framing Sample for TCP Socket
Posted
over 7 years ago
by
JonCole
11
Comments
A common misunderstanding for developers new to network programming over TCP sockets is how messages are sent and received. I frequently hear the statement that "my data is not arriving on the other side of the socket in the same format that I sent it...
Jon Cole
Managed classes to view/manipulate the Windows Firewall
Posted
over 8 years ago
by
JonCole
11
Comments
I have been needing a set of classes to give me access to the settings for the Windows Firewall. I did a quick search and didn't find much that would help me in my quest to view or manipulate these settings, so I ended up writing my own managed wrapper...
Jon Cole
Sample Asynchronous SslStream Client/Server Implementation
Posted
over 6 years ago
by
JonCole
11
Comments
I was recently asked about sample code for the System.Net.Security.SslStream using the asynchronous APIs. I searched the web and couldn't find anything significant, so I decided to write some that included the asynchronous usage of the TcpListenter and...
Jon Cole
Fix available for SMSvcHost.exe Event Log ID 8 issue
Posted
over 2 years ago
by
JonCole
7
Comments
A fix for the SMSvcHost.exe Event ID 8 issue described here has now been published. The download can be found at here: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=35626 .
Jon Cole
SMSvcHost.exe Event Log ID 8 - An error occurred while dispatching a duplicated socket: this handle is now leaked in the process
Posted
over 3 years ago
by
JonCole
6
Comments
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...
Jon Cole
HttpWebRequest and Expect 100 Continue
Posted
over 8 years ago
by
JonCole
6
Comments
How do the ServicePointManager.Expect100Continue and ServicePoint.Expect100Continue properties change the behavior of my HttpWebRequest? This is a question that seems to come up from time to time and I thought I would give a little more information. ...
Jon Cole
Simple Message Framing Sample for TCP Socket - Part 2 (Asynchronous)
Posted
over 7 years ago
by
JonCole
6
Comments
As a follow up to my last post ( http://blogs.msdn.com/joncole/archive/2006/03/20/555721.aspx ) I decided to add some sample code for implementing an asynchronous version of ReadMessage. All of the same rules apply as discussed in my previous post, but...
Jon Cole
Suggested Practices for proxy configuration when using System.Net.HttpWebRequest
Posted
over 7 years ago
by
JonCole
2
Comments
I have periodically received questions on how to configure code using HttpWebRequest in an application that may be run in multiple types of environments (home user, corporate domain, with or with out a proxy, etc). This is what I would suggest. ...
Jon Cole
Creating a Process Memory Dump
Posted
over 6 years ago
by
JonCole
2
Comments
When trying to help customers debug some issues it is periodically necessary to get a memory dump (snapshot) of a process for analysis at another time or place. This is frequently the case when an error is intermittent or a live debug session is not feasible...
Jon Cole
Impersonation code in C#
Posted
over 4 years ago
by
JonCole
2
Comments
While investigating a customer issue, I needed code to impersonate a different user on the current thread. A quick search of the msdn blogs turned up this post , which got me most of the way there. I decided to wrap the code into a class that inherits...
Jon Cole
TCP Port sharing - Access is denied
Posted
over 3 years ago
by
JonCole
2
Comments
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...
Jon Cole
Server-side Tcp Connection pooling
Posted
over 3 years ago
by
JonCole
0
Comments
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...
Jon Cole
WCF Keep Alive Channel
Posted
over 2 years ago
by
JonCole
0
Comments
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...
Jon Cole
New MSDN articles about WCF and WF
Posted
over 2 years ago
by
JonCole
0
Comments
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...
Jon Cole
HttpWebRequest and Authentication - Part 1
Posted
over 8 years ago
by
JonCole
0
Comments
Authentication over HTTP is a way for a client to prove its identity to the server so that it can gain access to a resource. In this series I will discuss the various types of authentication to servers and to proxy servers. I assume you have a basic understanding...
Jon Cole
Be consistent in your configuration
Posted
over 6 years ago
by
JonCole
0
Comments
I recently worked with a customer using BizTalk 2004. They were experiencing some very odd behavior where a WebService client would call into a BizTalk WebService and experience a long wait before the client finally got a timeout error. The timeout happend...
Page 1 of 1 (17 items)