Custom .NET Remoting – Easier Than You Think

Posted by on April 1, 2010

The idea of implementing remoting will give most programmers instant heartburn.  Granted, I’m not an expert on all the existing remoting solutions, but I haven’t found one that works intuitively.

All the different solutions I’ve seen require just about double the code.  You write a method once, then write a wrapper for the method to implement remoting. 

Furthermore, they often require special handling to make sure the contextual variables are ... Continue Reading

Categories: Code
Tags: remoting, c#

C# Imap and Pop3 Library

Posted by on March 26, 2010

Sigh. 

These are text-based services… it’s not that hard, and yet all the projects I found out there were nasty—bloated and severely error prone.  So, I rebuilt one.  This is based heavily on xemail-net.  I simplified it quite a bit—created standard methods for repeated code blocks and implemented a base class to simplify the creation of the Pop3 client.

Categories: Code
Tags: pop3, imap, c#

Getting Started with Yahoo and OAuth

Posted by Andy Edinborough on January 29, 2010

Yahoo doesn’t offer much help to .NET/C# developers when it comes to getting started with using their API’s and OAuth.  So I’ve put together a quick-hit starter pack.

  1. Yahoo! YQL Console
    This is fun for all ages!  I just get all giggly when I see all that Yahoo has made available through YQL (Yahoo Query Language).  You can use this tool to perfect your queries and figure out just what ... Continue Reading
Categories: Code
Tags: c#, oauth, yql, yahoo

C# OAuth Implementation

Posted by on December 17, 2009

AAAARRRRGGGHHH!!

I had to get that out of my system.  I’m not familiar enough with the exact specification of OAuth to know whether it’s Yahoo or Yedda that can’t read a spec, but the Yedda implementation of OAuth available on Google Code, doesn’t even begin to work with Yahoo’s YQL API.  Futhermore, the Yedda implementation is bloated and hard to follow.  Why is it that so many programmers feel the ... Continue Reading

Categories: Code
Tags: .net, c#, yahoo, oauth

Use Late-Binding in C# Now, without .NET 4.0

Posted by on June 17, 2009

The lack of late-binding in C# has been one of my biggest gripes about C#.  Finally, in the .NET Framework v4.0, the dynamic keyword has been introduced (it could be argued that it is too loose—allowing for variant types).  But until it is released, the need still exists, and even then, not all clients will immediately support it.  So, in a bind, I wrote a simple class to allow access ... Continue Reading

Categories: Code