Microsoft all-in-one code framework is also called1 codeBrings together examples of various technical fields on the Microsoft Development PlatformProgramCodeMore than six hundred complete and executable projects have been created.Source codeIn the above, the main purpose is to help developers who learn Microsoft technology to solve various common problems at work, the generation of these sample code is based on various development issues raised on the msdn Forum, social media, or other development communities, the sample program code written by Microsoft employees is provided to all developers for download reference and observation. It is not only free, but more importantly: if you don't think they have the sample program you want, you can ask Microsoft engineers to help you write the sample program. For details, refer to the Chinese description of Microsoft's one-stop development technical framework solution.
With so many source code for reference, the first problem is that I don't know how to find the source code I want? Of course, this is our article.ArticleYou only need to download all-in-one code framework sample browser through Visual Studio 2010 Extension Manager to directly browse and find so many source codes in Visual Studio 2010, the following describes the installation and use processes. For a brief introduction, see the release: Visual Studio 2010 one-stop sample code search extension.
We do not rush to install the all-in-one code framework sample browser extension suite, but first go to Microsoft all-in-one code framework to download the complete source code back: http://1code.codeplex.com/releases,
After the download is completeAll-in-One Code framework.zipDecompress the package to any directory.E: \ SamplesDirectory. The extracted directory is roughly as long as this:
Then we can start to use the Visual Studio 2010 Extension Manager source to install the all-in-one code framework sample browser extension suite. ClickOnline Image LibraryCategory, and then in the search text box in the upper right corner, enterOne CodeYou can find the all-in-one code framework sample browser Project (please be careful not to choose the wrong one ).
After installation, you must restart Visual Studio 2010 and select [Tool]/[search code sample] to enable it:
Because this is the first time you use it, he will ask you to enter the directory where you downloaded Microsoft all-in-one code framework and decompressed it,
PressSaveAfter completing all the configurations, many sample program projects will be listed for you to choose from. If you want to find examples related to Entity Framework, enter Entity Framework below the screen to search, in addition, it can also be used for languages (C #, VB. net ,... ) Or the technical fields used for filtering, as shown in:
In addition to filtering data, each project hasOpenThe project will be opened directly after you click it. If there is a mistake, you will be reminded to download it again.
What is better is that you can still find the code using the code, inSource code editorAs long as the cursor stays on any word, you can also right-click the search code sample to search for more than six hundred projects with this keyword, you can easily find similar sample code.
With this all-in-one code framework sample browser tool, you can search for sample program codes of different technologies, such as mvvm, ASP. net mvc, Entity Framework, LINQ ,... Microsoft all-in-one code framework has recently ported all the sample code to the msdn samples Gallery, in msdn samples gallery, you can find more source codes for reference (more than one thousand). Thanks very much to the http://www.cnblogs.com/Jialiang.