Search and SEO: What's Happening

Rob Veliz, Product Planner - Search

MSDN Code Search Preview: Search Code with “Class”

MSDN Code Search Preview: Search Code with “Class”

  • Comments 2
  • Likes

Have you ever been stuck in the middle of a coding project and needed to find a class definition or perhaps a function call?  In an effort to provide a better experience for our customers looking for code on MSDN, we have just launched the MSDN Code Search Preview.  You can try it out here.

Why Code Search?

MSDN site search provides results from content across MSDN and related websites.  But what if you’re looking for code, specifically?  The MSDN Code Search Preview leverages a user interface that best displays code results and also allows you to narrow your search to code samples.  After entering in a code-related query (such as “createfile”) you can then filter your search by language and more to find the code sample you need and help you troubleshoot and complete your project.

How Does MSDN Code Search Preview Work?

To use MSDN Code Search Preview, just visit MSDN search.  By entering in a code-related query and clicking “Code Search Preview” you can search for code within the MSDN Library. 

There are some great features to take advantage of in the MSDN Code Search Preview.  Just a few of these features are described below:

  • Advanced search.  Use the slider to choose an exact match or a “fuzzy” match to your query.  Add a language and project filter and you can quickly narrow your search.
  • Search by language.  Looking for ASP.NET examples?  Coding in C++?  Filter your search using the “Language” drop-down list.
  • Search using qualifiers.  Filter your search by function calls, definitions, and more.
  • Search by technology area, called “project” in Code Search.
  • Create a permanent link to your results.  Use the “Create Link” button to create a permanent link to your search results to share with others or come back to them later.
  • ...and more to come! 

We’re currently planning to include more code results from sites like MSDN Forums, MSDN Code Gallery, and CodePlex.  You can also tell us what you think of the MSDN Code Search Preview and provide additional feedback by participating in the MSDN and TechNet Search Feedback Forum.  Stay tuned for more updates…

Comments
  • Microsoft is opening up the MSDN , TechNet , and Expression sites to the worldwide technical community.

  • The online libraries on MSDN and TechNet are among the most used sites on our network. Here's some great

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment