Parsing XML in C#

February 6, 2011 | 1 Comment

Lately, I dealt with webservices with C# while working on bluekiwi’s Microsoft Office Connector. The bluekiwi API sends its reponses in XML format. I had originally used DataSets to store the content of the response though I soon realize I could work just as easily with the XML itself using the XElement class. Here is [...]

I had to use Git on Windows to work with my own sharpOauth library on a Microsoft environment while working on my Office Addin. I used the following tutorial by nathanj as a reference. Here are the steps I followed download and install putty in c:\program files\putty download and install msysgit. I picked the package [...]

Memcached if a free and open source distributed memory object caching system. It is used by web applications to lower database load by caching data in a key-value format for faster retrieval. If you happen to develop on Mac OS X, you can easily setup a development memcached server locally using MacPorts. 1sudo port install [...]

I worked on a very small ASP .net application this week end to test the OAuth consumer library sharpOauth against the Twitter API. When working with OAuth, there are at least two values that need to be stored in the configuration file : the consumerKey and the consumerSecret. When working in ASP .net 2.0, here [...]

A recent project at work lead me to develop a lightweight C# Oauth Consumer class to call an OAuth API from a Microsoft Office addin. Oauth is “an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications”. A lot of documentation, and the specification, about the [...]

Following up on yesterday’s post about running .Net code on OS X, I tried running a simple ASP .net app. I didn’t go for the fancy solution which is to add a mod_mono to Apache because I only wanted to quickly test a sample code. The quick and dirty solution is called xsp and comes [...]