Monthly Archive for December, 2009

How to capture a Netmon Trace for net.tcp

This is the command you can use to do an automated 5 second network capture using netmon for default net.tcp traffic on any stack such as wcf or Sapphire. The default net.tcp port is 808 so thats what we use here.

[code:c#] nmcap /network * /capture tcp.port == 808 /startwhen /timeafter 0 sec /stopwhen /timeafter 5 sec /file output.cap [/code]

  • You can download network monitor from here 
  • Check out this post incase you are not aware of nmcap.

How to implement a service and client using Windows Web Services (wwsapi)?

Here are some quick walkthroughs on how you can write native services and consume web services natively.

For the samples you can get the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1