My quest for a build script solution in .NET is (finally) over

My never ending quest for finding a build script solution that satisfies my requirements for facilitating builds within .NET might just have come to an end. I’ve gone from Albacore and Rake, to Phantom with Boo syntax, to psake and now finally GulpJS. I’ve glanced at Nant and others and none of the technologies has really “failed“, but there has been drawbacks. Now, I put my faith in GulpJS, which works great for e.g. compiling, minifying and bundling Less resources, but as it turns out, it also works great for managing builds within .NET.

Read More

CouchDB – Hyper-V

Tiny, little tip coming. If you as me, are setting up CouchDB on e.g Hyper-V on your local computer at home, you need to fix a three settings. Two of them are obvious, the third is a bit less obvious.

Read More

Simple JavaScript slugify

I confess. Me and regular expressions aren’t buddy, buddies. So it took some trial and error before reaching this point with something useful in the context of generating slugs. There are probably tons of scripts like these, but here we go.

Read More

An oldies week – stored procedures

This week has been a bit of a surprise. First I got some questions about NHibernate, which I realized I have been blessed from using since around 2011, then today I got into a small discussion about stored procedures and that it’s viable to let it contain logic. I’m well aware that this is a religious question and that you probably find your self in on camp or the other. Me, I’m more in the camp of no business logic in SPs, but I can see an use-case for it as well. But then again, I’m flexible and try to look at each situation objectively.

Read More

MyCouch – New fix release & some words about meta-data

I usually don’t blog about when I do a new release of MyCouch – THE async .Net driver for CouchDB and Cloudant; so why this time? Well, because it’s a rather embarrassing little fix, in the sense:

Why did I not support this earlier?

Yeah, why didn’t I? Let me try and explain why but first, lets look at what the fix actually solves.

Read More

Uri behaves differently in .Net4.0 vs .Net4.5

Got a bug report this week, that MyCouch didn’t support id’s formatted with e.g. a slash person\1. So, I was missing an encode of the segment in the Uri. Quite an easy fix. Just identified the few spots where the encode and decode was needed, e.g in my UrlSegment. Added a call to Uri.EscapeDataString running my newly added integration tests. Seeing them become green in .Net4.5 but red in .Net4.0. What!?!?

Read More

Honored to have become a tag in someone else’s blog

I’m actually honored to have become an actual tag in someone else’s blog. Thanks “David Zych”, kudos to you. Thanks for questioning my previous post.

a made it to become a tag 02

To be clear, I just wanted to highlight the difference in performance of it as I find these kind of stuff interesting. I emphasized on the relational value 400x as it’s generally more easy for people to grasp. The numbers are there as well so that people, like you did, could come to their own conclusions. But I’m not saying anyone should mindlessly switch. More know about it and reflect over it, maybe in cases where it’s used as a tuple list. Is that what they are for? Or more for usage of bit flags?

Read More


Get every new post delivered to your Inbox.

Join 28 other followers