Read csv file publishing to Azure with net core

  • Thread starter Thread starter Alexi Tomalá
  • Start date Start date
A

Alexi Tomalá

Guest
Hi!

I would like to have your help, at the moment I am learning .net core and azure, between that I am working on an exercise that consists of reading a .csv file that is stored in an azure storage account, the same one that is available in a link that they shared with me ... What you want is to read the csv file and record that information in a local database.

From the research I see that BlobServiceClient is used, but I see that this api requires the account to access the file, I do not know if there is any way to read a file without having to specify an account since the file is public.

BlobServiceClient blobServiceClient = new BlobServiceClient("connectionString");
BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient("containerName");
BlobClient blobClient = containerClient.GetBlobClient("blobName.csv");



PS: I can download the file when I paste the link in the browser.


Thanks in advance for your suggestion.



Alex_87

Continue reading...
 

Similar threads

S
Replies
0
Views
57
sva0008
S
A
Replies
0
Views
101
Aishwarya Tripathi
A
E
Replies
0
Views
241
EN59CVH
E
Back
Top