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

Posted in Linq, Mini-Tutorial | Tagged | 5 Comments

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

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills, WindowsPhone | Tagged | Comments Off on Send Toast Made Easy

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

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills, WindowsPhone | Tagged | 4 Comments

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

Posted in Data, Linq, Mini-Tutorial | Tagged | 9 Comments

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

Posted in Essentials, Mango, Mini-Tutorial, WindowsPhone | Tagged | 1 Comment

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

Posted in Essentials, Mango, WindowsPhone | Tagged | 2 Comments

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.

Posted in Data, Linq, Mini-Tutorial, Reactive | Tagged | 6 Comments

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

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills, WindowsPhone | Tagged | 2 Comments

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

Posted in Data, Mini-Tutorial, Patterns & Skills, WindowsPhone | Tagged | 23 Comments

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

Posted in Linq, Mini-Tutorial, Reactive | Tagged | 10 Comments

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

Posted in Data, Linq, Mini-Tutorial | Tagged | Comments Off on LINQ Deferred Execution–Oops!

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

Posted in Data, Essentials, Linq, Mango, Mini-Tutorial, Patterns & Skills, WindowsPhone | Tagged | 11 Comments