Author Archives: ChrisEdwards

Using Linq with MongoDB

Last week we looked at accessing MongoDB using the C# driver. This week we will look at accessing it using Linq. If you followed the instructions for last weeks post, you already have everything you need to get up and running. So lets just jump right in. Referencing MongoDB.Linq To access the Linq functionality of […]

Posted in .NET, C#, Linq, MongoDB, NoSQL | Tagged , , , , | Leave a comment

Accessing MongoDB via C#

Last week we looked at setting up a MongoDB instance, and working with it through the Mongo shell. This week, we look at accessing it through the C# driver. Getting the Driver There are several .NET drivers available for MongoDB. You can check out the list here. I chose to use the mongodb-csharp driver. It […]

Posted in .NET, C#, MongoDB, NoSQL | Tagged , , , | 2 Responses

Test Driving MongoDB

Lately, I have been looking into MongoDB and other alternatives to traditional relational databases. MongoDB seems to be the best fit for the kinds of scenarios I am working with here at BancVue. What I am looking for… The project I am currently working on is using messaging to transfer large amounts of data from […]

Posted in MongoDB, NoSQL | Tagged , | 2 Responses

A Streaming Message Writer & Reader in C# & Json.NET

Here is a C# implementation of a high performance message reader and writer that can read and write messages to any stream using Json.NET. We are using a similar implementation here at BancVue as our message store and it is performing quite well. I settled on Json.NET after trying several other serializers and reading a […]

Posted in .NET, C#, Messaging, SOA | Tagged , , , | Leave a comment

WiX: Setting the Install Directory from an Environment Variable

I pulled my hair out for hours trying to figure out how to get WiX to generate an installer that pulled the target install directory from an existing environment variable. This is easy to do if the variable is one of the standard windows file locations like “Program Files” or “App Data”. However, if the […]

Posted in Wix | Tagged | 2 Responses