Deployment web site Zip with MsBuild and TeamCity

I needed to make a Zip file of a web site and automate it with TeamCity. I used MsBuild and some obscure tricks

Testing ConfigurationSection

A discussion on how a simple test on the ConfigurationSection may work but won't do it on a real environment because the way the classes are constructed

Get MAC from IP address in .NET

There's not any method in the .NET standard classes to get the MAC from the IP, so I explain how to get it using Windows native dlls

NHibernate: Custom type is not serializable

This is an error I encountered with custom types and may help some people looking for the solution

Getting MIME type in .NET from file extension

Discuss some strategies on how to get MIME types and a proposes a solution based on a dictionary of known extensions