DataProtector

DataProtector

I've migrated quite a bit of my .NET code to non-Windows platforms, this past year. As I've done so, I've re-discovered the fact that DPAPI, which is what I've traditionally…
Business Extensions

Business Extensions

Since I write so many NUGET packages, I also tend to write more than a few extension methods containing startup / construction logic. Each library typically has at least two…
Singletons

Singletons

The singleton pattern is probably one of the most overused design approaches of all times. Still, there are times when it actually makes sense to take that approach. Because of…
.NET Assembly Loader

.NET Assembly Loader

Back in the day, I remember creating new AppDomain instances to control the scope of loaded assemblies. If I wanted to load some assemblies, then release them, that was the…