We can see a nice example of the interface segregation principle in eShopOnWeb.
For its repository interfaces eShopOnWeb have two interfaces… IRepository and IReadRepository. This means that if a repository for any particular aggregate root only needs to query a DB it can just implement IReadRepository without having to worry about all the update related methods.
One thought on “eShopOnWeb Architecture (15/16) – has a really nice example of the Interface Segregation Principle”