Use HostingEnvironment.MapPath

Jun 25, 2010

When running a service under IIS, the HttpContext.Current object is not available, so HttpContext.Current.Server.MapPath will fail.

fileName = HttpContext.Current.Server.MapPath(fileName);

The solution is to use Hosting.HostingEnvironment.MapPath instead.

fileName = System.Web.Hosting.HostingEnvironment.MapPath(fileName);

Features, Flags, Updates And Branches

Dec 03, 2009

Version control systems are wonderful tools and terrible tools all depending on the process used to manage the files stored in them.  They allow tracking changes, updates, reversing updates, comparing to older updates, and creating multiple branches and variations of files ad-infinitum.  What are good rules to keep good tools from going bad?More...

Source Control Tools

Aug 06, 2008

H.O. Studley Tool Chest

The limitations of your tools are your limitations. Choose your tools wisely. More...

Best Company Ever Award Invitation

Mar 17, 2008

For the last two and a half years, I've been working on helping Target corporation with a project to bring a dashboard reporting application to work on a mobile device.  The project has been well received and so popular among store managers, that it's won an award within Target. Not just any award, but the Best Company Ever Award. It feels like winning an Oscar. More...