Extension methods in C# are very powerful and I like them a lot. But I have found that I tend to only use them under certain circumstances.
Writing unit tests sometimes involves creating complex objects to test with. Reuse these object carefully.
I read this the other day and it made total sense to me:
If there is an existing standard, we should look into using it.
I had forgotten how Wicked Problems, Righteous Solutions was way ahead of its time. Let me explain.
“Classic” ASP.NET applications would use the built-in
Applicationobject to store values that were cached across the entire application. In ASP.NET Core, this was removed. Let’s look at alternatives.