How to succeed with WPF and Silverlight (Slides from NNUG)
View more presentations from Pål Eie.
RSSReader example code from my NNUG speech (WPF and Caliburn)
November 24 I presented Caliburn and Caliburn.Micro at the .Norwegian .Net User Group community meeting in Stavanger.
In my speech I tried to sum up some of the advantages of using a robust framwork when doing developing in Silverlight or WPF, framworks like: MVVM Light, Caliburn or Caliburn.Micro.
The source code from my speech can be found at filehub.iserialized.com. The example is a fairly simple WPF application, and the GUI it selves sucks, as my focus has been:
- Databinding
- Core Caliburn functionality
- The simplicity of using IoC in the combination WPF and Caliburn
ISA Server error
Struggled with following error yesterday:
Error
The request failed with HTTP status 407: Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to th Web Proxy filter is denied)
Sending parameters with Caliburns ActionMessage
For the last two days we have been struggling with a rather peculiar problem in a Caliburn solution. In a ResourceDictionary we had defined a Popup with a ListBox containing some textblocks and buttons. The buttons are bound to a Presenter (Caliburn v1.1), and we tried to pass a parameter with the Message.
Linq performance, Count() vs Any()
I just came across some very interesting information. Every used the following statement:
if (mysequenece.Count() > 0)
{
//Do something
}
The problem here is the Count() statement which can potentially be very inefficient, as it traverse the whole list to calculate a value. But we reallly don't need the exact count, in most cases we just need to know if there are any values, and hence, we can rather use Any() which is another extension method from Linq.
Upgrading Caliburn
This last week I have looked into more details on how to upgrade a Caliburn v1 project to Caliburn v2. Marco Amendola wrote a very nice post on this back in January 2010, but the Caliburn naming conventions have change a bit since then, and as seen from the checkin-ins, but hopefully not too many "Don't hate me updates" from now as Rob Eisenberg describes them
When I first dived into the upgrade, @EisenbergEffect tweeted me a short list of major/most essential changes in namings:
A visual presentation of Caliburns popularity
With a little tweaking on Google Analytics, I managed to come up with a map overlay of all page view related to Caliburn:

