OneTrueError - Automated exception handling

Monthly Archives: January 2013

Up and running again

I had a server crash and no access to the server room. But everything should be up and running again.

Posted in Uncategorized | Leave a comment

Repository pattern, done right

The repository pattern has been discussed a lot lately. Especially about it’s usefulness since the introduction of OR/M libraries. This post (which is the third in a series about the data layer) aims to explain why it’s still a great … Continue reading

Posted in Architecture, CodeProject | Tagged , , , | 63 Comments

Request for comments: Merging libraries

I currently have a number of libraries which I develop (at github). Most of them are small (less than 50kb) and I’m thinking about merging them into one library instead. What I mean is that I will add them into … Continue reading

Posted in Uncategorized | 3 Comments

Emailing passwords is no proof of storing passwords as plain text

There is a site named plaintextoffenders.com which lists sites which they claim store plain text passwords, i.e. not hashed or encrypted. As proof they let users email screenshots to them. Many of the screenshots looks like this: Welcome XXX, bla … Continue reading

Posted in Uncategorized | 5 Comments

ADO.NET, the right way

ADO.NET is actually quite powerful if you use it correctly. This post will teach you everything from making your ADO.NET code driver independent to how to implement the repository pattern and unit of work. This is the follow up post … Continue reading

Posted in CodeProject | Tagged , | 24 Comments

Data layer, the right way.

The goal with this post is to give you a better understand about how you can design your data layer and why it’s important to create a complete abstraction layer.

Posted in Architecture | Tagged | 6 Comments

Better support for localization in ASP.NET.

If you’ve tried the built in localization features in ASP.NET you’ll probably written cluttered view models like:

Posted in Architecture, CodeProject | Tagged , | 4 Comments