Introduction

The .NET Compact Framework 1.0 and GUID.NewGuid(). . . that’s where it all began . . . or rather didn’t, as I was discouraged from really getting started at that point. The problem was that the static NewGuid method returned an empty string. Many trade-offs were made in the PocketPC operating system and the initial version of the Compact Framework in order to strike a balance between performance, footprint, and time to market. Several of the Windows API functions upon which NewGuid relied were not included in PocketPC, and the Compact Framework didn’t implement an alternative, so you just ended up with not so much as a NotImplementedException for your troubles. Just an empty string. The prescribed workaround took you on a journey ...

Get Windows Phone 8 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.