Quantcast
Channel: greenicicle
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Fixing non-localizable validation messages with JavaScript

There is a nasty globalization bug in ASP.NET MVC: the client-side validation message for numeric is hard coded to a string that is not localizable. Take the following view model class: public class...

View Article



Image may be NSFW.
Clik here to view.

MongoDB: when documents aren’t perfect, cope with it

MongoDB is a NoSQL database that organizes data as JSON documents in collections instead as rows in tables. One major difference between a document in a collection and a row in a table is that while...

View Article

Image may be NSFW.
Clik here to view.

BPMN question

Recently I learned how to model business processes with BPMN 2.0, the Business Process Modeling Notation. Following, a very, very brief introduction. Using the BPM standard allows technical and...

View Article

Image may be NSFW.
Clik here to view.

C# Enum Quirks

I’ve been slashing out C# code since 2000. Just today I discovered something totally new to me. Would you reckon that this test is valid? public enum Direction { Left, Right } [TestClass] public class...

View Article

Image may be NSFW.
Clik here to view.

Beware of the dreaded passive arbiter!

The setup seemed simple enough: Two application servers running ASP.NET MVC, and a MongoDB replica set with two standard nodes and an arbiter. If you’re familiar with MongoDB replica sets, feel free to...

View Article


Image may be NSFW.
Clik here to view.

Pipes, valves, and social networks

This is a chat room. The tube is a message bus. When a sender pushes a message into it, it just comes out on the other side, and everyone receives it. This is e-mail. We’ve added a valve on the...

View Article

Image may be NSFW.
Clik here to view.

Take the Stoic Test

An underestimated developer superpower: Keep calm and focused with a juicy geek discussion exploding in the office/Twitter/Comments/Yammer around you. You get one point for each question that you can...

View Article

Image may be NSFW.
Clik here to view.

JavaScript for Metro-style apps: now I get it.

I’ve spent the last few days at the Microsoft //build/ conference where the first preview version of Windows 8 was shown (and everyone got a tablet PC, which I like, and – and this is going to be...

View Article


Image may be NSFW.
Clik here to view.

REST API Design Rulebook – a waste of e-ink

REST API Design Rulebook by Mark Masse My rating: 1 of 5 stars The book tries to establish a set of rules for REST interfaces – I’m OK with that, it’s what its title says. When you define rules, you...

View Article


Image may be NSFW.
Clik here to view.

Tests gone bad: antipatterns of automated testing

I’ve got a series of blog posts on what you can do wrong with automated tests, and what to do about it on the Zühlke blog.

View Article
Browsing all 10 articles
Browse latest View live




Latest Images