Bernie Cook's Blog

Azure, C#, .NET, Architecture & Related Tech News


Leave a comment

jQuery – Several Simple Tips

I’ve collated a short list of useful tips that I’ve picked up from various sources since I started working with jQuery. This is by no means an exhaustive list, just some tips that I’ve found invaluable when it comes to jQuery development.

For those of you who haven’t heard of jQuery it’s gained a lot of popularity over the last few years for making the following tasks incredibly simpler:

  1. Cross-browser support
  2. DOM manipulation
  3. AJAX development

Continue reading


Leave a comment

Stack Exchange – Worth A Look

Stack Exchange provide a network of online knowledge sharing sites, the most notable of which is Stack Overflow. I admit to spending a lot of time on Stack Overflow and didn’t notice until recently that Stack Exchange had over 80 other similar websites on a variety of topics – luckily for us most of them are IT-related. Continue reading


Leave a comment

IQueryable, IEnumerable & List – What’s the Difference?

Back when .NET 2 was released in 2006 Lists appeared and I remember having one of those “OMG this is fantastic moment for coding“. You could immediately see the benefits – how they’d reduce the amount of code you had to write and increase readability. Prior to that in .NET 1.1 there was IEnumerable, which I can’ t say was something I made a lot direct use of, with emphasis on the word “direct”. I utilised a number of classes that implemented IEnumerable (SortedList, Hashtable, List, etc.) but, unlike today, it wasn’t a class that I worked with directly. Then a few years later .NET 3.5 was released and IQueryable was brought into the mix and suddenly I started having to think a touch more about which one was the “right” one to use when it came to manipulating a collection of objects. Continue reading