mbeddr.arduino

Today a gave a little talk about my spare time project 'mbeddr.arduino'. I gave brief overview what's the goal and it current state. The slides can be found here.…

Forcing a HttpWebRequest to IPv6

In my current project I have a use case where I want to connect to a HTTP server via IPv6, but the client and server also have IPv4 connectivity. Which leads to the problem that the .Net framework chooses the IPv4 address over the IPv6 address. I could enable round…

Zugmonitor CSharp bindings

Da sich der Inhalt dieses Posts hauptsächlich an deutschsprachige Entwickler richtet verfasse ich diesen Post auf Deutsch. Es wird einer von mehreren sein, da ich dieses Thema in nacher Zukunft etwas ausführlicher bearbeiten werde. Durch Zufall bin ich bei der suche nach einer API für die Zugdaten der Deutschen Bahn…

Die Reiseauskunft der Deutschen Bahn

oder wie fickt man RESTful-HTTP richtig. Die Deutsche Bahn betreibt seit Jahren ein Auskunftsystem unter der Domain http://reiseauskunft.bahn.de/ dort kann man z.B. Tickets buchen, sich Verbindungen anzeigen lassen oder seit neustem auch einen Zug verfolgen. Damit kann z.B. rausfinden ob ein Zug pünktlich am Bahnhof…

Get the size of an object graph at runtime

At first I have to put a big fat disclaimer up in here: what I am discribing below is totally undocumented and unsupported by microsoft. It is based on findings while I was investigating issues with the MemoryCache in the System.Runtime.Caching assembly. I would not recommend any useage…

Yet another AOP framework

In past years I was working with different aspect oriented frameworks. A lot with postsharp in its early days when it was open source and then changed its license to a more closed model. I have helped project to use aop to allow easier development and write less but expressive…

Typesafe interop with native function pointers

The current project I did for a customer faced me with tons of legancy code which was written in C++ years back. This code is supposed to die at some point, but due some requirements the code needed to interact with some .Net / C# with COM Interop. The code uses…