Now blogging on Los Techies

  • 1 minute to read
A few days ago I was invited by the Los Techies website to start blogging with them. Have no fear, I am not abandoning my home here on Geeks With Blogs, but I will be cross-posting between GWB and Los Techies. I haven’t... Read more

Reading all bytes from a Stream

  • 6 minutes to read
I was working on some Stream extensions today and added a method which will read all of the data from a stream in to a byte array. Some of the classes which derive from Stream provide a similar method (MemoryStream, for example, provides a GetBuffer()... Read more

XML Comments: filterpriority

  • 6 minutes to read
I am a big fan of using XML comments in code and actually have a few Visual Studio macros which allow me to “inherit” the documentation from an overridden member. Every once in a while, I end up pulling in a comment with a filterpriority XML tag. This tag is... Read more

More on .NET 4.0 Code Contracts

  • 2 minutes to read
Last month I talked about Code Contracts, which are one of the new features in .NET 4.0. Earlier today I was digging around in .NET Reflector looking for something totally unrelated when I came across the Microsoft.Contracts namespace in System.Core. Looking at the... Read more