Code Exploration Feature

We’ve heard a lot of feedback that code samples are one of the most important things we can provide on the MSDN Magazine Web site. 

Ask and we shall provide!  Our new code exploration feature just went live.  Where previously you were only able to download the large code projects that accompany most of our articles, now you can also browse through those projects online, viewing all of the source code without ever leaving the site.  This should also allow you to find that code easier through search engines, and if you find a sample you particularly like and want to highlight, you can easily link to it from your blog or wherever else. 

To take advantage of the feature, simply click the “Get the sample code for this article” link at the top of an article that has code available (if you hover over the link, you’ll also be provided with a link to download it as you have in the past).  For example, clicking on the link on Jeffrey Richter’s article in the March 2007 issue brings you to this code exploration page.

Right now, the feature is enabled on all articles with code downloads since the January 2005 issue.  With this initial implementation up and running, we’ll now work to get previous years up as well.  For those of you who use our translated articles, you’ll notice that the navigation strings used in the feature haven’t yet been localized: not to worry, that will happen soon (though unfortunately we don’t have the resources at the moment to localize comments and such in the actual code).  And we have a whole list of things we want to add for the next release to make the feature even more useful.

If you like the feature, by all means let us know.  If you have feedback, comments, or suggestions, let us hear those as well.  We do this for you, so let us know if we’re on track.


Comments (8)

  1. says:


    The only featured I see lacking is maybe some syntax coloring and an "All xxx" for .cs, .vb, and .aspx file extensions to facilitate scanning all the code.

  2. MSDNMagazine says:

    Thanks, Adam!  We’re definitely considering syntax coloring for the next rev.  Can you elaborate on what you’re looking for in the "All xxx" feature?  Do you mean you want to see all files in the project in a flat list, regardless of where there are in the hierarchy, and then be able to filter by extension?


  3. PV says:

    This is a great addition. Once this year is published on CD, will this feature be enabled as well?


  4. MSDNMagazine says:

    PV, that’s a great suggestion.  The 2006 archive CDs have already been created and replicated, so unfortunately this can’t be included in that.  But we’ll definitely keep this in mind for the 2007 archive CD.  Thanks!


  5. I often receive questions, especially from new authors to the magazine, about what it takes to put out

  6. I mentioned a few weeks ago that we enabled our " Code Explorer " feature on all of the code samples