共用方式為


MSDN Code Gallery - snippets, samples and resources

Providing our customers with best in class development tools is only one piece of what we need to do to help them be successful or, in some cases, even get started. One of the most requested things we have heard is that developers want snippets, samples, sample applications and other resources. There are many ways we get this type of information out to the community. The first, and probably most broadly implemented, is through blogs like ScottGu’s.

A new resource that we have just launched is The MSDN Code Gallery.

The MSDN Code Gallery is a portal for snippets, samples and other resources. In it you can find pages that describe samples and supporting documents including screenshots and design documents. In addition, you will find hosted conversations about these samples, sample projects or other resources that have been provided to the community. This destination is open to the entire community to contribute content to.

Code Gallery is, at its core, simply a community enabled site where we share developer enabling information and resources that will be integrated into the MSDN experience.

However, Code Gallery is a pure storage site with no project management capabilities. If you need to manage a live code project and collaborate with others on it, use CodePlex, another offering that we provide for open source project hosting. And for more significant pieces of content such as SDKs and product downloads, you can always go to https://www.microsoft.com/downloads.

Hopefully, the MSDN Code Gallery provide you with another valuable resource for you to get started and be successful.

Namaste!

Comments

  • Anonymous
    January 28, 2008
    What are the license terms of the code samples and community provided sample applications. What I want is for the code to be usable by anyone in any project/application written under any kind of development model closed or open source. For the time being, existing MS Sample licenses do not allow the usage of the sample code in any open source licensed project, especially in GPL projects. The same unfortunately is the case with sample code contributed by the community on MSDN which is under the MSPL license as the MSPL is incompatible with all other open source licenses. You cannot use MSPL code in projects which are government under a different open source license as MSPL says that if you publish source code is has to be under MSPL license. So, neither the old Sample Code License and MSPL (Microsoft Public License) is suitable in my opinion for licensing sample code, especially community contributed one since the community expect their code to be usable in all types of applications, even open source ones. So, please look into the licensing issue further, perhaps modify the MSPL or make a new sample license that act like public domain which can be used by any and every development projects. I am not saying that it has to be public domain but at least look in to it please.

  • Anonymous
    January 28, 2008
    I do like the idea of this portal, but there is practically no C++ code there (I filtered by C++ and got 1 result). I guess C++/MFC developers are not (yet) jumping on this bandwagon.  I, for one, have voiced that too much MSDN documentation lacks native sample code.  So, I don't think portal is (currently) all that relevant to native developers.   I hope MSDN plans on re-including the native C++/MFC community back into their domain, sample code and magazine.  (until then I'll just stick with CodeProject: http://www.codeproject.com/) Thanks.

  • Anonymous
    January 28, 2008
    Code Gallery, a new site for sharing samples from Microsoft and the Community is now live: http://code.msdn.microsoft.com/

  • Anonymous
    January 28, 2008
    Code Gallery, a new site for sharing samples from Microsoft and the Community is now live: http://code

  • Anonymous
    January 28, 2008
    MSDN Code Gallery - snippets, samples and resources The developer community has a new place to learn...

  • Anonymous
    January 28, 2008
    The MSDN Code Gallery is the latest developer portal offering for snippets, code samples and other great

  • Anonymous
    January 28, 2008
    From the terms: Author's beware (not my caps): WITHOUT LIMITING THE FOREGOING, COPYING OR REPRODUCTION OF THE SOFTWARE TO ANY OTHER SERVER OR LOCATION FOR FURTHER REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY PROHIBITED, UNLESS SUCH REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY PERMITTED BY THE LICENSE AGREEMENT ACCOMPANYING SUCH SOFTWARE. Which could be interpreted to mean that you can't post your own code on your own server once you post it on the MSDN server, unless it's in your license agreement. And connecting the dots: Any software that is made available to download from the Services ("Software") is the copyrighted work of the registered users of the Services posting the Software, or their suppliers. ... Permission to use Documents (such as white papers, press releases, datasheets and FAQs) from the Services is granted, provided that: (1) the below copyright notice appears in all copies ... Copyright © 2006-2007 Microsoft Corporation, . All rights reserved. So, does anyone disagree, that what this terms statement is saying, is that the Service that you post, that includes documents, is copyrighted by Microsoft? --Marc

  • Anonymous
    January 28, 2008
    The MSDN Code Gallery is the latest developer portal offering for code snippets, samples, sample applications

  • Anonymous
    January 28, 2008
    MSDN Code Gallery - snippets, samples and resources The developer community has a new place to learn

  • Anonymous
    January 28, 2008
    The first release is a simple four function calculator, which builds off of last week's blog post and integrates fsyacc for parsing. The net result is the ability to write simple simple expressions like "10 * 2 - 15 / 3" and get it evaluated using the

  • Anonymous
    January 28, 2008
    Check out Somasegar's posted today rolling out the newest tool from our division for developers. MSDN

  • Anonymous
    January 28, 2008
    MSDN Code Gallery posted

  • Anonymous
    January 28, 2008
    "One of the most requested things we have heard is that developers want snippets, samples, sample applications and other resources.  " We really want a stable development environment that contains a true data centric langauage ... Perhaps if visual studio wasn't bloated with 5000+ classes and 30 different ways of doing the same task each with it's own set of various work arounds, we would not need samples, snipetts and sample applications. The fact is if "samples" are needed is a tell tale sign this product is headed in the wrong direction ! Mark Best Regards, Mark

  • Anonymous
    January 28, 2008
    As announced in Somasega's blog post , Download and share sample applications, code snippets, and other

  • Anonymous
    January 28, 2008
    As announced in Somasega's blog post , Download and share sample applications, code snippets, and

  • Anonymous
    January 28, 2008
    Pewnie już wiecie, bo dużo bloggerów już zasięgnęło języka u Somy . Jeśli nie to zapraszam na http://code.msdn.microsoft.com/

  • Anonymous
    January 28, 2008
    Pewnie już wiecie, bo dużo bloggerów już zasięgnęło języka u Somy . Jeśli nie to zapraszam na http

  • Anonymous
    January 29, 2008
    News: MSDN Code Gallery

  • Anonymous
    January 29, 2008
    If you're new here, you may want to subscribe to the SharePoint Buzz RSS feed. Thanks for visiting! This blog posts regular SharePoint 2007 news, updates of web parts, workflows, ideas, collaboration efforts, quick fixes and everything about Microsof..

  • Anonymous
    January 29, 2008
    Samples are always useful and we can never have enough samples.  So in this regard, we now have

  • Anonymous
    January 29, 2008
    I wanted to make a few comments on the licensing questions posted here.  There are many varieties of licenses available in the market, with the  MS-PL being one flavor. Our intent here is to provide as much openness as possible to enable the sharing of all of the great samples developers in Microsoft and the community have created.  It is true that the MS-PL does not allow relicensing of code under the GPL because the MS-PL requires that distribution of the code in source form be under the MS-PL, but this requirement is not more restrictive than the terms of the GPLv2.  So, there is no specific restriction on using code licensed under the MS-PL in an OSS project so long as the use does not subject the MS-PL’d code to another license.  As you are no doubt aware, there are no simple solutions here and if you have any needs beyond simply sharing with the community, I would urge you to talk with counsel to guide you with regard to license compliance in any specific scenario. Let me also try to clear up some of the additional points that were brought up.  The rights granted by a registered user uploading code to Code Gallery are not exclusive and, as the originator of the code, you can choose to license it to others or dispose of it as you desire. The restrictions are intended to apply only to the code you upload. The second point covers the MSDN Site services.  It is important to separate the areas that cover the services from the areas that discuss the code you may share.  The term “Service” is distinguished from the software you upload - the language states that the Software, “...is the copyrighted work of the registered users of the Services posting the Software, or their suppliers.” (emphasis added) and not Microsoft. As for the statement regarding Documents - that term as defined applies to content supplied by Microsoft and the intent is not to have it apply to code that registered users provide.  I hope this helps to clarify the terms.   John Molloy, Developer Division Community Team

  • Anonymous
    January 29, 2008
    The MSDN Code Gallery was launched today by Soma Somasegar . The developer community has made “more samples!”

  • Anonymous
    January 29, 2008
    Yesterday Soma announced The MSDN Code Gallery where Microsoft employees and the community can post samples

  • Anonymous
    January 29, 2008
    I have mentioned this on another blog; however, many might construe this as internal confusion within Microsoft. Initially the community was to use GotDotNet which was phased out in preference for Codeplex which is now a sibling to the MSDN code gallery. Microsoft should devote more time to creating irresistible benefits for and promotion of one site; otherwise others will evacuate to SourceForge or Google Code for continuity.

  • Anonymous
    January 30, 2008
    In case you missed the announcement early this week, check out Soma's blog post MSDN Code Gallery - snippets,

  • Anonymous
    January 30, 2008
    In case you missed the announcement early this week, check out Soma's blog post MSDN Code Gallery

  • Anonymous
    January 30, 2008
    [原文发表地址] MSDN Code Gallery - snippets, samples and resources [原文发表时间] Monday, January 28, 2008 11:09

  • Anonymous
    January 31, 2008
    Now MSDN has come up with its own version of online code repository website - the MSDN Code Gallery

  • Anonymous
    February 01, 2008
    Pablo Galiano has created a wonderful sample that provides StickyNotes capabilities to Visual Studio

  • Anonymous
    February 05, 2008
    Microsoft launched its MSDN Code Gallery yesterday. According to Somasegar The MSDN Code Gallery is a

  • Anonymous
    February 06, 2008
    Resumo da semana - 07/02/2008

  • Anonymous
    February 07, 2008
    Microsoft launched its MSDN Code Gallery yesterday. According to Soma Somasegar The MSDN Code Gallery

  • Anonymous
    February 07, 2008
    This month's letter includes information about what the VSX team has been working on in the past few

  • Anonymous
    February 07, 2008
    This month's letter includes information about what the VSX team has been working on in the past

  • Anonymous
    February 18, 2008
    Is this site limited to Microsoft employees? Every time I try to sign in, it takes me back to the home page, which is still displaying the "Sign In" button. I've tried deleting my cookies, and even using a different browser, with no success. If this is intended to be open to the public, is there some magic step I have to take in order to sign in?

  • Anonymous
    February 18, 2008
    The comment has been removed