Geeks With Blogs
Jeroen Bourdeaud'hui web application developer May 2011 Entries
Just to remember: new Guid() != Guid.NewGuid()

Just to remember:


when you want a new guid:

Dim g As New Guid()

--> the value of g is empty

Just call:

Dim g As Guid = Guid.NewGuid()

and everything works fine!

Posted On Friday, May 13, 2011 10:30 AM

Paging using Linq
Last, I needed a function to add paging. The first problem I had, was how to this. A couple of seconds later, I allready had a solution to this problem: Linq Skip and take will do the trick. list<t>.Skip(_howMany... This won't crash if you pass one of both statements. It will just return the result. source.Skip(startRowIndex).... I've created an extension method to use this function. VB Module LinqHelpers <System.Runtime.Compiler... ......

Posted On Tuesday, May 10, 2011 12:22 PM

Code Retreat Belgium
Last saturday I participated the Code Retreat organised by There were 6 code retreats at the same moment arround the world. In Belgium, UK, Spain, USA and 2 in Romania. We all had the same challenge, to implement the Conway's Game of Life. By writing beautiful code, using TDD . For me, TDD is a new thing. I allready read about it, but thinking in a TDD way is really different and difficult. I met interesting people, and it was great to skype with the other Code Retreat around the world. ......

Posted On Sunday, May 8, 2011 10:22 PM

Copyright © Jeroen Bourdeaud'hui | Powered by: