WinRT vs. Silverlight - Part 5 - Defining default style template
See intro blogpost here.Here's something that's actually NOT different in Silverlight (but it's different from WPF as it has always been). You declare your style using DefaultStyleKey. This means the...
View ArticleWinRT vs. Silverlight - Part 6 - Using Tasks
See intro blogpost here.When you start working with WinRT, you start seeing classes missing or changed. A lot of methods are now only asynchronous, like making a web request, opening, reading and...
View ArticleWinRT vs. Silverlight - Part 7 - Making WebRequests
See intro blogpost here.In Silverlight and WPF you are probably used to using WebClient to perform downloads. This is a simple class for doing download/upload string or retrieving a response stream...
View ArticleCorrectly displaying your current location
With GPS receivers integrated in phones, tablets and PCs, a lot of apps are being built that displays your current location. Usually the GPS API’s that these devices come with provides you with two...
View ArticleWinRT vs. Silverlight - Part 8 - What other people are blogging
See intro blogpost here.Over the last few months several other people have been writing blog posts covering the transition from WPF/Silverlight/WP7 to WinRT. Below are some of the ones I’ve stumbled...
View ArticleWhy Silverlight 5’s 3D is (almost) useless
So Silverlight 5 finally hit the web this week, and there’s a lot of cool new features – some of which I’m very excited about, but probably the biggest feature ever added - the 3D XNA API that allows...
View ArticleOverwriting the default WebRequest used by WebClient
In Silverlight/WPF and WPF there’s today a WebClient class for making webrequests. Under the covers it creates HttpWebRequest for sending the request and HttpWebResponse for handling the response...
View ArticleWhy Custom Controls are underrated
I’m a big fan of building controls. I love writing them, designing them, trying to make it work in as many scenarios I can while keeping them simple, extensible and most importantly reusable. In fact...
View ArticleRunning a Storyboard as a Task
Sometimes you have some code that needs to run after a storyboard has completed. In my case I'm working on a little board game, and after each move (which I animate using a Storyboard), I need to...
View ArticleHacking the Silverlight Unit Tests to support returning Task
The Silverlight/Windows Phone unit test framework has always supported running asynchronous tests – a feature that until recently wasn’t there in WPF without jumping some really ugly (and flaky) hoops....
View ArticleWinRT vs. Silverlight - Part 5 - Defining default style template
See intro blogpost here.Here's something that's actually NOT different in Silverlight (but it's different from WPF as it has always been). You declare your style using DefaultStyleKey. This means the...
View ArticleWinRT vs. Silverlight - Part 6 - Using Tasks
See intro blogpost here.When you start working with WinRT, you start seeing classes missing or changed. A lot of methods are now only asynchronous, like making a web request, opening, reading and...
View ArticleWinRT vs. Silverlight - Part 7 - Making WebRequests
See intro blogpost here.In Silverlight and WPF you are probably used to using WebClient to perform downloads. This is a simple class for doing download/upload string or retrieving a response stream...
View ArticleCorrectly displaying your current location
With GPS receivers integrated in phones, tablets and PCs, a lot of apps are being built that displays your current location. Usually the GPS API’s that these devices come with provides you with two...
View ArticleWinRT vs. Silverlight - Part 8 - What other people are blogging
See intro blogpost here.Over the last few months several other people have been writing blog posts covering the transition from WPF/Silverlight/WP7 to WinRT. Below are some of the ones I’ve stumbled...
View ArticleWhy Silverlight 5’s 3D is (almost) useless
So Silverlight 5 finally hit the web this week, and there’s a lot of cool new features – some of which I’m very excited about, but probably the biggest feature ever added - the 3D XNA API that allows...
View ArticleOverwriting the default WebRequest used by WebClient
In Silverlight/WPF and WPF there’s today a WebClient class for making webrequests. Under the covers it creates HttpWebRequest for sending the request and HttpWebResponse for handling the response...
View ArticleWhy Custom Controls are underrated
I’m a big fan of building controls. I love writing them, designing them, trying to make it work in as many scenarios I can while keeping them simple, extensible and most importantly reusable. In fact...
View ArticleRunning a Storyboard as a Task
Sometimes you have some code that needs to run after a storyboard has completed. In my case I'm working on a little board game, and after each move (which I animate using a Storyboard), I need to...
View ArticleHacking the Silverlight Unit Tests to support returning Task
The Silverlight/Windows Phone unit test framework has always supported running asynchronous tests – a feature that until recently wasn’t there in WPF without jumping some really ugly (and flaky) hoops....
View Article