Silverlight Memory Leaks and AutomationPeers
Using a memory profiling tool such as ANTS Memory Profiler from Red-Gate or MemProfiler from SciTech Software (I’m sure there others, but those were the only two I found that can profile a Silverlight...
View ArticleYet another way to attach ViewModels to Views
Throughout the short history of the MVVM design pattern, several methods have originated for populating Views with their ViewModels. One of the most common methods is to use one of the frameworks...
View ArticleWhere’s my DataContext?
Every now and then a question comes up concerning a missing DataContext. The questions usually center around a ViewModel being set to a View properly, but then developer can not bind some command or...
View ArticleThe Cascade Game: From Silverlight to HTML5 (part 1)
A few years ago I played a game on Facebook that had a simple premise, but became quite addictive for a while. It consisted of progressing levels of spheres in which the player was tasked with...
View ArticleThe Cascade Game: From Silverlight to HTML5 (part 2)
Game Loops and Timer-Based Animations Previous Entries in Series Part 1 – Introduction and Game Layout My next short term goal was to get some of spheres to show and animate. And that was going to...
View ArticleWorking with PivotViewer and the CxmlCollectionSource
Microsoft’s PivotViewer control is an amazing tool for visualizing data and creating a unique UI for your application. The one issue everyone seems to have with it, however, is its lack of styling...
View ArticleProgrammatically uninstalling Silverlight Out-Of-Browser Application
Every once in a while there comes a need to provide a mechanism to uninstall your application programmatically. For Silverlight Out-Of-Browser applications , there seemed to be no way to accomplish...
View ArticleWindows 8 GridView and Variable-Sized Items
The GridView control is one of the most used layout controls within Windows 8 Store applications. By using the Grid App project template with Visual Studio 2012, your first page will look similar to...
View ArticleHey, Who Stole All My Memory?
Sometimes a little piece of seemingly innocuous code can cause a significant amount of trouble: public byte[] Serialize(object o) { using (var stream = new MemoryStream()) {...
View ArticlePooling Buffers for Better Memory Management
Occasionally, you need a more robust solution to solve a problem. In my last post, I wrote about the horrors of this small code snippet: public byte[] Serialize(object o) { using (var stream = new...
View Article
More Pages to Explore .....