Geeks With Blogs
Daniel Bradley October 2010 Entries
HOWTO: Remove files from a git repository which should be ignored
In the last year or so I’ve discovered the wonders of GIT for managing source code and we’ve now moved the majority of our live code base in to repositories at work. However, as with most learning curves, you make some mistakes at first. One thing that’s been really bugging me is that I didn’t know about the ".gitignore" file when creating my first few repositories. This means that all the binary files were also initially added. As soon as I learnt about the ignore file I went back and added it. ......

Posted On Tuesday, October 19, 2010 12:08 PM

Recursively searching controls in ASP.NET web forms using generics, lambda expressions and extension methods!
Extension methods were introduced with the .NET 3.5 framework as a mechanism to add methods to extend existing types without modifying the original assembly. This is how the Linq methods were implemented to enable some very powerfull predicate function based operations to be performed over all existing collection types. Searching for web controls on a page is one of those tasks that seems to come up for all kinds of reason while programming using web forms. I was reminded of this problem recently: ......

Posted On Saturday, October 9, 2010 4:48 PM

Copyright © dbradley | Powered by: