Monthly Archives: February 2011

NHibernate CompositeId and GetHashCode SELECT N+1 problem

I was looking in my NHProf log and got a lot of SELECT request. To many and I thought I was having a SELECT N+1 problem. Using the “Stack Trace” in NHprof I identified a call being made to GetHashCode() … Continue reading

Posted in Development | Tagged , , , , , | Leave a comment

IDrive .NET backup library

What does IDriveLibrary it do? IDrive EVS gives you 5GB of free backup space on the IDrive platform. IDrive EVS makes it possible via a kind of web http interface to upload files and more. The library I have written … Continue reading

Posted in Development, Software | Tagged , , , | Leave a comment

NHibernate Membase caching provider

Enyim has made a nice client library for both Memcache and Membase. Membase can be used as a free distributed caching platform. With the new provider model introduced in ASP.NET 4, it is now possible to write providers for output … Continue reading

Posted in Development | Tagged , , , , | 19 Comments

Membase local development machine ip problem – FIXED

Membase caching stops working I struggled with Membase last night. I added NHibernate 2. level caching, Asp.net Session caching, Output caching and custom caching to some new Membase providers. It worked at first, but then suddenly nothing was cached, and … Continue reading

Posted in Development, Software | Tagged , , , , , | Leave a comment

Membase cache item expiration issue

Membase can be used as a distributed caching platform, and best of all… it is free to use. This is from their website: Unlimited use in development and up to two nodes may be deployed for free in a production … Continue reading

Posted in Development, Software | Tagged , , , | Leave a comment

Sample TwitterTest authentication and console application

How to make your application or service tweet My case: I have a windows service and I want to be able to know the internal state of this service and e.g. when an exception was thrown. The obviusl answer for … Continue reading

Posted in Development, Software | Tagged , , | Leave a comment

Mercurial problems with Danish letters

Mercurial can have problems with handling non ASCII letters in file names, comments etc. when it across different platforms (Windows, Unix, MacOSX). I have even experienced the problem within different versions of Windows. The problem: File names containg e.g. æøå is … Continue reading

Posted in Development, Software | Tagged , , | Leave a comment