Blog

DbProviderFactory

Since .Net 2.0, `DbProviderFactory` helped building application working on database without knowing the type of the database. It was easier with the old app.config file but not that hard to put back in the appsettings.json file.

Read more

About security

Security protects the system against threats such as unauthorized access and modification. Therefore, it must answer the following questions: who is the user accessing the system, what can he/she do with it and, finally, what has he/she done with it?

Read more

Cloning

Framework Design Guidelines advise against implementing ICloneable or even using it in public APIs mostly because this interface does not specify whether the copy is deep or shallow. Can we do better?

Read more