Posts

Showing posts from July, 2022

Azure Blob Storage - Upload and Download files in .NET C#

Image
 In this article, we will see how to upload and download file in the azure blob storage using c#. This code can be used in MVC5 as well as Dot net core. But for demo purpose, I am using Console Application. Prerequisites: 1. Visual Studio 2019 2. Azure Account Let's perform some basic operation for azure blob storage :-      1. Create an azure storage account and blob container     2. Get connection string (Access key)       3. Create Console Application     4. Add NuGet Package ( Azure.Storage.Blobs)     5. Upload file in azure blob storage.     6. Download file from azure blob storage. Let's go one by one. 1. Create an Azure storage account and blob storage-   Go to azure portal  and search Storage Account under the Azure services.   Click on Storage Account . It's go to Storage Account window. On this window click on Create Button. Once click on create button, we will move on the next win...

Azure Blob Storage - Upload and Download files in .NET C#

Image
 In this article, we will see how to upload and download file in the azure blob storage using c#. This code can be used in MVC5 as well as Dot net core. But for demo purpose, I am using Console Application. Prerequisites: 1. Visual Studio 2019 2. Azure Account Let's perform some basic operation for azure blob storage :-      1. Create an azure storage account and blob container     2. Get connection string (Access key)       3. Create Console Application     4. Add NuGet Package ( Azure.Storage.Blobs)     5. Upload file in azure blob storage.     6. Download file from azure blob storage. Let's go one by one. 1. Create an Azure storage account and blob storage-   Go to azure portal  and search Storage Account under the Azure services.   Click on Storage Account . It's go to Storage Account window. On this window click on Create Button. Once click on create button, we will move on the next win...