Words used in Source Code

I’ve been thinking about trying to create a library of name elements that might be useful while coding (e.g. above and beyond pattern names such as ‘BlahFactory‘ or ‘ThingMapper‘); and a list of elements that might be misleading or that I think should be avoided (such as the element ‘Data’ on a field name; it’s not impossible that this could be a valid element name; but in a sense everything in a data structure is ‘data’ so that’s the basis on which I consider its use may be problematic).

I thought that this was pretty interesting: Words used in Source Code.

Source Code Wordle

Be sure to visit the source site, where clicking on an image then shows you a larger version, where clicking on a word shows you where it is used.

These word clouds might help identify lists of the ‘useful’ name elements.

Hosting a WCF Service Library Project in IIS 8.0, Windows 8.0, .Net 4.5

It sounds like it should be trivial: Create a WCF web library and host it in IIS. Surely lots of people need to do this, and it will be easy in a fairly modern version of Visual Studio like 2012? Well, I did not find it easy despite reading a Step-by-Step book (Microsoft Windows Communication Foundation by John Sharp, 2007), lots of blog posts and MSDN articles and so on.  Of course, in fairness, the book was quite old compared to my development environment, but in several respects it still seemed quite current.

Continue reading

More Keys is More Secure. Right?

Happy Little KeyLast week, we had a heated discussion at work about encryption. We want to encrypt some data in our database, and I proposed that we go with a single private-key encryption mechanism (ignore which exact one for the moment), and my colleagues were pretty-much unanimously suggesting a ‘key per row’ approach. In this post I am going to attempt to explain the rough background, and why I felt their mechanism might not be best.

Continue reading