Archive for April 2010

Create a comma separated list with LINQ in C#

For some reason I always forget that you do not do .Join on your actual string array. So i might as well write it down here so i never forget about this again. string mycommalist = string.Join(“,”, alternatives.Select(x=>x.Item.Name).ToArray())

MS10-024 and KB976323 will reset your IIS SMTP Settings

A client called me this Monday morning and told me there where some issues with one of their sites. The problem turned out to be some issues the SMTP server. After about 2-3 hours of debugging i desperately  tries to do a search on Twitter for “IIS SMTP” and to my surprise i could actually [...]