Wednesday, September 08, 2010

Three languages, tons of technologies, continual additions, all source: The Microsoft All-In-One Code Framework (think “An Official Boat Load of Code Samples!”) (Added bonus “How can I on earth write a managed shell extension” with .Net 4 sample)

All-In-One Code Framework - Microsoft All-In-One Code Framework New Samples Updated on 2010-09-06

If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/archive/2010/01/18/the-all-in-one-code-framework.aspx.  

Windows Shell extension using managed code (C#/VB.NET) is an extremely host question in MSDN forums and newsgroups. Prior to .NET Framework 4, the development of in-process shell extensions using managed code is not officially supported because of the CLR limitation allowing only one .NET runtime per process. Jesse Kaplan, one of the CLR program managers, explains it in this MSDN forum thread: http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e.

In .NET 4, with the ability to have multiple runtimes in process with any other runtime, Microsoft can now offer general support for writing managed shell extensions—even those that run in-process with arbitrary applications on the machine. This article introduces the in-process side-by-side feature in detail. However, please note that you still cannot write shell extensions using any version earlier than .NET Framework 4 because those versions of the runtime do not load in-process with one another and will cause failures in many cases.

The documents explains the theory. How can I on earth write a managed shell extension? …

image…”

All-In-One Code Framework - VC++, C#, VB.NET Coding Guideline of All-In-One Code Framework 

 

CodePlex - All-In-One Code Framework

“Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.

Today is June 8th, 2010. The project has more than 390 code examples that cover 24 Microsoft development technologies like Azure, Windows 7 and Silverlight 3. The collection grows by six samples per week. You can find the up-to-date list of samples in All-In-One Code Framework Sample Catalog.

…”

All-In-One Code Framework - All-In-One Code Framework Sample Catalog

All-In-One Code Framework [GD: I think that page snap just about says it all as to the number of the samples…]

I am just a sucker for code samples and coding guidelines. I don’t know what it is, but they draw me like a bear to honey. Maybe it’s the fact that I can leverage someone else’s work, that I can see working examples and can stand on the shoulders of giants… Yeah, that could be it… ;)

No comments: