Saving a Twitter stream to MongoDB using C#

In my earlier post I built an example of saving a public Twitter stream into RavenDB. Working with RavenDB has piqued my interest with NoSQL databases so in this post I swap out RavenDB and instead use MongoDB to save some of the tweets that appear in the Twitter Public stream This example was built […]

Boxing and Unboxing in C#

This post is an aide-memoire as I learn more about boxing and unboxing in C# and is based upon this part of the C# docs. Boxing Is the process of converting a value type (such as int or bool) to the type Object or to any interface type implemented by this value type. When the CLR […]

Streaming Twitter with C#

In this article I will walk through the steps required to create a C# console application that prints a Twitter stream to the console using TweetInvi library The example was built using Visual Studio 2015 Community Edition and .NET Framework 4.6. Step 1 Start Visual Studio and create a new console application, I’ve called mine […]

C# Utility to emulate the XPath 3 function path()

I recently needed to examine a number of XML files and print out the element names that contained text greater than X number of characters. In addition I also need to print the location of that element within the XML document. i.e. given the following document …if I was interested in book titles that had […]