bitScry - Blog

Eating all the data

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
  • Adding a Sonoff Zigbee Dongle Plus P Router to Zigbee2MQTT
  • Configuring Raspberry Pi 5 with NVME Hat
  • Pass Through an iGPU to Frigate from Proxmox
  • Creating a Frigate VM on Proxmox
  • Enable Remote Root SSH Login
Tag Cloud

.NET .NET Core AAD API appsettings.json ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure Function Azure Storage Blob Bootstrap C# Cloud Storage Console Application CSS CSV DataTable Dependency Injection Dictionary Docker Entity Framework Enum Extension HTML Image JavaScript jQuery JSON List MVC Newtonsoft Raspberry Pi RestSharp Serilog SQL Stored Procedure Stream Table Table Storage Web App Web Application WordPress

Copyright
Creative Commons License Any code within by is licensed under a Creative Commons Attribution 4.0 International License.
Programming

Inserting Secrets into IdentityServer 4 SQL Tables

I use IdentityServer to manage access to a few client APIs with the configuration details stored in SQL. The one downside to using IdentityServer is that there doesn’t yet seem to be a good option for administration of credentials, though Read more…

By Shinigami, 6 years ago
Azure

Getting Azure Web App Details from the Management API

There’s a pretty comprehensive set of APIs available for interacting with Azure resources but unfortunately these seem to be so new that there’s not really much documentation around on how to use them. For an example of the information that Read more…

By Shinigami, 6 years ago
Programming

Adding TableEntity Enum Text Values to Azure Table Storage

In a similar vein to my post on storing complex properties of a TableEntity in Azure Table Storage it’s also possible to store Enum text values by using custom attributes to control serialization/deserialization.

By Shinigami, 6 years ago
Programming

Making Parallel Retrieve Querries to an Azure Storage Table

I’m in the process of building an Azure Function to replicate some of the functionality found in Postcodes.io. This function will accept one or more postcodes as input and return details of the postcodes in the response. This looks retrieves Read more…

By Shinigami, 6 years ago
Programming

Dictionary Extensions

While trying to add items to a dictionary I discovered that there’s no equivalent of the AddRange which is available for lists. This is for good reason as adding a KeyValuePair to a dictionary requires first checking that the given Read more…

By Shinigami, 6 years ago
Programming

Adding Complex Properties of a TableEntity to Azure Table Storage

If you want to insert a row into an Azure Table Storage table the easiest way is to create a new class with the desired fields that inherits from TableEntity perform an insert operation with it using the storage client. Read more…

By Shinigami, 6 years ago
Programming

Parsing Strings to Boolean Values with C#

In trying to parse some URL parameters in a project I realised that Boolean.Parse and Boolean.TryParse work in slightly different ways and that neither was broad enough for my purposes. Boolean.TryParse Boolean.TryParse takes a string input parameter and a Boolean Read more…

By Shinigami, 6 years ago
Programming

Dependency Injection in Azure Functions v2

Dependency Injection (DI) has been available in .NET Core Web Applications for a while and now seems to have finally made it’s way to Azure Functions as well and is available in the current Azure Functions Runtime 2.0.12382. The GitHub Read more…

By Shinigami, 6 years ago
Azure

Azure Web App In App MySQL

If you’re setting up a WordPress site in an Azure Web App then an easy option for hosting the required MySQL database is to use the MySQL in app option of the Web App rather than setting up a new Read more…

By Shinigami, 6 years 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 Read more…

By Shinigami, 6 years ago

Posts pagination

Previous 1 … 9 10 11 … 21 Next
  • About
  • Blog
  • Contact
  • Create your website with blocks
  • Sample Page
  • Sample Page
Hestia | Developed by ThemeIsle