Exploiting a bug in XBox Live Sudoku for Windows Phone 7

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 cheats you can use to make the game easier. I don’t see why I need to make sudoku easier since the whole point of…

0

Request threading in ASP.NET and WCF

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 is sent to a WCF service hosted in IIS. This…

4

IIS Express saved my presentation

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 of us from the AppFabric/WCF/WF team were able to…

3

Silverlight and WCF Web API Preview 4

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 shortcomings though is the lack of Silverlight support. In Silverlight you can definitely…

4

WCF scales up slowly with bursts of work

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 article provides a lot of good information about when this would apply to…

14

Reflector

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 from Lutz Roeder, I felt that it was only a…

1

Automatic Decompression in WCF

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 if you’ve got a WCF web-hosted service on a W2K8R2 server using an…

1

Cannot print from IE9

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 Code: 0 URL: res://ieframe.dll/preview.js It gives you the option to keep running…

9

Server too busy exception

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 WCF throttle limit. Server too…

0

Protocol Buffers and WCF

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 apply to many people’s situations. Instead of compressing messages after they are built, it would be…

5