Skip to content

AzureBlobOperation repository is used to implement blob related operations. Written in Asp.Net core. For retry mechanism, using Polly which is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry etc.

Notifications You must be signed in to change notification settings

vandanakvs/AzureBlobOperations

Repository files navigation

AzureBlobOperations

This repository is used to implement Azure Blob operations.

Consists of two projects

  1. DocumentEngine: has all the logic to perform blob operations
  2. DocumentEngineTest: has unit tests to test blob operations.

Blob operations which are covered in this repository are:

  1. Upload a single file – with bytes or text content
  2. Bulk upload files – with bytes or text content Using parallel programming to upload number of files parallelly
  3. Download file – bytes or text
  4. Delete a file

Using Polly for retry mechanism. - Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner.

To instantiate the BlobActions class you need azure storage account, storage key, container name, max retry value to perform blob operations and logger object

_documentActions = new BlobActions("_Enter_AzureStorageName_", "_Enter_AzureStorageKey_", "_containerName_", "_maxRetryValue_", _logger);

Enter these values and you will be able to perform the blob operations.

It is wriiten in asp.net core framework

About

AzureBlobOperation repository is used to implement blob related operations. Written in Asp.Net core. For retry mechanism, using Polly which is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages