The Factory Method Pattern in C#
Let's build the Factory Method pattern using sandwiches and C#!
Let's build the Factory Method pattern using sandwiches and C#!
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
I'm on a "Combine These Two NuGet Packages in Web API" kick lately, so let's keep that going! We're going to set up an ASP.NET Web API project that uses AutoMapper and StructureMap [http://structuremap.github.io/] to provide us with mapping and injection-based repositories and controllers. I already
Anybody who's spent any time at a Windows machine in the last 26 years has probably played a few games of Minesweeper [https://en.wikipedia.org/wiki/Minesweeper_(video_game)]: I mostly work in the ASP.NET space, and I'd been wondering for a few weeks how feasible it was
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