Sign In
MSDN Blogs
Microsoft Blog Images
More ...
Follow me on Twitter
Follow @DustinMetzgar
Common Tasks
Blog Home
Email Blog Author
RSS for comments
RSS for posts
Atom
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
AppFabric
ASP.Net
AtomicTransaction
BitLocker
Compression
Debugging
Diagnostics
Disassembly
IE9
Latency
Performance
Silverlight
SysInternals
Transactions
Virtual Machine
WCF
WCF Web API
WF
Windbg
Windows
Archives
Archives
May 2012
(1)
August 2011
(1)
June 2011
(2)
May 2011
(2)
April 2011
(4)
March 2011
(6)
February 2011
(5)
January 2011
(3)
December 2010
(3)
November 2010
(2)
Blog - Link List
Blogs I Read
The .Net Endpoint
If broken it is, fix it you should
Nicholas Allen's Indigo Blog (inactive)
Wenlong Dong's Blog
Sajay's Blog
Mark Russinovich's Blog
Carlos Figueira's blog
MSDN Blogs
>
Dustin Metzgar's blog
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dustin Metzgar's blog
Riddles and Microsoft Interviews
Posted
9 days ago
by
Dustin Metzgar
2
Comments
Disclaimer : This post is an opinion piece and I am not speaking on behalf of Microsoft or our HR department. In the past, Microsoft interviews involved riddles or brainteasers and were a source of anxiety for interview candidates. These are questions...
Dustin Metzgar's blog
Exploiting a bug in XBox Live Sudoku for Windows Phone 7
Posted
9 months ago
by
Dustin Metzgar
0
Comments
Not too long ago, Microsoft released two free games for Windows Phone 7: Sudoku and Minesweeper. More info here: http://www.winrumors.com/sudoku-and-minesweeper-released-for-windows-phone-7/ The Sudoku app has this notion of "power-ups" which are little...
Dustin Metzgar's blog
Request threading in ASP.NET and WCF
Posted
11 months ago
by
Dustin Metzgar
2
Comments
From the perspective of a WCF developer, the interaction between WCF and ASP.NET can be a black box. But to understand the performance of a system, it is necessary to know how all the components interact. This post covers how threads work when a request...
Dustin Metzgar's blog
IIS Express saved my presentation
Posted
11 months ago
by
Dustin Metzgar
3
Comments
Our team just got back from a fun trip to Portland, OR to attend the Portland Code Camp . Glenn Block did a great job of putting this together and it was an exciting opportunity to meet developers outside of the Microsoft bubble. A fairly large group...
Dustin Metzgar's blog
Silverlight and WCF Web API Preview 4
Posted
over 1 year ago
by
Dustin Metzgar
4
Comments
The WCF Web API is a pretty exciting new offering from our team. The simplicity of creating and consuming a service is quite compelling. Especially considering that you can take advantage of the infrastructure surrounding HTTP and the web. One of the...
Dustin Metzgar's blog
WCF scales up slowly with bursts of work
Posted
over 1 year ago
by
Dustin Metzgar
1
Comments
A few customers have noticed an issue with WCF scaling up when handling a burst of requests. Fortunately, there is a very simple workaround for this problem that is covered in KB2538826 (thanks to David Lamb for the investigation and write up). The KB...
Dustin Metzgar's blog
Reflector
Posted
over 1 year ago
by
Dustin Metzgar
1
Comments
There has been a lot of uproar over Red Gate's recent decision to charge for the .Net Reflector tool. As a Microsoft employee that spends a lot of time with performance and debugging tools, Reflector is essential. When Red Gate bought the rights to Reflector...
Dustin Metzgar's blog
Automatic Decompression in WCF
Posted
over 1 year ago
by
Dustin Metzgar
1
Comments
WCF services that are hosted in IIS can take advantage of compression without making any special encoder changes . In Windows Server 2008 R2, IIS compression is actually turned on by default and WCF as of .Net 4.0 supports decompression by default. So...
Dustin Metzgar's blog
Cannot print from IE9
Posted
over 1 year ago
by
Dustin Metzgar
8
Comments
Last night I ran into an issue where I couldn't print from IE9. However, I could print from other programs. If the webpage initiated the print, then I got the following script error: Line: 2107 Char: 1 Error: Invalid procedure call or argument...
Dustin Metzgar's blog
Server too busy exception
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
The "Server too busy" error is a common one that causes a lot of confusion when related to WCF. It is possible for WCF to respond with a server too busy fault when a quota is exceeded in the security layer. However you wouldn't get this when you hit a...
Dustin Metzgar's blog
Protocol Buffers and WCF
Posted
over 1 year ago
by
Dustin Metzgar
4
Comments
WCF performance has many aspects. In the previous series I explored how using GZip/Deflate compression can increase performance in areas with low network latency. However, the penalty is that the CPU utilization is much higher. Therefore, it does not...
Dustin Metzgar's blog
Compressing messages in WCF part four - Network performance
Posted
over 1 year ago
by
Dustin Metzgar
2
Comments
The aim of compressing the messages sent from a WCF service is to reduce the amount of traffic on the wire. You could be doing this because you're in a hosted environment such as a cloud service and you have to pay for bandwidth. The tradeoff for compression...
Dustin Metzgar's blog
Compressing messages in WCF part three - Performance analysis
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
In this post, I will run a client and service with the GZipMessageEncoder on the same machine and analyze the performance. The WCF sample application for GZipMessageEncoder has been suitable up until now for functional testing. For performance testing...
Dustin Metzgar's blog
Compressing messages in WCF part two - Expanding the GZipMessageEncoder and fixing another bug
Posted
over 1 year ago
by
Dustin Metzgar
2
Comments
The GZipMessageEncoder is a great sample for learning about MessageEncoders in general. In this post, I will expand the GZipMessageEncoder to do both GZip and Deflate compression. This will accomplish two things: (1) explain various pieces of a MessageEncoder...
Dustin Metzgar's blog
Compressing messages in WCF part one - Fixing the GZipMessageEncoder bug
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
The compression options for WCF out of the box are limited in .Net 4.0. However, a sample is provided for GZip compression that shows you how to write your own MessageEncoder that can wrap the output of another encoder and apply GZip to the messages....
Dustin Metzgar's blog
StreamUpgradeProvider
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
The StreamUpgradeProvider in WCF is not a well-known extension point. Nicholas Allen has a great set of blog posts describing how to use this. You can start reading that with this post: http://blogs.msdn.com/b/drnick/archive/2006/09/07/stream-upgrades_2c00_...
Dustin Metzgar's blog
WF4 instance state size is smaller than WF3
Posted
over 1 year ago
by
Dustin Metzgar
1
Comments
Part of the performance enhancements made in WF4 are in the size of the workflow instance state. There are a number of contributing design decisions: Separation of workflow definition from workflow instance - I like to think of this as the separation...
Dustin Metzgar's blog
Things about my Windows Phone 7 that drive me crazy
Posted
over 1 year ago
by
Dustin Metzgar
4
Comments
Microsoft has offered employees free Windows Phone 7 phones. This means a lot of people around the office are carrying them now. Before that, if there was any one most popular device it was the iPhone. I also had a first-gen iPhone before switching to...
Dustin Metzgar's blog
Workflow performance tips: long-running custom activities
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
Custom activities that perform long-running work can affect workflow performance in unexpected ways. Understanding WF's threading model and scheduler can help activity authors make informed decisions about their code. This post intends to shed some light...
Dustin Metzgar's blog
Workflow performance tips: custom CacheMetadata
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
When writing custom activities for WF4, the latest revision of Windows Workflow, new to the .Net 4.0 Framework, you can cut some performance costs by overriding the CacheMetadata method. By default, CacheMetadata will use reflection to determine what...
Dustin Metzgar's blog
Checking a dump file for WCF throttles
Posted
over 1 year ago
by
Dustin Metzgar
5
Comments
The ServiceModel performance counters can tell you how many concurrent calls, instances, and sessions you have. In .Net 4.0, more counters were added to tell you how close you are to the throttles for each of those categories. So if you're trying to performance...
Dustin Metzgar's blog
Slow AppFabric demo part two
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
In the previous article, we began analyzing the first portion of the timeline, which is where IIS starts up the process. In this, I pointed out that 16% of the sampled time was spent in page faults. Sampling does not always give us the whole story though...
Dustin Metzgar's blog
Slow AppFabric demo part one
Posted
over 1 year ago
by
Dustin Metzgar
3
Comments
Back in the early days of AppFabric, when it was still just Dublin and Velocity, a demo was given to the management team that started with a simple xamlx workflow. You can probably imagine the concern as a room full of managers silently waited for this...
Dustin Metzgar's blog
The configuration for an element within the object is invalid in the boot configuration data store.
Posted
over 1 year ago
by
Dustin Metzgar
0
Comments
I recently received this error when trying to use the Native VHD boot feature of Windows 7: The configuration for an element within the object is invalid in the boot configuration data store. There are a few things that could cause this but I suspect...
Dustin Metzgar's blog
First async call from WCF client always takes more than 1 second
Posted
over 2 years ago
by
Dustin Metzgar
0
Comments
This is one of the first issues I got to investigate on the WCF/WF performance team. Customers reported that (in .Net 3.5 and earlier), the first asynchronous call from a WCF client was taking over 1 second each time, even with synchronous calls happening...
Page 1 of 2 (29 items)
1
2