Monthly Archives: July 2013

Internal (private) NuGet servers

I just posted this to my blog at work but thought I’d also pass it along to my .Netitude readers. Hope you find it useful! If you’re familiar with NuGet you know the benefits it provides .Net developers in consuming packages created by 3rd parties. Well, what if you want to treat somebody internal to… Read More »

Constraining Generic types to parameterized constructors

Pretty cool trick I found today on StackOverflow. I’ve often struggled with the fact that when you’re writing a generic method, while you can constrain the type of the method, you can only specify the constraint of having a constructor, and even then, only a default constructor (eg: new()); not one with parameters.