initial checkin of .NET middleware