bitScry

  • Home
  • Blog
  • Contact
  • GitHub

Blob

About This Site

This is a blog to help me remember some of the coding challenges I’ve faced and hopefully help others out if they’re suffering the same problems.

Recent Posts
  • Inspecting Data in SQL Tables 4th December 2020
  • RestSharp Response Character Encoding 24th September 2020
  • RestSharp AWS S3 Authentication 18th September 2020
  • Grouping Azure Table Storage Entities 17th September 2020
  • Best Practices for Using Azure SDK with ASP.NET Core 9th September 2020
Tag Cloud
.NET .NET Core API appsettings.json ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure AD Azure Function Azure Storage Blob Bootstrap C# Console Application CSS CSV DataTable Dependency Injection Dictionary Enum Extension GZip HTML Image JavaScript jQuery JSON List Middleware MVC MVC 6 Random Serilog SFTP SQL Stored Procedure Stream String Table Table Storage Tag Helper Web Application WordPress
Reading List
  • Build a Wi-Fi Scanner
  • IoT Weather Station
  • User accounts made easy with Azure
  • Install macOS High Sierra in VirtualBox
Programming

Data Transfer – Google Cloud Storage to Azure Blob Storage

Moving files from Google Cloud Storage to Azure Blob Storage is pretty simple as they can just be streamed directly. My source file in Google Cloud Storage was a compressed gzip file which I needed to be unzipped at the Azure Blob Storage destination. GetStorageObjects GetStorageFileStreamAsync DecompressStreamToStream Usage

By Shinigami, 1 year1 year ago
Programming

Azure Storage Authentication Using Managed Service Identities

I usually access Azure Blob Storage by using a SAS key but I am trying to move everything over to KeyVault and Managed Service Identities (MSI) to improve security and secret management. During this process I kept on receiving the following error. I could connect to the container using my Read more…

By Shinigami, 1 year1 year ago
Programming

Using CsvHelper to Write a DataTable to a Blob

CsvHelper is handy for reading and writing CSV files but there’s no obvious way to write out a DataTable to a CSV file. Therefore in order to do this we need to loop through all the rows and columns of the DataTable and write the values as individual fields as Read more…

By Shinigami, 1 year1 year ago
Programming

Reading the Header Row of a Blob in Azure Storage

If you have a blob in Azure Storage that you want to have a look at first before deciding whether to download it or not you can open up a stream from it and use a StreamReader to read as many rows as you want from it. In my case Read more…

By Shinigami, 2 years2 years ago
Programming

Uploading Files to Azure Blob Storage from the Browser

Uploading Files to Azure Blob Storage from the Browser As part of an ongoing project I’ve been trying to upload files from from the browser to an ASP.NET Core MVC site, however there appears to be a hard limit preventing uploading files greater than ~28.6 MiB in size which I Read more…

By Shinigami, 3 years3 years ago
Hestia | Developed by ThemeIsle