Exception Not Found

The Abstract Factory Pattern in C#

Abstract Factory is a pattern in which you can create interfaces for related objects without specifying their implementation.

The Factory Method Pattern in C#

Let's build the Factory Method pattern using sandwiches and C#!

Design Patterns in C# - Introducing the Daily Design Pattern

Lately I've been on something of a design patterns kick, from realizing that patterns are tools, not goals [https://exceptionnotfound.net/software-design-patterns-are-not-goals-they-are-tools/] to developing and recording an extensive course for my employer and my fellow programmers at my current employer. It's been enlightening, to say the least. In fact, I

Setting Up Dependency Injection in Web API with StructureMap

Up until recently I hadn't really used any Dependency Injection (DI) [https://en.wikipedia.org/wiki/Dependency_injection] frameworks in my ASP.NET projects, largely due to them being rather intimidating to set up the first time. I mean, I barely grasp the concept of DI, so the thought of

Custom Validation in ASP.NET Web API with FluentValidation

Validation is one of the key components in any web app. After all, we should never trust any input to our applications, ever [http://stackoverflow.com/a/2794089/106356]. Up until now, my group has been building MVC-based web apps, in those apps we've been content to use built-in or

Exception Not Found © 2026