Skip to content

biplobpustcse/AzureBlobStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzureBlobStorage

Step 1. Setting Up Azure Blob Storage

Before we proceed, you need to create an Azure Storage Account. If you’re unsure how to create an Azure Storage Account, refer to the article “Understanding and Creation of Azure Storage Account”. Once your storage account is created, navigate to your storage account and go to the “Access Key” section to get your connection string. Copy your connection string from here and keep it for the next step.

image

Step 2. Create Project

ASP.NET Core Web API

Step 3: Install Required NuGet Package

dotnet add package Azure.Storage.Blobs

Step 4. Configuring the ASP.NET Core Application

In your ASP.NET Core project, open the appsettings.json file. This file contains configuration settings for your application. Add the following configuration snippet, replacing “YourConnectionStringHere” with the connection string obtained from the Azure portal:

{
  "AzureStorage": {
    "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=your_account_name;AccountKey=your_account_key;EndpointSuffix=core.windows.net",
    "ContainerName": "your-container-name"
  }
}

About

Using Azure Blob Storage upload, delete and download File.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages