Jason Mitchell

Archive for the ‘WP7’ Category

Generic Pool Class for Reusing Objects

When I am working with XNA, I frequently found myself writing the same code in order to maintain lists of objects in memory and track free items that can be reinitialized to reduce garbage collection.  Eventually I had enough of doing this and decided to implement a generic Pool class in C# that would take [...]

Working with Isolated Storage in Silverlight

When using Silverlight, developers have no direct access to the file system on a user’s computer.  However Silverlight does use isolated storage as a virtual file system to store data on machines providing the application has the correct file permissions to do so.  Additionally, Windows Phone 7 uses isolated storage for saving data to the [...]

MVVM for Silverlight (Windows Phone 7 App)

For a little while now I’ve had a bit of interest in the Model View ViewModel (MVVM) pattern for Silverlight and WPF so I thought I would finally give it a go and see if I could get an understanding of how to use this pattern.