Follow us on rss Code sample blogs Facebook Twitter
Sample Browser


 1Code.Blog News Feed 
Thursday, March 16, 2017  |  From 1Code.Blog
 1Code.Blog News Feed 

Introduction Video
  • Are you frustrated by the lack of code samples for certain programming tasks?
  • Have you 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 DEV technologies attractive to you?
If your answer is YES to any of these questions,
Microsoft All-In-One Code Framework is for you!


The Microsoft All-In-One Code Framework is a free, centralized code sample library driven by developers' needs. Our goal is to provide typical code samples for all Microsoft development technologies, and reduce developers' efforts in solving typical programming tasks.

Our team listens to developers’ pains in MSDN forums, social media and various developer communities. We write code samples based on developers’ frequently asked programming tasks, and allow developers to download them with a short code sample publishing cycle. Additionally, our team offers a free code sample request service. This service is a proactive way for our developer community to obtain code samples for certain programming tasks directly from Microsoft.


Code Samples

scenario-focused code samples
Different from traditional feature-focused code samples, Microsoft All-In-One Code Framework provides scenario-focused code samples driven by customers' real-world programming pains and needs. We listen in developer communities and the sample request service, collect developers' typical programming scenarios, and compose them into code samples.

Since we launched the project in 2009, we have created 700+ scenario-focused code samples covering 23 Microsoft development technologies. The sample repository is growing by 6 samples per week. To search and download the code samples, you can either visit, or use our Sample Browser to enjoy the flexible download experience.


Sample Of The Day

Sample Of The Day
Every day is an opportunity to learn something or discover something new.

Microsoft All-In-One Code Framework offers "Sample of the Day". "Sample of the Day" introduces one amazing code sample every 24 hours that demonstrates the most typical programming scenarios of different Microsoft technologies. If you are curious about and passionate for learning something new, follow the “Sample of the Day” RSS feed or visit the "Sample of the Day" homepage, and share your feedback with us

 Microsoft All-In-One Code Framework : SampleOfTheDay News Feed 
 Microsoft All-In-One Code Framework : SampleOfTheDay News Feed 


Sample Browser & Sample Browser Visual Studio Extension

To make the sample search, download and management experience hassle free and enjoyable, Microsoft All-In-One Code Framework and MSDN Samples Gallery innovated the Sample Browser and Sample Browser Visual Studio Extension. Developers can enjoy 700+ code samples from Microsoft All-In-One Code Framework with a few simple clicks.

Sample Browser
Sample Browser Visual Studio Extension


Code Sample Request Service

Sample Request Service
Microsoft All-In-One Code Framework team announces a new code sample request service. This is a proactive way for our developer community to obtain code samples for certain programming tasks directly from Microsoft if developers cannot find the wanted code samples in the repository. We want to alleviate the frustration felt by developers.

Developers are encouraged to submit code sample requests dealing with any Microsoft development technologies to our site. At the same time, developers can now vote for newly submitted or existing code sample topics. Here’s the exciting part! Microsoft engineers will then pick the requests with the highest number of votes and provide the code samples.


C++ and .NET Coding Guideline

Coding Guideline
Microsoft All-In-One Code Framework team shares the coding guideline for native C++ and .NET (C# and VB.NET) programming. The coding guideline is used by the project team to create code samples. This standard derives from the experience of product development efforts and is continuously evolving. If you discover a new best practice or a topic that is not covered, please bring that to the attention of the All-In-One Code Framework Project Group and have the conclusion added to this document.

No set of guidelines will satisfy everyone. The goal of a standard is to create efficiencies across a community of developers. Applying a set of well-defined coding standards will result in code with fewer bugs, and better maintainability. Adopting an unfamiliar standard may be awkward initially, but the pain fades quickly and the benefits are quickly realized, especially when you inherit ownership of others' code.


Customer Feedback

We look forward to hearing your feedback and suggestions. Please email or fill out a quick survey to tell us your requirements.
"An evolution to next-level, example-centric coding for developers"
Softpedia news media

"The samples could definitely spare you from some horrible bugs”
Kate Gregory (Regional Director/MVP, Microsoft)

"An innovative piece of work that makes developers’ life much easier”
Arjun Bahree (Practice Leadership, Wipro Infotech)

"OK, I am officially Loving the new All-In-One Code Framework!"
Dirk Strauss (Software Developer)

"Great Job Done Microsoft. You guyz are truly brilliant and genius"
Abdullah Rehman



Last edited Mar 4 at 6:13 AM by Jialiang, version 460