Reducing Dependency Injection Code Smell: An Introduction

February 10, 2020 by Michael

Dependency Injection is an increasingly popular design pattern that has resulted in the increased use of IoC containers. Unfortunately developers have started to use DI and IoC as a crutch rather than a proper design pattern. This post discuss ways to clean up poor design choices.

0 Comments

Change Tracking with StructureMap and DynamicProxy

January 5, 2019 by Michael

This post shows you how to automate change tracking using run-time aop with DynamicProxy and StructureMap.

One Comment

ANTLR4, .NET Core 2.1, and C#: Using the Visitor

October 16, 2018 by Michael

In the first post in this ANTLR4 series we went over setting up the tooling and tested everything with a simple grammar file.  This post will focus on using ANTLR4 to generate the C# classes need in order to implement a simple visitor. This post will use the grammar file created in the previous post.  […]

2 Comments

Visual Studio, dependencies, and the Mysterious Yellow Triangle

September 16, 2018 by Michael

If you’ve made significant use of dependencies, odds are you have seen at least one with a small yellow triangle.  Visual Studio will give you enough information to figure out why that triangle is being displayed in some cases.  However, most of the time you’re left wondering what the problem is. Clearly the Visual Studio […]

0 Comments

ANTLR4, .NET Core 2.1, and C#: Getting Started

August 28, 2018 by Michael

As much as I would like to criticize your decision making skills, I’ve already come to the conclusion to use ANTLR4 myself.  Michael For some reason (valid or not), you’ve decided you need to write a domain specific language using ANTLR4 and the interpreter to go along with it.  As much as I would like […]

One Comment

Validating API input in ASP.NET Core 1.1 with FluentValidation

January 14, 2017 by Michael

Writing code to validate input is quite possibly one of the most tedious task ever created. Thankfully we are far from the days of having to manually handle that task.

0 Comments

Getting Started with Visual Studio 2015, Antlr 4, C#, and a SQL Grammar

March 3, 2016 by Michael

Getting started with Visual Studio and Antlr can be a difficult task. Resources aren’t as readily available as you would think.

0 Comments