Performance Monitor Issues

Performance counters are an essential part of any Windows programmer’s diet. They have been around forever and the infrastructure is rarely updated (last time I think was in Vista). IT pros couldn’t live without them. Performance and stress testing rely on them. They are a very important part of Windows. But there are problems with performance…

1

Dale Carnegie and the Big Bang Theory

A recent episode of The Big Bang Theory struck a chord with me. Having attended a Dale Carnegie (who wrote How to Win Friends and Influence People) course I found it interesting how the character Kripke handled a difficult situation in the show. Kripke and Sheldon were working on the same project and the university required them…

2

Code Snippets in MSDN Blogs

So far in this blog I’ve experimented with several different ways of writing code snippets. My favorite way was to use XtractPro’s syntax highlighter. Unfortunately, the latest version of Telligent seems to resist my efforts by removing all the newlines from my <pre> blocks. That’s why I started using Github Gists. But the problem with…

3

Capturing a profile in production based on ETW events

ETW has many uses. Filtering allows you to get only the events you want and an out-of-process consumer can listen for those filtered events. ETW can also be used for profiling native and managed code. It can sample stacks and mark context switches. That data can be combined with other ETW providers such as the…

0

TFS Power Tools Issues

During a forward integration, it is helpful to get a report of what changes occurred during that time period. This started out being done by hand but programmers hate doing by hand what should be easy to automate. There were many ways to produce the report but the easiest approach I found was to use…

0

The server rejected the session-establishment request

Here is an interesting WCF exception you may have encountered before. In my case we were looking into a performance issue for a client. Environment This setup is pretty common. A set of load-balanced web servers is talking to a load-balanced WCF middle tier. The middle tier interacts with the data source. In this case,…

1

Win8 computer wakes up by itself

One night I’m working at my desk with my computer off. Suddenly my computer turns itself on. I’ve disabled mouse and keyboard inputs from waking it up. The only thing that should wake it from sleep is when I press the power button. Luckily there is a command that can tell you what woke your…

3