InvalidOperationException: “Exception” in disguise? Or just the new ApplicationException?
Microsoft added ApplicationException with the idea that all exceptions that you made should derive from it. Fair point, you should be able to handle your own…
Thoughts and ideas about architecture and programming
Microsoft added ApplicationException with the idea that all exceptions that you made should derive from it. Fair point, you should be able to handle your own…
MS can generate complete test classes for you that test and access all methods and properties, no matter if they are private or public. Isn’t that awesome?…
Ohhh, I’ve recently seen one too many applications where the developers try to be safe by catching exceptions all over the place. It can be everything from a…
I found the question above on Stack Overflow today, and it got really lovely answers.
Being an old C++ developer I’ve always found myself doing everything by myself from the bottom and up. I’ve always created my own DALs, socket handling etc. I…
Some of my components need to be started after all of them have been created. This is quite easy to solve with Autofac. The components simply implement this…
I’ve switched from my own logging framework to NLog. NLog seems quite flexible, is under active development and suits my needs perfectly. I’m logging both to…
I’m building an application which will monitor other applications (memory usage, starting them if they crash etc.). I’m trying to stop re-inventing the wheel…
I’ve made a validation library which is focusing on model validation. Why another one when there are a few good ones like EntLib Validation Application Block…
Two extension methods used to simplify database handling.