Getting build notifications from TFS

TFS ships with an event subscription tool that you can access through command line and it’s located at “C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\TF Setup”.  You can use it to subscribe to a variety of TFS events dealing with builds, check-ins, projects, work items, etc.    You can subscribe to a handful of events […]

MVC Image button

I am helping out with the Orlando .NET Code Camp website and they needed to add an image button, which is something that is not supported out of the box by the current release of MVC.  So after looking around I found BuildUrlFromExpression.  Unfortunately it had been moved in the latest release and I tracked […]

DataReader vs. Dataset vs. Linq

I’m currently working with a client that supports an application originally built around 2003 so it was targeting the 1.1 Framework.  Last summer they upgraded to the 3.5 Framework, but they have not yet taken advantage of the new features that can help them improve their performance.  Digging through their code, I found a few […]

LINQ Contains

If you have 2 collections and you need to figure out what values are in one collection and not in the other, you can do this:   using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { List _List1 = new List(); List _List2 = new […]