The SharePoint Guidance Library is a set of reusable components and utility classes,
developed by the patterns & practices team at Microsoft, which can help you to build
more robust applications for SharePoint 2010. You can download the SharePoint
Guidance Library as source code, build the assembly, and use the components in your own
The SharePoint Guidance Library includes the following components:
- The SharePoint Logger, which can help you to log exceptions and trace information in a consistent, informative way, by providing easy-to-use utility methods that write to the Microsoft Windows® Event log and the ULS (SharePoint Unified Logging Service) trace log.
- The Application Setting Manager, which can help you to manage configuration settings, by providing a robust, consistent mechanism that you can use to store and retrieve configuration settings at each level of the SharePoint hierarchy.
- The SharePoint Service Locator, which can help you develop testable, modular code, by enabling you to decouple your code from dependencies on external types.