Technology
How to Get Your Entire Work Item History in TFS
The more I use TFS [http://msdn.microsoft.com/en-us/vstudio/ff637362?ppud=4] at work the more I like it. However, with large development teams the sheer number of work items that are created over time can be staggering and searching through them to find a particular work item
Generating an XML Document Using LINQ to XML
In the past, programmaticly creating XML documents in any programming language was extremely tedious and error-prone and .NET was no exception. Fortunately, LINQ remedied this for us in .NET 3.0. In this post, I will demonstrate how mind-numbingly easy it is to create an XML document using LINQ to
Efficient Page Reloading in ASP .NET
Today I ran into a situation where I needed to change some session state information on an ASP page I was developing and have it instantly update the current page. This can be accomplished with the following code: //Stop processing and reload the current pageServer.Transfer(Request.Path); Server.Transfer(
How to set a default browser when debugging in VisualStudio
I am constantly switching preferred browsers for my day-to-day browsing. But, when I am writing web applications I actually prefer my browser to be Internet Explorer for one simple reason: it saves time. Visual Studio knows when you close down the IE window that is running your current application and
Putting the Three Rules of TDD Into Practice
I've been thinking alot lately about how to practice better [https://robertgreiner.com/2010/11/practice-better/] at software development. One of the things I want to get really good at is unit testing. I think unit testing is vital to the success of a software project. Good unit
Fixing the "TypeInitializationException was unhandled" exception
I ran into this issue today so I thought I'd share. According to the docs [http://msdn.microsoft.com/en-us/library/system.typeinitializationexception.aspx] : > When a class initializer fails to initialize a type, a TypeInitializationException is created and passed a reference to the exception thrown by the
Using jQuery to Dynamically Disable and Enable an Element
There are a few situations where it might be benficial to disable input controls on a form. You can enable and disable elements on a page dynamically with jQuery by setting their attributes accordingly. Disable a Control An element can be disabled by using jQuery's attr() [http://api.
Using Stopwatches and Timers in .NET
Two problems that plague new programmers and seasoned professionals alike is the need to delay program execution and get an accurate time how long something takes to execute. Luckily, there are probably a few thousand ways to solve each problem. Unfortunately, most of them center around laziness (the bad kind)
Iterating Through a Dictionary in C#
A Dictionary [http://msdn.microsoft.com/en-us/library/xfhwa508.aspx] allows you to store items in a collection using a key/value paring. By storing your data this way, you get all of the functionality of a standard .NET Collection [http://msdn.microsoft.com/en-us/library/system.collections.generic.aspx]
Creating Algorithmic Art Using Processing
Algorithmic Art [http://wikipedia.org/algorithmic_art] - also known as Computational Art - is a form of expression that uses various algorithms and processing techniques to create visually aesthetic digital artwork in the form of still images, animations, and music. Processing [http://processing.org] is an open source programming