MSDN Code Search Preview combines the samples from MSDN Code Gallery, CodePlex content, and MSDN Library.
How to Use MSDN Code Search Preview:
MSDN Code Search Preview is accessible through MSDN Search as a “filter” when using site search. Just type your code search query and click the “Code Search” button next to the search bar to optimize your experience for code search and find code samples from MSDN Code Gallery, CodePlex content, and MSDN Library:
Masthead search and Site search is by default scoped to search MSDN (if you're on the MSDN site) and TechNet (if you're on the TechNet site) as well as a number of other relevant sites. Masthead search is the search box on any MSDN or TechNet page. Site search is our actual search page: http://social.msdn.microsoft.com/Search or http://social.technet.microsoft.com/Search.
Masthead search:1. Go to MSDN home: http://msdn.microsoft.com/en-us/default.aspx2. Search for 'asp.net' (no quotes); the search URL is: http://social.msdn.microsoft.com/search/en-us/?query=asp.net3. Under the search box in the Refine by source: section you should see a link for 'Library Documentation and Articles (x)'-Clicking the link will rerun your search limited to the Library-Clicking the 'x' will rerun the search excluding the Library
Forums search:1. Go to MSDN Forums: http://social.msdn.microsoft.com/Forums/en-US/categories2. In the 'Search Forums' search box search for 'system.xml' (no quotes); don't use the masthead search box. The search URL is: http://social.msdn.microsoft.com/Search/en-US/?Refinement=112&query=system.xml&rq=&rn=-This search is scoped to only Forums3. In the 'Current Refinements' you will see 'Forums (x)' and 'Remove all'-Clicking either of these will rerun your search with our default scope which will include MSDN and Technet.