Consume SharePoint Web Services with WCF using the Repository, Gateway, Mapper, Domain Model and Factory Design Patterns

The SharePoint developer community has produced a wealth of knowledge and code samples that demonstrate how to consume SharePoint web services and leverage them in domain-specific applications.  This information is often task-centric, such as  "How to add an Item to a List using SharePoint Web Services."   In this article, we will take a framework-centric approach…

9

Implementing the "Only Talk to Friends" pattern using the InternalsVisibleTo Attribute

Did your parents ever tell you “don’t talk to strangers?”  They were trying to protect you, and even though you are all grown up now, that principle is still relevant–to the design of your software, that is.  The basic idea is that classes should limit their surface area and not expose that which reveals implementation…

1