The Bag of Tricks (BOT) Started in December 2005. Kevin was working at Microsoft on v1 of Windows Presentation Foundation (WPF). He was blogging a lot of code samples and wanted to keep them all together and ensure everything kept working as features changed and evolved as WPF moved towards shipping.
The BOT grew to be an important resource for those learning and pushing the capabilities of WPF.
It now includes a set of helper libraries that are generally useful for .NET programming with an emphasis on building GUI applications targetting WPF (v4), Silverlight (v4) and Windows Phone 7.
Parts of the Bag of Tricks are built using Code Contracts. You may wish to install and use these tools when you are working with BOT.
The MIT License
Copyright (c) 2010, 2011 Pixel Lab
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.