Reading PDF file from Azure blob storage

0 votes
can we read  PDF content  from blob storage by directly  using   the Path name,

ex :https://hostedPath/pdf/mypdfpdf?
language used :c#
Jun 2, 2018 in Azure by MISHA
• 520 points
1,199 views

2 answers to this question.

0 votes


URL can passed to the blob only when its access modifier is set to public
Example : Embed a html link or image :
<a href="https://myaccount.blob.core.windows.net/pdf/mypdf12.pdf">Press Enter</a>

note :
Blob are private container by default so,change the container permissions during its creation so as to make it public .

Follow the code :

var blobStruser = storageAccount.CreateCloudBlobClient();
var container = blobStruser.GetContainerReference("pdf");
container.CreateIfNotExist();
var permission = container.GetPermissions();
permission.PublicAccess = BlobContainerPublicAccessType.Container;
container.SetPermissions(permission);

answered Jun 5, 2018 by graci
• 240 points
0 votes

For pdf reading and manipulating Itextsharp libraby is fine.

For extracting text from pdf see this

answered Aug 17, 2018 by Priyaj
• 56,900 points

Related Questions In Azure

0 votes
1 answer

How to upload a file on to Azure Blob storage without writing a code?

You can find the below tools useful ...READ MORE

answered Apr 13, 2018 in Azure by club_seesharp
• 3,450 points
167 views
0 votes
1 answer

Stream uploaded file to Azure blob storage with Node

Using Multiparty(npm install multiparty), a fork of ...READ MORE

answered Sep 24, 2018 in Azure by club_seesharp
• 3,450 points
1,286 views
0 votes
1 answer

How to download a file from Blob Storage to the browser?

If you use ASP.NET (core), you can ...READ MORE

answered Mar 25 in Azure by Prerna
• 1,940 points
579 views
0 votes
1 answer

How do I stream videos from Azure Blob Storage?

What you are missing is a Shared Access ...READ MORE

answered Apr 25 in Azure by Prerna
• 1,940 points
566 views
0 votes
1 answer

Why would you choose Blob Storage over File Storage which also has ability to store file(s) and folder(s)

Azure Files: Azure File storage provides shared ...READ MORE

answered Apr 13, 2018 in Azure by null_void
• 3,220 points

edited Apr 13, 2018 by null_void 64 views
+1 vote
1 answer

Can I rename a Azure Storage Blob?

Though the approach I'm about to share ...READ MORE

answered May 10, 2018 in Azure by club_seesharp
• 3,450 points
1,122 views
+1 vote
2 answers
0 votes
1 answer

What OS is Jenkins installed on Azure Virtual Machine?

Under Managed Jenkins there's a section called ...READ MORE

answered Apr 4, 2018 in DevOps & Agile by DareDev
• 6,810 points
45 views
+1 vote
4 answers

Where to find the Microsoft.IdentityModel dll?

I finally found this Nuget package: https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM, which ...READ MORE

answered Oct 23, 2018 in Azure by Trisha
688 views
+1 vote
4 answers

How do Connect to Azure website via FTP?

First set up your FTP credentials are ...READ MORE

answered Oct 23, 2018 in Azure by abc
346 views