Service Locator is an Anti-Pattern A clean design should choose this option. More on this post. Permalink csharpdesign
You don’t need a dependency on IServiceLocator in your business objects A clean design should choose this option. More on this post. Permalink csharpdesign