The Programmator


Tired of Dependency Injection bloated constructors?

Dependency Injection is an undisputable necessity when writing testable code. It’s also a great way of forcing you to Program to Interfaces, rather than concrete class implementations. However, when the solution gets bigger, the dependency graph grows with it. And… Continue Reading →

Generate a password with a set of allowed characters

Today, I came across a situation where I had to generate a password using only a limited set of allowed characters. Since I didn’t really want to reinvent the wheel, I resorted to the System.Web.Security.Membership class which exposes a GeneratePassword… Continue Reading →