-
Today I was trying to wrap some code in some tests (I got lazy and did not create the tests first… shot me). What I was trying to ensure was that my event handlers I passed into a method were actually being wired up for usage. Now I searched around the net for a while to see if there was...
-
In a previous post I mentioned how I was going to show you how UppercuT (UC) has the ability to make gems stupid simple to create and publish. You ask if gems can get any easier and to that I answer, “Why YES, they can!” How about just filling out the information for the gemspec, running...
-
In my last post I didn’t mention dependencies. Dependencies are their own animal. They require a couple more things to be in place. Let’s talk about those things. In the .NET world, the dependency for compiled bits is usually an exact version of a reference. Let me explain. So for example...
-
In my last post I showed gems being used for .NET. Now let’s talk about How. Most of this stuff I’ve learned over the past two days, so if I have a mistake here or you have a better idea, please don’t hesitate to offer a better solution. The GemSpec The Gem::Specification reference...
-
If you are new to use the Code Contracts Library from Microsoft one exception you may run into is this Description: Must use the rewriter when using Contract.Requires<TException> What this error is telling you is that you must turn on the runtime checking for the project which hosts the code. One...
-
Today I was working on a Silverlight 4 side application and for some odd reason my breakpoints were not being hit when I was debugging. I took what I thought were the right steps to resolve the issue. I … Killed the development web service Killed and restarted Firefox (3.6.4) Killed and restarted...
-
Today I ran into a very interesting issue where my WCF service was not publishing my metadata… but I had the Mex endpoint setup correctly. When I tried to hit my hosted service in a browser I received the following message I double checked that my config was indeed correct it was…. I was...
-
One of the pretty cool new nuggets inside the .Net 4.0 framework is System.Lazy and System.Lazy<T> . What System.Lazy brings to the table is a way to create objects which may need to perform intensive operations and defer the execution of the operation until it is 100% absolutely needed....
-
“Open source feature selection is subjective.” An interesting question was posed to me recently at a presentation - “How do you decide what features to include in the [open source] projects you manage?” Is It Objective? I’d like to say that it’s really objective and that we vote on features and look...
-
*** NOTE *** This post has been a long time coming, I would like to thank Kevin Hazzard for doing a kick ass Contracts session at TriNug and reminding me to get off my ass and blog about this great feature *** NOTE *** If you are not familiar with the Code Contracts library which is coming out...
-
Our team works off the feature branch concept and because of this the various teams need to do a source-to-branch merge on a consistent interval. Doing this process is not difficult, but it is reparative and could become error prone if you are not paying attention. Because of this we have...
-
Toady we ran into an issue where the serialization graph of our objects exceeded the default max limits (yea I know, I need to resolve this as my root issue, but one step at a time). When I used the WcfTestClient to test for a working solution for my problem I simply had to make a few config changes...
-
One of the great new little features which is part of Windows Phone 7 is the ability to create and add an application bar to your application. This application bar can contain images, menu items or both. And creating them is dead simple. In this post I thought we would walk through how to setup an application...
-
This post is simply a PSA for the next person who is trying to get up to speed w/ WPF and cannot figure out why your implementation of CanExecute from ICommand is only being called one time. When you create your command class which implements ICommand and you let VS (or R#) auto-generate your implementation...
-
As part of the Code Contracts Library there are many ways to validate your code whether it be with pre-conditions, post-conditions or object-invariants. All of these are great and can add extreme value to your project. But by default pre-conditions and post-conditions work on single values...