Sajay's Blog

Life, The Universe and Everything Distributed.

Sample ETW trace for WCF

You can see How do I collect an ETL trace for WF/WCF? for the commands or you can download the...

Author: Sajay Antony Date: 01/23/2013

Introducing SvcPerf - An End-to-End trace Analysis tool for WCF

Standardizing on ETW In 4.5 we introduced ETW tracing for WCF. In the past couple of months we have...

Author: Sajay Antony Date: 01/18/2013

Efficient Buffer management – Reduced LOH allocation

BufferPools https://kennyw.com/indigo/51 I’m going to talk about the internals of WCF Bufferpooling...

Author: Sajay Antony Date: 12/09/2011

How to find the MTU on a NIC?

netsh interface ipv4 show subinterfaces

Author: Sajay Antony Date: 04/19/2011

Debugging Assembly loading

Does a referenced assembly get loaded if no types in the assembly are “not used”? The term used is...

Author: Sajay Antony Date: 01/07/2011

How do I find all the ETW sessions on the machine?

logman is your tool for this. Here is how you can query for all the sessions and also how to see...

Author: Sajay Antony Date: 11/18/2010

Checkin #199390

Here is something for you performance guys. This was a hard one to crack but. Let me know what you...

Author: Sajay Antony Date: 11/12/2010

Linq over Excel

I was writing a tool and needed to quickly query an excel sheet. I’m not diving into linq but...

Author: Sajay Antony Date: 11/03/2010

Are connections pools shared between ChannelFactories?

NO!! You can find out about the connection Pool settings here and you can check Kenny’s post...

Author: Sajay Antony Date: 10/16/2010

How to synchronize multiple threads?

In certain load tests you want to make sure a bunch of threads reach a particular state before they...

Author: Sajay Antony Date: 10/04/2010

How to throttle callbacks or completions?

WCF enables throttling execution of operations but not their completions. This becomes and issue...

Author: Sajay Antony Date: 09/24/2010

How to collect stacks during context switches?

With xperf being more and more adopted and with rich stackwalking capabilities, its only natural to...

Author: Sajay Antony Date: 09/10/2010

How to optimize Message Copy using CreateBufferedCopy?

Problem Statement Some broker implementations require creating a copy the message forwarding it over...

Author: Sajay Antony Date: 08/18/2010

Router Implementation – Message Forwarding – Copy/Pass through

For greater flexibility our router can be something like a pass through router. If we are just...

Author: Sajay Antony Date: 08/13/2010

Router Implementation – Strong Typed with Message Forwarding

I use the term broker and router very loosely here since they follow very similar guidelines as...

Author: Sajay Antony Date: 08/05/2010

WCF Broker Overview

A broker is usually a central point for message forwarding and pass-through for clients and backend...

Author: Sajay Antony Date: 08/03/2010

Fixed Ideologies and Message exchange patterns

I had never thought that I would actually write about a topic like this but sometimes you want to...

Author: Sajay Antony Date: 07/29/2010

How to change the IdleTimeout/LeaseTimeout on NetTcpBinding?

To modify properties that are not exposed on the standard binding we can create a CustomBinding from...

Author: Sajay Antony Date: 07/26/2010

Errorlevel and Findstr

ErrorLevel is not %ERRORLEVEL% . This is probably the first one you should read. Next is the usage...

Author: Sajay Antony Date: 07/12/2010

Pipe your command or an output to the clipboard.

If you ever wanted to copy over a really long multiline dos command or output, what would you...

Author: Sajay Antony Date: 06/25/2010

Powershell Script to create an MSMQ

Here is a script to quickly create and delete queues. This was based out of this post.Usage :...

Author: Sajay Antony Date: 03/18/2010

How to create a custom binding from a StandardBinding?

WCF gives a very rich set of standard bindings that you can use for your endpoints. However we might...

Author: Sajay Antony Date: 01/29/2010

PDC09: Windows Workflow Foundation 4 from the Inside Out

Note: Cross posted from Sajay. Permalink

Author: Sajay Antony Date: 11/24/2009

WCF vs Windows Web Services (WWS)

Note: Cross posted from Sajay. Permalink   Here was an interesting set of questions comparing...

Author: Sajay Antony Date: 11/19/2009

WCF Performance Counters

Note: Cross posted from Sajay. We generally need to have a quick set of performance counters to...

Author: Sajay Antony Date: 09/14/2009

How do I get the Message Body as an XElement?

Note: Cross posted from Sajay. Permalink This was one was interesting as the service was exposed as...

Author: Sajay Antony Date: 09/03/2009

HTTP polling duplex - Performance

Note: Cross posted from Sajay. Permalink Really good article on Performance of HTTP polling duplex...

Author: Sajay Antony Date: 08/28/2009

Applying behaviors on the client channel

Note: Cross posted from Sajay. Permalink When we need to modify or see the message before its sent...

Author: Sajay Antony Date: 08/28/2009

WCF 4: AddDefaultEndpoints

Note: Cross posted from Sajay. Permalink Here is another little goodie we have which will help in...

Author: Sajay Antony Date: 08/17/2009

How do I get the workflow InstanceId?

Note: Cross posted from Sajay. Permalink You can use a CodeActivity that returns a single result....

Author: Sajay Antony Date: 08/14/2009

Hello World Workflow Service 4.0

Note: Cross posted from Sajay. Permalink Building a workflow service using 4.0 gives a very neat set...

Author: Sajay Antony Date: 08/14/2009

Channel9: Monitoring WF Services

Note: Cross posted from Sajay. Permalink 10-4 Episode 24: Monitoring Workflow Services by Ron Jacobs...

Author: Sajay Antony Date: 08/04/2009

Concurrent Receives - MaxPendingReceives

Note: Cross posted from Sajay. Permalink One of the performance improvements we did with WCF 4.0 was...

Author: Sajay Antony Date: 08/03/2009

ServiceThrottlingBehavior defaults for .NET 4

This is one of the new updates that you will find with the .NET 4 installation. This was a decision...

Author: Sajay Antony Date: 07/21/2009

What to Measure?

Note: Cross posted from Sajay. Permalink     If it doesn't run fast at first, it will...

Author: Sajay Antony Date: 06/13/2009

Performance Testing for Web application - NeXpert

Note: Cross posted from Sajay. Permalink Here is a quick way to get an idea of how long your...

Author: Sajay Antony Date: 06/09/2009

The Channel Pump

Note: Cross posted from Sajay. Permalink Deep dive - Nicholas Allen's talk on WCF performance and...

Author: Sajay Antony Date: 06/09/2009

AsyncResults and IAsyncResults

Note: Cross posted from Sajay. Permalink Here is a deep dive on of how to implement your AsyncResult...

Author: Sajay Antony Date: 06/09/2009

How to use an AsyncResult?

Note: Cross posted from Sajay. Permalink I have a much longer article in mind for this and will be...

Author: Sajay Antony Date: 06/09/2009

Lock Free iterator

Note: Cross posted from Sajay. Permalink Most common data structures are usually meant for single...

Author: Sajay Antony Date: 06/09/2009

Find processes that have open handles to your files - Powershell

Note: Cross posted from Sajay. Permalink This seemed like a really nice mix of handle.exe from...

Author: Sajay Antony Date: 06/09/2009

How can I create a binding instance from a configuration name?

Bindings (such as BasicHttpBinding, WSHttpBinding etc.) have a have a constructor that take the...

Author: Sajay Antony Date: 06/09/2009

WCF Configuration Manager

Note: Cross posted from Sajay. Permalink Finally after about 3 releases of WCF we got a...

Author: Sajay Antony Date: 06/09/2009

Speaking at Techready

*** MOVED to https://www.sajay.com/post/2009/02/05/Speaking-at-Techready.aspx This was my first time...

Author: Sajay Antony Date: 02/05/2009

Tips on matching you Bindings

Have you ever tried to get CustomBindings equivalent to a StandardBinding or vice versa. Well...

Author: Sajay Antony Date: 02/05/2009

Softwear!!!!

Note: this entry has moved.  There is no way you can not remember the days when you though...

Author: Sajay Antony Date: 12/06/2008

The EventLog and Message limits

Note: this entry has moved.Sometimes I have to fix certain issues in BizTalk and during one of these...

Author: Sajay Antony Date: 12/03/2008

Bird is leaving the blogs.msdn.com nest

After quite a lot of hard work I finally managed to move and aggregate stuff and so have moved onto...

Author: Sajay Antony Date: 11/04/2008

Synchronous execution in WF

My previous post points to those of you who want a first look at WF 4.0. This post focuses more on...

Author: Sajay Antony Date: 10/29/2008

Next>