Jimmy Bogard
  • About
Sign in Subscribe

Design Patterns

A collection of 1 post
Design Patterns

Service Locator is not an Anti-Pattern

Well, it is, sometimes. It depends. I often get pushback on MediatR for using service location for resolving handlers, often getting pointed at Mark Seemann's post that Service Locator is an Anti-Pattern. And for all of the examples in the post, I agree that service location in those cases should
Jan 11, 2022 5 min read
Page 1 of 1
Jimmy Bogard © 2023
Powered by Ghost