I’m becoming a fan boy

I could not resist anymore and i’ve bought a mac. I’ve been contemplating with the idea of getting a laptop lately and the mac book air was always coming at the top of the search results.

Finally i could not delay it anymore and one morning i wake up, went to the apple store, paid 2000$ and got the all new shiny 13 inch Mac Book Air… read full article

Test Data Generator

I’ve pushed to github a new project, TestDataGenerator that should help with filling random objects with data. I felt the need for a tool like this when testing various serialization techniques and persistence strategies.

Basically this utility should construct the instance of an object using a public constructor, and fill all it’s public, writable properties with random data.

Sample usage:
class Sample
{… read full article

RavenDb EnsureDatabaseExists extension method

Just a quick hint for others like me, who spent some minutes searching for the EnsureDatabaseExists method when trying to use RavenDb with  Multi-Databases. EnsureDatabaseExists is an extension method on IDatabaseCommands defined in the Raven.Client.Extensions namespace. To make it work you need to add a using statement for this namespace.… read full article

Cassette – Asset management for .NET web apps

A few weeks ago i’ve started using Cassette, a very nice asset management tool for .net web applications. It will basically take your assets ( javascript, coffescript, css, images ) and do the right thing with them ( combine, minify etc).

While working with it i had a few issues which I’ve  managed to solve and i would like to share them.… read full article

.NET Serialization Choices – Raven.Json

This post is an addition to .NET Serialization Choices post.

I’ve added to the SerializationTests Project the new serialization implementation in Raven.Json.

The Raven.Json Serializer is an extension to Newtonsoft Json.NET serializer and as expected the results are similar. Also the Pros & Cons are similar:

Raven.Json

Optimized DOM for Newtonsoft Json.NET

Pro: JSON Based, human readable, platform… read full article

.NET Serialization Choices

Introduction

Serialization is not a trivial problem in any language. In .NET there are quite some choices available for serializing/deserializing objects. Each available option has it’s strengths and weaknesses.

I’ve started a project on git hub SerializationTests where i’m trying to determine what is supported by which library and draw a few conclusions that should be helpful when designing serializable objects and in general when dealing… read full article