`
灵雨飘零
  • 浏览: 35081 次
  • 性别: Icon_minigender_1
  • 来自: 唐山
文章分类
社区版块
存档分类
最新评论

推荐个找代码示例的VS 插件 All-In-One Code Framework Sample Browser

 
阅读更多

Microsoft All-In-One Code Framework 又称 1code,汇集微软开发平台中各个技术领域的范例程序代码,目前已经累积了超过六百多个含有完整且可执行的项目源代码在上面,主要的目的就是用来帮助学习微软技术的开发人员解决各种工作上常见的问题,而这些范例程序代码的产生都源自于 MSDN 论坛上、社交媒体或其他开发社群等提出的种种开发问题,并由微软员工撰写范例程序代码提供给所有开发人员下载参考、观摩之用,这一切不但都是免费的,更重要的是:如果你觉得他们没有你要的范例程序,你还可以提出需求,请微软的工程师帮你撰写范例程序 。具体可以参考这篇博客 微软一站式开发技术框架解决方案 中文说明

有了这么多的源代码可供参考,最首先面临的问题就是不知道怎么找到我要的源代码呢?当然这就是我们这一篇文章的重点了,你只要通过 Visual Studio 2010 扩展管理器下载 All-In-One Code Framework Sample Browser 就能直接在 Visual Studio 2010 中直接浏览、查找这么多的源代码,以下就是安装与使用的过程说明,简要介绍可以参考发布:Visual Studio 2010 一站式示例代码搜索扩展

我们先不急着安装 All-In-One Code Framework Sample Browser扩展套件,而是先到 Microsoft All-In-One Code Framework 下载完整的源代码回来:http://1code.codeplex.com/releases

下载完之后我们直接将 All-In-One Code Framework.zip 解压缩到任意一个目录下,假设我们解压缩至 E:\Samples 目录,解压缩后的目录大致长这样:

接着我们就可以开始用 Visual Studio 2010 扩展管理器源来安装 All-In-One Code Framework Sample Browser 扩展套件,开启后点选 在线图库 分类,然后在右上角的搜索文字框输入 One Code 就可以查到 All-In-One Code Framework Sample Browser 项目(请注意不要选错搂)。

安装好之后必须重新启动 Visual Studio 2010,然后选取 [Tool] / [Search Code Sample] 就可以打开:

因为是第一次使用,他会要求你输入你先前下载 Microsoft All-In-One Code Framework ,解压缩的目录,

按下 Save 之后就完成了所有配置,随即就会列出许多范例程序项目供您选择,假设你想找与 Entity Framework 有关的范例,在画面下方输入 Entity Framework 即可进行搜索,除此之外还能针对语言 ( C#, VB.NET, … ) 或采用的技术领域进行筛选,如下图示:

除了能筛选资料外,每个项目的前面都有个 Open 的链接,点击后应该会直接打开该项目,如果有错误会提醒你重新下载。

更强的是还能以 Code 找 Code,在源代码编辑器中只要将光标停留在任何一个单字上,按下鼠标右键点选 Search Code Sample 也一样能以该关键词对这六百多个项目进行检索,方便你找到相似的范例程序代码。

通过这个 All-In-One Code Framework Sample Browser 工具,可以帮你搜索出各种不同技术的范例程序代码,比如 MVVM、ASP.NET MVC、Entity Framework、LINQ、…几乎你想的到的都应有尽有,除此之外,最近 Microsoft All-In-One Code Framework 也将所有范例程序代码全部移植到 MSDN Samples Gallery 上面,在 MSDN Samples Gallery 这里你能找到更多可参考的原始码 (有一千多个),真的非常感谢http://www.cnblogs.com/Jialiang/

分享到:
评论

相关推荐

    All-In-One_Code_Framework_(ASP.NET)

    【标题】"All-In-One Code Framework (ASP.NET)" 是一个综合性的代码框架,专注于ASP.NET技术,由C#编程语言实现。这个框架旨在为开发者提供一个全面的示例库,帮助他们理解和应用ASP.NET的各种功能。 【描述】描述...

    SampleBrowser

    微软一站式代码框架(All-In-One Code Framework)项目近日发布了第5版的Sample Browser(示例代码浏览器)

    ICS delphixe10源码版

    .\Samples\delphi\BroswerDemo Delphi Win32/Win64 Web Browser sample application (all Delphi versions) .\Samples\delphi\BroswerDemo\Resources Resource file, web pages and movie linked into browser demo ...

    android sdk 自带 实例(samples)

    Using the links on this page, you can view the source files of the sample applications in your browser. You can also download the source of these samples into your SDK, then modify and reuse it as ...

    UE(官方下载)

    This tutorial will show you how to access the information you need in your browser by simply highlighting your text in the edit window and clicking your toolbar button How to install UE3 UE3 is the ...

    Android代码-kxhtml-isomorphic

    compiled to JVM bytecode on the server side and to JS for the browser. Most of the libraries used by the application are also multiplatform. The sample uses the following technologies: ktor as the ...

    外文翻译 stus MVC

    Tags are one of the things that make Struts unique compared to other frameworks like Velocity. Note: "Think thin" when extending the Action class. The Action class should control the flow and not ...

    Login Control

    All child controls can be visually designed in the IDE such as VS.NET. This includes label captions, validator messages, the size and maxLength of textboxes, style of the label, textbox, text button,...

    Android Platform Developer‘s Guide.doc

    Customizing browser bookmarks 32 Email Provider Customization 34 Platform Themes 37 Bring Up 38 1. Confirm a Clean Installation of a Basic Linux Kernel 38 2. Modify Your Kernel Configuration to ...

    Professional.MFC.with.VC6

    Data Exchange Code in Practice Data Validation Code with DDV_ Using ClassWizard Performing Cross-Edits About Live Edits Using Common Dialogs File Save and Save As File Open Print Font Browser...

    netWindows_0.3.0_pre2

    * __util__ now includes methods for setting and getting class and attribute values, abstracting browser-specific problems away * New Widgets! - Split Pane widget: provides user-resizeable (or not) &...

    Android 4.0 Compatibility Definition

    They must be consistent across all devices to ensure that apps built for one device work correctly on another. ###### 3.2.3 Intent Compatibility Intents are used for inter-component communication in...

    java7帮助文档

    The directory <Java home>/sample/nio/chatserver/ contains samples that demonstrate the new APIs contained in the java.nio.file package. The directory <Java home>/demo/nio/zipfs/ contains samples that...

    浏览器引擎SimpleBrowser.zip

    SimpleBrowser是专门为自动化任务而设计的一个灵活而直观的浏览器引擎,内置.Net 4 framework。示例代码:class Program {  static void Main(string[] args)  {  var browser = new Browser();  try  ...

    VB编程资源大全(英文源码 表单)

    Its a VB program with all source code and sample for creating a bspline / beziere curve / wireframe generator. Very good and fast code.<END><br>43,reaction.zip A computer engineering student from ...

    一本android的好书beginning android 2 和 源码

    android好书系列,我目前找了两本,先贡献给大家。以后如果有好的资源,再上传和大家分享。 本资源是第一本。 这是一本学习android的好书,我浏览了,是老外著的,高清晰的pdf。为了方便大家学习android,我将本书所...

    Bootstrap 4 responsive web design

    Setting up the framework 5 Folder structure 6 Warming up the sample example 6 Bootstrap required tags 8 Building our first Bootstrap example 10 The container tag 11 Optionally using the CDN setup 14 ...

Global site tag (gtag.js) - Google Analytics