Download Blob to string incorrect docs

Open Beginner friendly
#390 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
azure, csharp
Domain
documentation

Research direction

Open blobs/howto/dotnet/BlobDevGuideBlobs/DownloadBlob.cs at line 45 and compare the documented download-to-string example with the issue's corrected snippet. Update the example so it uses DownloadContentAsync and reads the downloaded content as shown; done means the sample matches the corrected API usage.

Written by the indexing model from the issue text.

Description

https://github.com/Azure-Samples/AzureStorageSnippets/blob/264023a1c07c2118ede368f88d94d707f1bce716/blobs/howto/dotnet/BlobDevGuideBlobs/DownloadBlob.cs#L45

should be
Response? downloadResult = await blobClient.DownloadContentAsync();
string blobContents = downloadResult.Value.Content.ToString();

Dominant language
JavaScript
Stars
41
Forks
46
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure-Samples/AzureStorageSnippets

All issues in Azure-Samples/AzureStorageSnippets

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.