So, say that you have a three-tier application with level user interfaces, services and a repository for a simple application, say, saving addresses.
If the AddressService has an IAddressService interface, where is this interface located? I know that "in the address service" may seem like the obvious answer, but if it works in the address service, it seems to fail in that the interface will be such that any service library can be replaced as long as it implements IAddressService.
(in particular, this is a problem in the .net taskspace, but probably more general, therefore it is tagged with architecture)
source
share