marthijn. Rotating Header Image

Posts under ‘Windows’

Fix .NET 4 SocketPermission for MySQL driver in Medium Trust

Most .NET 4 shared hosting providers offering their customers a medium trust environment. This is not a problem for most web applications unless the applications uses MySQL in combination with the .NET MySQL driver (MySQL.Data.dll). The MySQL driver connects to the MySQL database using a socket. However, sockets are not allowed in medium trust. The [...]

Possible solution for NHibernate many-to-many criteria

How to query an NHibernate many-to-many relationship.

Using log4net to show NHibernate SQL in Visual Studio

Configure log4net in order to show NHibernate SQL queries in Visual Studio’s console.

How to lookup MIDI notes of your MIDI controller

How to lookup MIDI note and channel information of a MIDI controller using MIDI-OX.

How to stop Traktor from editing ID3 tags

How to run Traktor as a different user so it has no permission to modify music files.

Getting started with LaTeX and BibTeX in LEd

A simple tutorial about LaTeX and BibTeX in the editor LEd.

Using NUnit in Visual Studio 2010

How to use NUnit in Visual Studio 2010.

Type conversion in C#

Type conversion in C#

Using Rhino Mocks to mock a void function

Using NUnit and Rhino Mocks to create an expectation for a void function.

CUE files for radio shows

I frequently download the radio shows of Armin van Buuren (A State Of Trance) and Above & Beyond (Trance Around The World). The download sources provide one single mp3 file, and therefore skipping tracks in the radio show is not very easy. A CUE Player plugin for Winamp is able to ‘split’ this file and [...]