Articles

  • Extending the GridView to sort Custom Entity Classes

    This article aims to provide a way to extend the GridView control to enable it to sort your custom entities.

    The custom entities I am discussing are ones like “Customer”, “Order” etc that you may have within your system. With n-layer applications becoming more popular the use of custom entities is increasing. Often users will bind an array of these entities to Microsoft’s GridView control and then struggle when it comes to enable sorting.


    Download Code | Read More...
  • The Decorator Pattern in C#

    This small article aims to explain what the decorator pattern is and how it could be applied in C#.


    Download Code | Read More...
  • Creating Lambda Extension Methods

    There are lots of blogs on Extension Methods and Lambda Expressions; however I haven’t seen many blogs looking at combining the two! This is the aim of this Article. I will replicate the Where extension method for IEnumerable<T> to demonstate an example.


    Download Code | Read More...
  • Reading ID3 V1 Tags from MP3 Files

    The ID3 tag occupies the last 128 bytes of the music file and starts with the string "TAG".  Media players typically ignore the tag when the file is played, however some older players play a small burst of static. This article explains how you can read the ID3 Tag using .NET C# code.


    Download Code | Read More...