Creating an MD5 String Hash

Below is code that will easily hash a string using the MD5 encryption. This is typically used when performing data integrity checks. using System.Security.Cryptography; using System.Text; namespace MyApp.Caching {    public static class CachingHelper    {       static public string CreateMD5Hash(string str)       {          var unicodeText = new byte[str.Length * 2];          Encoding.Unicode.GetEncoder().GetBytes(str.ToCharArray(), 0, [...]

Fullerton Code Camp 2011

I hope everyone in southern California is planning to attend this years SoCal Code Camp in Fullerton, Ca on 1/29 – 1/30. It’s always a great time and lots of free training! I will be presenting the following sessions and I hope you will attend. Building nTier Applications with Entity Framework Services Learn how to [...]

dotNetTips.Utility 3.5 R2 Released!

After lots new coding and refactoring, dotNetTips.Utility 3.5 R2 is finally released! This assembly is much of the common code I have been writing for the past 9+ years all wrapped up in a nice package and easy to use. Here is just some of what is in the new version:New ClassesEmailTraceListener - Send emails [...]