Answered Azure/Bing Search - 'Site:' operator?

  • Friday, February 08, 2013 6:07 PM
     
     

    Hey, all -

    I've been migrating an old Bing web search app to the Azure format, using the C# proxy 'BingSearchContainer' class. No problem, simple enough to implement, except... I can't see how to restrict search results to a particular domain as was previously possible using the 'site:' operator in the query string.

    Could some kind soul please point me at a solution?

    TIA.

All Replies

  • Monday, February 11, 2013 9:34 AM
    Moderator
     
     Answered

    HI

    You can put the site: option in the query term. Please make sure to URL encode the item. For example:

    Query=%27something%20site%3Ahttp%3A%2F%2Fwww.microsoft.com%27


    Dino He
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.