title: Google api requests async methods fails silently but sync methods work in asp.net web service
body: <p>Every time I try to use one of the async methods to execute a google api's request, it fails silently only in a asp.net web service, it fails silently, no exceptions, only this when testing in localhost:</p>
  
  <pre><code>This XML file does not appear to have any style information associated with it. 
  The document tree is shown below.
  
  &lt;TaskOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/"/&gt;
  </code></pre>
  
  <p>If I change the method to the sync version all works without a problem.</p>
  
  <p>For example, see my comments here:</p>
  
  <pre><code>    private async Task&lt;XmlDocument&gt; GetListAsync()
      {
          LogInfo("Descargando lista de juntas");
  
          try
          {
              if (_DriveService == null)
                  throw new ArgumentNtullException("service");
              LogInfo("DriveService no es null");
  
              var request = _DriveService.Files.List();
              request.Q = $"name = '{_ListName}' and trashed = false";
              request.Fields = "files(id,parents)";
              LogInfo("Preparado request para descargar lista de juntas: {0}", request.Q);
  
              var result = request.Execute();//&lt;-- this works 
              //var result = await request.ExecuteAsync(); &lt;-- this fails silently
              LogInfo("Request para lista juntas terminado con número de resultados: {0}", result.Files.Count);
  </code></pre>
  
  <p>You can seethat after the <code>request.Execute</code> lines there are a log. If I used the async version that log is never written, also the line is never reached if I put a breakpoint there. If I use the sync version all work as it should.</p>
  
  <p>I've tried it with <code>Files.List</code>'s <code>ExecuteAsync</code> and <code>Files.Get</code>'s <code>DownloadAsync</code> with same result, so I suppose it'll happen the same with other requests.</p>
  
  <p>Some ideas of why is this happening?</p>
  
  <p>PS:
  I've just made a clean asp.net project. Added the service account key, added the minimum code to reproduce it, and same results. I think I should open an issue at github about this.</p>