Using LongListSelector without LINQ

The LongListSelector control is an awesome thing, but using it without LINQ I found a tricky business. Here is what I learned. [Updated 11/20 to grossly simplify the code] I am pretty new to Silverlight and to DataBinding, and I was happy when I started a few months ago that I got the a VS Wizard-generated…


Error Reporting on Windows Phone 7

[Minor code update Jan 15 2010] It may come as a surprise to some, but applications sometimes crash. Even mine! On WP7 when an app has an unhandled exception it is killed by the operating system and you, the developer, will be none the wiser. However if you would like to know when your app…


Blu-ray fails to overtake DVD as many predicted

Two years ago Disney predicted that Blu-ray sales would overtake DVD in two years. Like pretty much every prediction about Blu-ray this has failed to occur. In fact the studios have actually reduced the number of BDs they are producing: this year there are actually 10% less BD titles released than in the preceeding 12 months…


Using WCF on Windows Phone 7: Walk-through

  Windows Phone 7 and WCF: a great combination, but can be tricky to get going. Here is how I did it. Internally at Microsoft there has been quite a bit of interest with developers wanting to produce WCF (Windows Communication Framework) applications for Windows Phone 7. Bizarrely I turned out to be one of…


Cheap Video Card for Windows Phone XNA Development

With the release of the RTM version of the Windows Phone 7 developer tools, some folks are running into the video card requirements that block them from running XNA applications in the emulator. I hit this problem on my home machine too, and the solution was this video card for $20 after rebate: http://www.newegg.com/Product/Product.aspx?Item=N82E16814121360 The…


Why Data Breakpoints are Disabled On Restart

Data breakpoints are both incredibly useful when you need them and yet can cause extreme pain under some circumstances. For the latter reason they are always disabled on restart, and here is why. First of what is a data breakpoint? Since at least VS2005 (maybe earlier, I forget) they are hardware breakpoints set using special…


Why Address Breakpoints Are Disabled On Restart

If you set a [native] breakpoint by address, then restart your debugger session the breakpoint will be disabled, unlike most other breakpoint types. This was a deliberate change (in VS2003 or VS2005, I forget which), and here is why. Address breakpoints are not often used if you have matching source and symbols, unless you are…


Andy’s Random KIN Phone Tips Page

Both my wife and I are happy KIN users so I thought I would share some information that might be useful to others about the KIN phones. Note that I am not attempting to replicate or duplicate the official support pages, but instead share additional information. As things come to me I’ll try to add…


Using a UK PayAsYouGo SIM when you are a foreigner

[Updated June 1st to correct ATM information and to add PayPal option] Recently I had the need to buy and use a UK PAYG SIM card for my phone, so I could make calls and access the web in the UK without the gigantic costs involved with my US SIM card. As I am no…


My Secret Project is no longer secret: the KIN phone

Since the demise of HD DVD (RIP) I have been working on the secret “Pink project” at Microsoft, which yesterday had its coming-out party under the name of KIN. Microsoft is usually not good at keeping secrets, so it has been a unusual two years of development for me for that reason. Many Microsoft projects…