Configure Reality

Configuration in enterprise application is a fact of life. My take on it is as follows: delay it as late as possible and hard-code in anger until someone asks for a change. Then, accepting the fact that is likely to happen again, the value is pushed into configuration. Configuration can be as simple as a collection of key-value pairs. But sometimes, configuration needs to be more complex than key-value pairs; just imagine some sort of hierarchical structure or a simple collection of related values.

Read More →

NMoneys 2.1.0.0

Not a lot of movement in NMoneys until now. But the unthinkable, has happened: I have received an email notification for a change in the ISO standard for currencies!! After more than two years subscribed I finally received my first amendment newsletter. I totally attribute this event to changes in the maintenance agency, which changes are very welcome, Excel and XML tables of current and historic currencies, amongst others.

Read More →

A Little more OSS

As the reader might have notice, I am a big advocate of testing. During the years that I have been practicing some flavor of testing I have been developing, borrowing and using small little classes (or bigger ones) and techniques to make my life easier and my code suck a little less. I have decided that I might as well share them with more people and, who knows, the benefit might become mutual. That, and the fact that my code will be improved as it makes its way into the new projects, is why I am launching Testing.Commons.

Read More →

NMoneys goes 2.0 and Gets Company

Wow, after a 1.6 version I decided to jump straight to 2.0. Is it that big of a change? Well, not really, maybe a couple of breaking changes and features. But NMoneys 2.0 is just a side dish, the entrée is… NMoneys.Exchange 1.0 Is NMoneys Already Dead? Not a chance! NMoneys.Exchange might steal some of its older brother’s thunder for some time, but NMoneys still plays the star role.

Read More →

Nmoney 1.4.0.0

After the previous service release, here comes a new one. It is not a ground-breaking release (I suspect we won’t be getting many around here) in terms of features but it was fun to create it. The Default Non-Zero Enumeration Re-Visited One of the motivations of the 1.3.1.0 release was address a problem in which default instances of Money had an undefined enumeration value. I kind of solved, but thinking about it later on I found a more convenient and performing way of solving the problem: using good old nullables and the not less venerable Nullable<T>.GetValueOrDefault(default).

Read More →