Edi Wang

.NET and Azure Developer

Azure Blob Storage

How to Automatically Move Blobs to Cool or Archive Tier After a Period of Time

Azure Storage Account offers three tiers of blob storage. Hot, cool and archive. We usually use hot tier for data that needs to be accessed frequently, move blobs to cool tier if they won't be used very often, and archive blobs when they are not used at all. However, manually, or programmatically moving blobs still require an amount of work to do. Let's see how to do it without any programming. …
Azure Azure Blob Storage

Upload File with Progress from Browser to Azure Blob Storage

I am currently developing an internal OA system for a small company. One of the business requirements is for users to upload attachments when creating a ticket. Azure Blob Storage is an ideal solution for this scenario. However, since the attachment sizes range from a few kilobytes to several hundred megabytes, it is crucial to display a progress bar during file uploads. Let's explore how we can easily implement this using Azure.
Azure Azure Blob Storage

Reset Azure Blob Storage Content Type in .NET Core

My blog is using Azure Blob Storage to store images for posts, however, it went wrong these days when I am trying out Azure CDN, the cause is all my images requests are returning incorrect content-type. Let's see how to reset content type for files in Azure Blob Storage via .NET Core. When I uploaded images using the Azure Storage API for .NET, by default, without setting ContentType, which is …
.NET Azure Azure Blob Storage