A Matter of State, Part 3

The previous 2 posts discussed using the Page and Application State Dictionaries to restore state following the application being tombstoned, as well as some other potential uses for the Application State Dictionary.  This final post in the series will cover the user of Isolated Storage from Windows Phone applications. Isolated Storage Basics Isolated Storage provides…

A Matter of State, Pt 2

The previous post discussed using the Page State Dictionary to restore a page’s state when navigating back to that page following the application being tombstoned. This post will discuss the use of the Application State Dictionary, and the final post in the series will discuss using Isolated Storage. The Application State Dictionary The Application State…

Random Cool Things

In the last week or so, there’s been a number of interesting emails pass through my inbox. So interesting in fact, I wanted to make sure to share them. Aren’t those Code Metrics for .NET in Visual Studio great? I find them very helpful to give me interesting insights into code as I’m in the…

Using Home Server? Be Careful with the WHS V1 Update Release 2 (KB981089)

As I always have Process Explorer running in tray area, I noticed that with my computer doing nothing, the CPU icon was showing constant 10%-12% CPU utilization. It was one of the many SRVHOST.EXE processes, and running the RPC Endpoint Mapper Service and the Remote Procedure Call Service. Looking at it deeper, I saw there…

A Matter of State, Part 1

The Windows Phone platform offers several mechanisms for preserving your application’s state…the key is knowing which one to use when, and why.  I’m going to try to provide some guidance to help answer those questions. First things first – there are 3 key mechanisms provided for saving application state on the phone (4 if you…

Install a New Virtual Directory to Default Web Site with WiX

Sometimes the internet is totally awesome and other times it’s a complete morass of “how come I can’t find anything?” Recently, I needed to build a quick installer that did nothing more than install new virtual directory under the ubiquitous Default Web Site. I thought installing a basic web site would have been a very…

Using the Location Service in Silverlight for Windows Phone

One of the most exciting features of the Windows phone from a developer’s perspective is the location service. The location service is a set of APIs that rely on Assisted-GPS (A-GPS), Wi-Fi Positioning System (WPS), and cell-site triangulation to expose location data to an application. Simply put, this means that a Windows phone app can…

Using the Accelerometer in Silverlight for Windows Phone

One of the sensor devices present in every Windows phone is an accelerometer that provides real-time acceleration data in the X, Y, and Z directions. Applications can use that data to determine a phone’s 3D spatial orientation, and to detect changes in that orientation. Under the hood, Silverlight for Windows Phone uses the accelerometer to…

New Hampshire .Net (Concord) User Group Presentation Materials

I have uploaded the content from my Introduction to Windows Phone 7 Development with Silverlight talk at the New Hampshire (Concord) .Net User Group meeting last night in Concord.  The content can be found here, and includes: ·     Presentation slides, which include the reference links I mentioned during the talk. ·     The sample code, broken into 2…

Building Touch Interfaces for Windows Phones, Part 4

The first three articles in this series presented three different ways to respond to touch input in Windows phone apps: mouse events, Touch.FrameReported events, and manipulation events. In this, the fourth and final installment, we’ll discuss a means for processing touch input that trumps all three – namely, the GestureListener class in the Silverlight for…

Building Touch Interfaces for Windows Phones, Part 3

In Part 1 and Part 2 of this series, I described how to build touch interfaces for phone apps using mouse events and Touch.FrameReported events. Part 3 presents yet another way to respond to touch input: manipulation events. Manipulation events originated in WPF, and they’re substantially richer in WPF than in Silverlight for Windows Phone.…

Jounce Part 10: Visual State Manager

One of the most common questions I get about Jounce is how to handle transitions, since the ContentControl immediately swaps out content. There are some third-party solutions, such as the TransitioningContentControl from the Silverlight toolkit, but Jounce can also handle this right out of the box. Take a look at an example: View example in…