Thanks to AOP concept, creating a cache layer that is transparent to the caller is not a big deal. I have a piece of code that in a loop calls this method 1: ClientCompetitor competitor = Repository.ClientCompetitor.GetByCriteria( 2: Query.CreateEq("AssociatedClient", clieid)) 3: .SingleOrDefault(); 4: This is based on a standard implementation of repository and a Specification [...]
If I have to tell what is the main property of a good architecture, I surely will answer that a good architecture centralize common operations and make simple to extend the application. Here is a typical example. I have a WCF services called from external clients, but I use the same service inside my organization. [...]





