A new release of Microsoft All-In-One Code Framework is available on August 8th. We expect that its 15 new code samples covering Silverlight, SharePoint, ASP.NET, WPF, Windows Forms, Windows General and Visual Studio Extensibility would ease many developers’ work.
Download address: http://1code.codeplex.com/releases/view/71395
Alternatively, you can download the code samples using Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates.
If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, and read the introduction on our homepage http://1code.codeplex.com/.
Sagar Bhanudas Joshi from Microsoft Developer Support created this code sample for demonstrating how to use Silverlight along with SharePoint. A Silverlight application can be hosted inside a SharePoint site and it is called as a Silverlight WebPart. By bringing Silverlight and SharePoint together, SharePoint users will experience richer and more compelling interfaces, smaller page postbacks, and many other benefits. Please check out the detailed walkthrough of the code sample in the sample download page.
Downloads C# version: http://code.msdn.microsoft.com/CSASPNETDisplayAddtionalTex-3a9f7013 VB version: http://code.msdn.microsoft.com/VBASPNETDisplayAddtionalTex-c7f86fb5
The code sample shows how to add additional text under the selected date of an ASP.NET Calendar control. We observed that many developers want to display different customized text when a certain date is selected in the ASP.NET Calendar control. In this code sample, we give an easy way to customize Calendar's text, background color, border properties etc for the selected date.
Downloads C# version: http://code.msdn.microsoft.com/CSASPNETGroupedGridView-3aac9b39 VB version: http://code.msdn.microsoft.com/VBASPNETGroupedGridView-a69579a7
The code sample shows how to group cells in GridView with the same value. It uses jQuery to group cells on the client side. The solution can be easily reused in your own project.
Downloads C# version: http://code.msdn.microsoft.com/CSWPFAnimatedGIF-3029aeb9 VB version: http://code.msdn.microsoft.com/VBWPFAnimatedGIF-93d061e5
The code sample demonstrates how to show GIF animation in WPF. Please note that GIF images are deprecated in WPF due to the imperfect scaling ability. You are recommended to use WPF animation instead. This code sample is intended to show how to implement a simple and relatively efficient animated GIF image control in case this might be a better alternative in some situations.
Downloads C# version: http://code.msdn.microsoft.com/CSWinFormExAeroToClient-3b123c56 VB version: http://code.msdn.microsoft.com/VBWinFormExAeroToClient-f0d42b34
The code sample demonstrates how to create a Windows Form with Aero glassstyle when it is running in Windows Vista or new operating systems. There are 2 approaches to achieve Aero glassstyle in a Window:
Both are demoed in the code sample.
Downloads C# version: http://code.msdn.microsoft.com/CSEnumStringConverter-31cb7347 VB version: http://code.msdn.microsoft.com/VBEnumStringConverter-f1c3411c
Coauthored by Anand Malli – an associate consultant at Microsoft, Jialiang Ge and Ruiz Yi, this sample demonstrates how to convert enum to comma separated string & vice versa. It also covers the description attribute for enum while conversion. You can find an reusable EnumDescriptionConverter class in the code sample that does all the magic enum-string conversion for you, flexibly.
The C# version of this sample was published and introduced in our last month’s release: http://code.msdn.microsoft.com/CSTiffImageConverter-92ac2358. this sample demonstrates how to convert JPEG images into TIFF images and vice versa. This sample also allows to create single multipage TIFF images from selected JPEG images.
TIFF (originally standing for Tagged Image File Format) is a flexible, adaptable file format for handling images and data within a single file, by including the header tags (size, definition, image-data arrangement, applied image compression) defining the image's geometry. For example, a TIFF file can be a container holding compressed (lossy) JPEG and (lossless) PackBits compressed images. A TIFF file also can include a vector-based clipping path (outlines, croppings, image frames).
Downloads C# version: http://code.msdn.microsoft.com/VBVSXProjectSubType-e829fe00 VB version: http://code.msdn.microsoft.com/VBVSXProjectSubType-e829fe00
A Project SubType, or called ProjectFlavor, let you customize or flavor the behavior of the project systems of Visual Studio. In this sample, we demonstrate how to create a Project SubType with following features: 1. Removing the Services Property Page; 2 Adding a custom Property Page. 3. Saving the data on the custom Property Page to project file.
Downloads C# version: http://code.msdn.microsoft.com/CSVSXSaveProject-bfb796b2 VB version: http://code.msdn.microsoft.com/VBVSXSaveProject-65a4f335
When you are coding in Visual Studio, have you ever expected Visual Studio File / Save menu to provide a “Save Project As” button to save the current project to a different location? Authored by Ruiz Yi and Anand Malli, the code sample extends Visual Studio IDE to allow you to save an existing project to a different location. This extension is heatedly requested in MSDN forums. We are providing the code sample for doing it now.
If you have any feedback, please fill out this quick survey or email us: firstname.lastname@example.org
Great Job Done MicroSoft .................Thank You very much. You guyz are truly brilliant and Genius.
Great post! thank you so much Microsoft. This really will help a lot of developers out there. You do not only have excellent products, but also great initiative to give more value to your market and customers. Two thumbs up for You!
Nichelle from www.thermometreauriculaire.net