This afternoon, while trying to find a sample that would help me create a Shell Extension for Windows Explorer, I stumbled across the All-In-One Code Framework on CodePlex:
This is not something that I had heard of before, and the initial description of the project warranted some more investigation:
- Are you frustrated by the lack of code samples for a certain programming task?
- Have you ever struggled to quickly get started with a technique?
- Have you expected someone to write code samples for you based on your requests for free?
- Is a one-stop code sample library for all Microsoft development technologies attractive to you?
If your answer is YES to any of these questions, the Microsoft All-In-One Code Framework is for you!
After watching the introduction video here, I decided to get it installed.
There are two ways that you can use it, either as a standalone application or as a Visual Studio 2010 Extension. Due to the fact that the sample application is intended for use with the Express Editions of Visual Studio and because I am a hoarder of Visual Studio Extensions, I opted to install the Extension.
With this installed, you have two ways to access the available sample applications. The first is from the Tools Menu:
Clicking on this brings up this:
Where you have the option to filter on keyword, language and technology.
The second method is to highlight a keyword within your code file and filter on that:
There are currently 678 sample applications that span a very wide area. The people behind this strive to create each sample using C#, VB.Net and C++, as well as for Visual Studio 2008 and Visual Studio 2010, so you should always be able to find sample in the language that you require. If you can’t, there is also the option to request a particular code sample.
Once you have specified the location that you want to store the downloaded sample applications:
You have the option to either download the sample applications as and when you require them, or you can download them all at once. Also, if an update to an application is published to the CodePlex site, the application notifies you of this, and gives you the option to upgrade.
All in all, I think that this is going to be a useful resource, and I would encourage you to take a look. Part of becoming a better programmer involves reading other peoples code, and this application gives you access to lots of it.