Configuring Automapper in Bootstrapper violates Open-Closed Principle?
I would argue that you are violating two principles: the single responsibility principle (SRP) and the open/closed principle (OCP). You are violating the SRP because the bootstrapping class have more than one reason to change: if you alter model binding or the auto mapper configuration. You would be violating the OCP if you were to … Read more