Category: .Net

Preventing the Garbage Collector From Ruining Your Day

Preventing the Garbage Collector From Ruining Your Day

If you’re working with ZeroMQ, you may run into an exception with the message “Context was terminated”. It turns out that this is due to the garbage collector cleaning up (or attempting to clean up?) the ZmqContext. Found this out...

SharePoint ListData.svc 500 Error

SharePoint ListData.svc 500 Error

If you’re fighting with the SharePoint ListData.svc with an odd error: An error occurred while processing this request. And you are using an OData operator like endswith, you may encounter this error and be puzzled with why it works for...

Now I REALLY Can’t be Bothered to Learn Silverlight

Now I REALLY Can’t be Bothered to Learn Silverlight

I’ve blogged about it before, but seriously, the question has to be asked: if you’re a developer with limited bandwidth to focus on mastering new technologies, why would you spend that time on Silverlight? Not only is WP7 floundering, but...

Lesson Learned on SharePoint Service Applications

Lesson Learned on SharePoint Service Applications

If you’re setting out on writing your own SharePoint service applications, there is an important lesson that you should keep in mind (instead of learning it the hard way): ensure that all of your proxy, application proxy, service, service application,...

The Beauty of Mongo

The Beauty of Mongo

MongoDB is sexy.  Sexy as hell. This isn’t the first or the best intro to Mongo+.NET, but I hope this one can show you how it finally solves the object-relational disconnect with an easy to follow example. Let’s start with...

FluentNHibernate vs. Code First in EF 4.1

FluentNHibernate vs. Code First in EF 4.1

First, having been in the SharePoint space exclusively for so long now, I have to admit: it’s been a while since I’ve had to deal with non-SharePoint data access.  I don’t know if I miss it or not 😀 I’ve...

Getting Version Changes From SharePoint

Getting Version Changes From SharePoint

SharePoint doesn’t provide a straightforward way to do this it seems.  My first crack was to try to leverage the BeforeProperties and AfterProperties in an event receiver, but it turns out that this doesn’t work quite as you would expect...

Most Annoying Thing About SharePoint 2010?

Most Annoying Thing About SharePoint 2010?

I’ve been bashing my head against a SharePoint 2010 solution package for almost 10 hours now across two days.  I mean god forbid Microsoft provides us poor developers with some useful error messages or even a hint of what’s going...