Geeks With Blogs

News Locations of visitors to this page

Brian Genisio's House of Bilz March 2009 Entries
My ReSharper NUnit Test Templates
Much like my previous post about what I use for testing in Silverlight, I was recently asked on Twitter for my ReSharper NUnit templates. I am posting them here if anyone finds them useful. Basically, I write a LOT of tests every day. These templates allow me to write tests faster. New Test File Template This file template adds a new “Test” target when you say tell Visual Studio to create a new file from template. It populates your file with the correct namespaces and decorations to get you started. ......

Posted On Sunday, March 29, 2009 8:48 PM

My Silverlight Testing Rig
I was recently asked by someone on Twitter to describe my setup for writing tests against my Silverlight application. I thought I would write them down here in case others might find this information useful. Testing Framework: A slightly modified version of NUnit that works with SIlverlight. Mocking Framework: Moq 3.0 includes support for Silverlight. This is my favorite mocking framework, so I am happy that it now supports Silverlight. Test Runner: I use TestDriven.NET to run all of my tests locally. ......

Posted On Saturday, March 28, 2009 11:28 PM

Binding to Resources in Silverlight/WPF
This article is describing how to solve the problem in SIlverlight, but the problem can be solved in WPF using the exact same technique. So, now it is time to internationalize our application. I want to use the built-in "resx" mechanism for i18n in .net, so I create myself a resource file and start adding strings to the table: Visual Studio automatically generates the resource class for me, and I am ready to bind to the data in my XAML: <UserControl.Resources> <l:i18n x:Key="i18n" /> ......

Posted On Sunday, March 15, 2009 2:15 AM

My Silverlight 3 Wish List
I have been developing full time in Silverlight 2 for a few months now. I must say, it is the most fun environment I have ever programmed in. It has been an enabling technology in our product, and I am rather excited to see what comes next. If the pattern continues as I expect it probably will, we will hear all about the features of Silverlight 3 in a few weeks at Mix 09. I will not be attending this conference, but I fully expect to be watching the important sessions virtually. I am hoping for a ......

Posted On Friday, March 6, 2009 9:31 PM

Right-Clicking in Silverlight 2 -- A Refinement
The Problem If you search for "Right Click Silverlight 2" in Google, you will get several hits. There are several ways to achieve this functionality, and they all have two things in common that I object to: 1. They use Javascript to send a message to the Silverlight application. While there is no way (that I know of) around this, requiring the hosting HTML to include this code is what I object to. Moving the app to a new page requires the same hookups that the developer may or may not remember to ......

Posted On Sunday, March 1, 2009 10:04 PM

Copyright © Brian Genisio's House Of Bilz | Powered by: