Created
          March 29, 2015 23:45 
        
      - 
      
- 
        Save gbellmann/31856777008c73582b89 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public SearchServiceClient GetSearchServiceClient() | |
| { | |
| // El nombre del servicio es solamente la primera parte de la URL del servicio, | |
| // ej.: https://miservicio.search.windows.net/ | |
| string searchServiceName = "miservicio"; | |
| string apiKey = "Aquí va una de las keys de administración." | |
| SearchServiceClient serviceClient = new SearchServiceClient(searchServiceName, new SearchCredentials(apiKey)); | |
| return serviceClient; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment