Exception Not Found

A Simple Caching Scheme for Web API using Dependency Injection

I use Dependency Injection (DI) [https://exceptionnotfound.net/tag/dependency-injection/] quite a bit in my ASP.NET projects, particularly in Web API and MVC web applications. Recently, I had a need to implement a caching layer in one of my MVC apps, and such a layer would be best used

Show Up, Kick Ass, Go Home

I refuse to work overtime. In the five years I've been at my current company, I've worked overtime exactly once, and that was because our server was literally on fire. Overtime is just not worth it to me. I'm a salaried employee. A rather well-paid salaried employee, at least compared

C# Decimal vs Double and Other Tips About Number Types

Learn about precision vs accuracy and when to use int, double, and decimal in .NET projects.

My Obviously Perfect Code: An Attention-Seeking Post Title

Bombastic opening statement about the strength of the glorious code you're about to read. Further explanation that clearly you haven't seen anything as good as this yet. Unimportant and overlong diatribe explaining why this forthcoming code snippet is critical to the world at large, including meaningless attempt at invoking "think

Code Is Ephemeral, Concepts Are Eternal

Lots of people ask me things like "should I learn MVC or Web API first?" "HTML or Javascript?" "Angular or React?" etc. After all, there's only so many hours in the day, and what time we have to spend learning is often limited by other factors (energy, work policies, etc.

Exception Not Found © 2026