Update: WordPress2Doc 1.1.0.0

Wordpress2Doc Version 1.1.0.0Short info: After Habared has kindly told me on GitHub that my “WordPress2Doc” tool has a few problems with UTF-8 characters, I took time and wrote a small fix.
In fact, I had missed the character encoding in the HTML code that is embedded in both, the generated .docx- and .pdf-documents.
The latest, UTF-8 compatible version of WordPress2Doc can be found both in the main article and on GitHub. I would appreciate any feedback!
Download WordPress2Doc

QRCoder – an Open Source QR code generator implementation in C#

QRCoder demoIn modern times QR codes should be known by pretty much everyone. Since smartphones are becoming increasingly popular, QR codes can also be found at more and more places in our everyday lives. As a fairly serious geek this should be reason enough to engage a bit more in detail with the technology behind it. And what way seems to be more suitable than implementing a QR code generator by yourself?
Because C# is my favourite programming language, the choice fell accordingly to this language. Sadly information on the QR code are not so easy to get. The easiest way of course would be the official way – simply buy the ISO/IEC document. That would be the ISO/IEC 18004. But there’s also a crux on that. The ISO 18004 costs round […]

How to create articles on Blogspot with C#

Blogger C# API LogoToday I want to show you how to create a blog article on Blogger.com/Blogspot.com with C#. For this you need first of all the Google.GData.Client.dll, which you can find inside the Google .Net API package.
You can download the API package here from Google. (The file is called Google_Data_API_Setup_2.2.0.msi (Please note that the version number – 2.2.0 – over time may change of course.)
If the download is complete, install the package, open a new project in Visual Studio and add a reference to the Google.GData.Client.dll.
The .dll file can be found in the installation directory of the API package. (Click on the link “add a reference” above, if you need help embedding .dlls into a Visual Studio project.)
If you have included the DLL, you can start already. Blog posts (aka articles) can be created as follows:

private static int […]

XiVerse – Xing reverse search engine

XiVerse ProduktbildFor some days I’m also on Xing. Who is also there, will certainly know the function that displays the last visitors of one’s own profile.
Unfortunately you do not get the names of your visitors, but only small thumbnails of the last visitor appears in the basic membership at Xing. Also a link to their profile is not given.
This feature is dedicated to premium users (~ 7 € / month) only. But that’s only the half truth.
Find out who visited your Xing progile without having premium status
In most cases it is possible to find out who were the last visitors on the own profile without premium membership. Therefore you have to compare the visitors thumbnails against some data.
In order to simplify the search procedure, as an exercise for myself and as a feasibility study in general, I have […]

MD5 hashes in C# – benchmark and speed ​​optimization

For a current project I must generate a large number of MD5 hashes. I explicitly don’t want to discuss the meaning and security of MD5 hashes in this article, but rather concern myself with the question on how to generate MD5 hashes as fast as possible using C#.
The. NET Framework itself provides a class for creating MD5 hashes, which after the first attempts seemed a little slow to me. So I began to search for alternative classes and/or functions and came across a class of Syed Faraz Mahmood. His class is a manual implementation of the RFC 1321 (“The MD5 Message-Digest Algorithm”). The class can be downloaded for free on his blog.
The test environment
For the test I created six lists (List<int>) with many different numbers. Each with 1,000, 10,000, 50,000, 100,000, 1,000,000 and 10,000,000 elements.
All lists were run complete for both methods (MD5 .NET framework implementation & manual MD5 implementation) and […]