Tag Archives: Mini-Tutorial
The LINQ Zip Operator
LINQ I am a strong believer that .NET programmers in general, and Windows Phone programmers in particular need to become proficient in LINQ. As part of that belief and commitment to the Windows Phone community, I have created a series … Continue reading
Send Toast Made Easy
Mango From Scratch In a follow up to yesterday’s article about Tile Notifications, let’s take a look at sending Toast Notifications. You’ll remember that we had two projects yesterday, SendTileServer and TilesNotificationClient. Today we’ll create SendToastServer and ToastNotificationsClient. The parallels … Continue reading
Tile Notifications Made Easy
Mango From Scratch This posting is a rip-off. Specifically, I steal liberally from the MSDN documentation, but my goal is to mix together and distill a great deal of information down to the essentials to provide you with a clear … Continue reading
LINQ: The overloaded Contains Operator
A LINQ Tutorial As part of my continuing (and occasional) series of mini-tutorials on LINQ this posting will consider the overloaded Contains operator. This operator allows you to check whether a list contains a given value, as illustrated in the … Continue reading
BingMapsTask in Mango
Mango From Scratch It turns out that launching Bing Maps, even with Search terms and setting the zoom level is absurdly easy, using the new BingMaps task. I used it to search for donuts in the Boston area (and came … Continue reading
Secondary Tiles– Part 1: Creation
Mango From Scratch Tiles come in two flavors: Application Tiles and Secondary Tiles. The secondary tile is always created programmatically, typically based on an interaction with the user. Secondary tiles are often used to provide user-specific data such as the … Continue reading
Managing Resources with Reactive Extensions
Reactive Extensions While Reactive Extensions will clean up after itself, it is still your responsibility to manage limited resources, and to dispose of any unmanaged resources. You can, however, use a variant on the using statement with Observables.
Managing the Back Stack
Mango From Scratch In a previous posting, I discussed creating Reminders. One little known feature of reminders is that you can click on the Reminder to return to the original application (the application in which you set the Reminder). For … Continue reading
Persisting an image
Windows Phone From Scratch In our Full Stack program we need to take a snapshot and persist it to isolated storage, for retrieval at a later time. This posed an interesting question: how do you put an image into a … Continue reading
Reactive Extensions–FromAsync
Reactive Programming I’ve been struggling with getting my head around the exact relationship between Rx’s approach to asynchronous programming and the traditional Begin/End pattern common in .NET programming. With the help of Paul Betts I created a side by side … Continue reading
LINQ Deferred Execution–Oops!
A LINQ Tutorial Deferred execution can be a lifesaver with LINQ but it can have a downside as well. In this example we set up a LINQ query and then iterate through the results twice. The output may not be … Continue reading
Best Practices For Local Databases
Mango From Scratch I’ve recently written two posts about coding for SQL CE in Mango (the next release of Windows Phone). Sean McKenna, who knows more about this than anyone walking the planet, dropped me an email to remind me … Continue reading