Monthly Archives: March 2013

NuGet with Active Directory Support

Published on: Author: Michael

In a previous article I discussed how to host a private NuGet repository.  If you aren’t familiar with NuGet then please refer to that article.  If you’re hosting a private gallery then chances are you’re on a network (probably an Active Directory one).  One downside to hosting a private NuGet gallery is that it is… Continue reading

Using T4 to Create an AppSettings Wrapper, Part 2

Published on: Author: Michael

In the first article in this series we created a basic, static T4 template.  The template allowed us to replace standard boilerplate code for reading an app setting string setting = ConfigurationManager.AppSettings["someSetting"]; with strongly typed property references like this var myIntSetting = AppSettings.Default.IntValue; var myDoubleSettig = AppSettings.Default.DoubleValue; Here’s a summary of the requirements from the first article (slightly reordered). All settings defined in the… Continue reading