Browse by Tags
All Tags »
C# (
RSS)
Between work and stuff going on in my personal life, there hasn't been a lot of spare time for blogging and developer community things over the last few weeks. Hopefully, that will be changing in the near future. In the meantime, I wanted to squeeze...
In .NET 3.0, WCF did not have any built-in support for syndication feeds, such as RSS and ATOM. As a result, it was necessary to roll your own solution anytime you wanted to render a syndication feed from your service. While this wasn't an incredibly...
Earlier this week, I posted a reminder that static methods don't always require locking. However, I also wanted to emphasize to exercise caution when selecting the object that will be used for a lock. For years, there have been many examples that...
Recently, I was reviewing some code for a new application and noticed several static methods that were locking to safeguard against concurrently executing threads. However, the majority of these static methods did not involve any static data. So, it seemed...
Last week, I made a brief post about easily using some of the cryptographic hash algorithms available in the .NET Framework for the purpose of generating a file checksum. After giving it some thought, I decided to do a follow-up post and compare the general...
It seems there are a number of people out there who attempt to write their own checksum algorithms for validating the integrity of a file. However, these type of algorithms need to be incredibly reliable. Unfortunately, the "home-grown" version is often...
I recently took a closer look to compare the performance variations among some of the possible ways to interact with a SqlDataReader object (ordinal position, column name, etc). Before you start telling me that I wasn't thorough, I never intended...
If you have worked with .NET much at all, then you have undoubtedly used String.Format. It is one of those essential functions that just makes development a lot simpler. However, I have found that a lot of people don't realize they are introducing...
I have been doing some work with random number generation this week. Specifically, I needed to write a utility that would be used to generate a strong key for a symmetric encryption algorithm. Obviously, there is a wide variety of approaches to this type...
Disclaimer:The opinions and views expressed within this blog are solely my own and do not represent those of my employer or anyone else.