Whilst setting up an application to run on my local machine (running Vista 64bit) I encountered this error: Could not load file or assembly ‘ChilkatDotNet2’ or one of its dependencies. An attempt was made to load a program with an incorrect format. Obviously, the application uses ChilKat components, but it would seem that the version we are using, is only the 32bit version. To...
Using JoeBlogs -metaWeblog API Wrapper
Step 1 Download the latest release of JoeBlogs from Codeplex (Click the Downloads tab, and select the latest download) Step 2 Unzip the contents of the downloaded zip file. (I usually copy DLLs I am going to use into a “lib” folder at the root of my solution) Step 3 Add a reference to BOTH CookComputing.XmlRpcV2.dll AND JoeBlogs.dll Include AlexJamesBrown.JoeBlogs in your class, with using /...
C# WordPress Wrapper
Ok, I’ve barely finished this as a stable release, but I thought I’d post this up any way…. A little open source project I’m working on – Joe Blogs. In a nutshell, it allows easy communication to your WordPress (or other blog) via an xml-rpc interface. Big thanks to the work by Charles Cook at Joe Blogs is currently hosted on CodePlex – I’ll be posting more info, tutorials, documentation...
String.EndsWithAny and StartsWithAny Extension Method
It frustrated me that while String provides the StartsWith and EndWith method, it doesn’t provide an EndWithAny. So, if I wanted to see if a particular string started or ended with any specified string, I would have to create my own method to return a true or false. Whilst this is fine, it’s a little clunky if I want to use it in various places in my application. For this reason, I...
Session_Start event not firing
I’ve been scratching my head about this one for sometime… As I’m sure your aware (or you wouldn’t be reading this) in the Global.asax file, we have the following method: protected void Session_Start(object sender, EventArgs e) { } Placing a breakpoint on this method, I attached the debugger, ran up my application, and the breakpoint was not hit… What I would of...