List<Person> friends = new List<Person>();
StorageCredentials credential = new StorageCredentials(x, x);
// Retrieve storage account from connection string.
CloudStorageAccount storageAccount = new CloudStorageAccount(credential, true);
// Create the blob client.
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
// Retrieve reference to a previously created container.
CloudBlobContainer container = blobClient.GetContainerReference("cryptochat");
When creating the blob client at "CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();" application break and enter here:
#if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
};
#endif
The exception is: {"The argument 'ParallelOperationThreadCount' is larger than maximum of '64'\r\nParameter name: ParallelOperationThreadCount"}
This code was working in visual studio 2013 then I reinstalled windows 10 and installed 2015 now it does not work. And this code works on emulator but not on device.
It seems there was a bug, try updating your azure SDK