title: Azure Storage exception when a string length is more than 32768 characters
body: <p>My application is an ASP.NET Core 1.0 Web API. If my controller returns a small string, everything works fine. But if the string length gets longer than 32768, i'm getting the following error message:</p>
  
  <pre class="lang-none prettyprint-override"><code>--- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Server.Kestrel.Internal.Htpp.Frame`1.&lt;RequestProcessAsync&gt;d__2.MoveNext()
  Request Information
  RequestID:440ed7db-0002-006f-742e-a28f82000000
  RequestDate:Tue, 21 Mar 2017 11:30:40 GMT
  StatusMessage:Bad Request
  ErrorCode:PropertyValueTooLarge
  </code></pre>
  
  <p>This is my Controller:</p>
  
  <pre><code>[HttpGet]
  [Produces("plain/text")]
  public async Task&lt;IActionResult&gt; GetData()
  {
      return this.Ok(this.GetResponse());
  }
  
  private string GetResponse()
  {
      string retVal = string.Empty;
      for (int i = 0; i &lt; 32769; i++)
      {
          retVal = retVal + "a";
      }
      return retVal;
  }
  </code></pre>
  
  <p>The full error message:</p>
  
  <pre class="lang-none prettyprint-override"><code>Microsoft.WindowsAzure.Storage.StorageException: BadRequest
     at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.&lt;ExecuteAsyncInternal&gt;d__4`1.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\Windows Runtime\Core\Executor\Executor.cs:line 315
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter`1.GetResult()
     at MyProjectNameLogging.AzureStorageLoggingConnector.&lt;WriteToRequestLogAsync&gt;d__4.MoveNext() in AzureStorageLoggingTable.cs:line 29
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.GetResult()
     at MyProjectNameLogging.Repositories.RequestLoggingRepository.&lt;WriteToLogAsync&gt;d__6.MoveNext() in Repositories\RequestLoggingRepository.cs:line 36
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.GetResult()
     at MyProjectNameLogging.Middleware.RequestMiddleware.&lt;Invoke&gt;d__2.MoveNext() in Middleware\RequestMiddleware.cs:line 69
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Swashbuckle.SwaggerUi.Application.SwaggerUiMiddleware.&lt;Invoke&gt;d__5.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Swashbuckle.SwaggerUi.Application.RedirectMiddleware.&lt;Invoke&gt;d__4.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Swashbuckle.Swagger.Application.SwaggerMiddleware.&lt;Invoke&gt;d__6.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.&lt;Invoke&gt;d__18.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.&lt;Invoke&gt;d__7.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.&lt;Invoke&gt;d__8.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Server.Hosting.Internal.RequestServiceContainerMiddleware.&lt;Invoke&gt;d__3.MoveNext()
  --- End of stack trace previous location where exception was thrown ---
     at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.AspNetCore.Server.Kestrel.Internal.Htpp.Frame`1.&lt;RequestProcessAsync&gt;d__2.MoveNext()
  Request Information
  RequestID:6d8afaf4-0002-00cd-1235-a2421e000000
  RequestDate:Tue, 21 Mar 2017 12:24:57 GMT
  StatusMessage:Bad Request
  ErrorCode:PropertyValueTooLarge
  </code></pre>
  
  <p>I would like to return strings way longer than 32768.</p>
  
  <p>Any advices?</p>