共用方式為


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...

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...

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...

Date: 12/09/2011

How to find the MTU on a NIC?

netsh interface ipv4 show subinterfaces

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...

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...

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...

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...

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...

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...

Date: 10/04/2010

How to throttle callbacks or completions?

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

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...

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...

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...

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...

Date: 08/05/2010

WCF Broker Overview

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

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...

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...

Date: 07/26/2010

Errorlevel and Findstr

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

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...

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 :...

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...

Date: 01/29/2010

PDC09: Windows Workflow Foundation 4 from the Inside Out

Note: Cross posted from Sajay. Permalink

Date: 11/24/2009

WCF vs Windows Web Services (WWS)

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

Date: 11/19/2009

WCF Performance Counters

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

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...

Date: 09/03/2009

HTTP polling duplex - Performance

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

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...

Date: 08/28/2009

WCF 4: AddDefaultEndpoints

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

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....

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...

Date: 08/14/2009

Channel9: Monitoring WF Services

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

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...

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...

Date: 07/21/2009

What to Measure?

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

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...

Date: 06/09/2009

The Channel Pump

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

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...

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...

Date: 06/09/2009

Lock Free iterator

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

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...

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...

Date: 06/09/2009

WCF Configuration Manager

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

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...

Date: 02/05/2009

Tips on matching you Bindings

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

Date: 02/05/2009

Softwear!!!!

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

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...

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...

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...

Date: 10/29/2008

Next>