Posts

Showing posts from February, 2021

Read/Upload file (csv/excel) - Azure Storage D365

             Read/Upload file (csv/excel) from                     Azure blob container - D365 Read CSV file from Azure blob container. 1) Create a method that downloads the file in to memory stream.  We can create connection with Azure using different approaches (Go to link below) Create connection with Azure public System.IO.Stream downloadFileFromAzureBlobContainer(System.IO.MemoryStream fileStream, str _fileName) {     try     {         fileStream = new System.IO.MemoryStream();                        blobClient = storageAccount.CreateCloudBlobClient();         blobContainer = blobClient.GetContainerReference("YourcontainerName");         blobContainer.CreateIfNotExistsAsync();         CloudBlockBlob blockblob = blobC...