-
What if there was a tool out there that could let you specify a structure for a project (visual studio solution + everything else) and save you up to 3+ hours of work every time you started a new project? Warmup was an idea by Dru Sellers to remove all of the setup work required every time you set up...
-
In this great post by Jimmy Bogard or this Dimecasts on the subject we take a look at how to add IoC (Inversion of Control) support to your WCF application in order to support DI (Dependency Inversion). However, the one thing both the post and Dimecasts fail to take into account is what if you are not...
-
In my previous post ( here ) I showed you how to setup and get running with MEF. However, what I left out from that post is how to setup MEF to allow ‘recomposition’, which is the fancy way of saying to allow your application to discover new plugins at run time. Allowing your application...
-
Recently I was forced to do full time development on my MacBook because I killed my Windows Laptop (btw, turns out it is a bad idea to spill milk on the keyboard of a laptop… who knew). When doing this I was running Windows7 under VM via Fusion. Everything was working great……until...
-
I know that reflection is nothing new, in fact many people may even call it old hat. However, it does still have its place and can still be very, very useful. The other day I wanted to write a set of tests which would ensure that out developers put the [Serializable] attribute on all our...
-
As we are moving from our old build product (cron jobs which simply call a NAnt script) over to our new build server Hudson there are a TON of things we are trying to add. One of the new features is the ability to perform dry-run merges from our trunk against a branch each night to see how stable/unstable...
-
After a decent amount of effort on our project we have finally setup a standard build script for all of our projects, which is a great thing. But when I was converting on of my projects over to the new format I ran into some odd behavior and it was only happing on my box, not others. Here is more...
-
Today I was trying to use our remoting service that we have for our project and out of the blue I received the god awful error: This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel...
-
*** There may be a better way to do this with StructureMap, but this is the way I was able to get this to work *** Today I decided I wanted to move all my route mapping for Dimecasts out of the Global.asax file and into each of the various Controllers. I wanted to do this for two reasons. I was starting...
-
In all my years of doing .Net I have to say that I finally came across the exception message that takes the cake. Today while trying to do some refactoring on the DimeCasts.net code base I received this exception. Operation could destabilize the runtime I received the error while trying to update some...
-
Today I decided to sit down and upgrade the Dimecasts.net code to run on MVC preview 4. To be honest I did not know exactly what to expect, and I have to say, it was kinda painful but not too bad. Let me first start off by saying this. Anyone that decides to build a production application of any size...
-
In my last post I talked about how you can share a single config file among multiple project in a solution. One of the feedback comments I got was how to have a single config file for multiple developers or even multiple environments. So, today I thought I would chat about the different ways...
-
This post is another in the recent string of How-to's. But it is just so hard to resist. .Net 3.5 has so many cool features, it is just fun to explore them all. Ok, so here is the issue we are going to solve today. We have a list of entities and we need to sort them. In this post I will show you...
-
The System.ComponentModel namespace (more information here ) in .Net contains an array of various attributes that every .Net developer should know about. These attributes provide a way for the developer to implement design-time and run-time behavior on both controls and components. In addition...
-
I just thought I would share a little trick I used today to back in Async web service calls into existing code using anonymous delegates. Here was my problem: I have a library that makes use of an existing web service that I do not control (so I cannot change/up the timeout on this). I have been using...