Quantcast
Channel: Sound Code - Mark Heath's Blog
Browsing latest articles
Browse All 122 View Live

Use secrets in unit tests

Although the majority of "unit tests" should adhere to the "FIRST" characteristics and be "isolated" by mocking out their dependencies, there are occasions where it can be useful to actually connect to...

View Article



Image may be NSFW.
Clik here to view.

Pass variables between steps in Azure Pipelines

I have recently been working with Azure Pipelines and found myself needing to pass a variable between "steps".In theory, this should have been simple, but unfortunately, a lot of the documentation I...

View Article

Stream videos from Azure Blob storage with ASP.NET Core

Many of the projects I work on deal with large video files stored in Azure Blob Storage. And we typically wish to view those videos in a web browser.Of course, it is possible to expose those files by...

View Article

Using ETags and Patching Rows in Azure Table Storage

Azure Table Storage has the advantage of being very cheap, which means it often gets used when you have quite basic storage requirements, and don't want to shell out for a SQL or Cosmos database.It...

View Article

Cleaning up dangling DNS entries for an Azure DNS Zone

Azure DNS Zones are a convenient way to manage your DNS records. You can configure up to 10,000 "record sets" which should be more than enough, although if you are in a situation where you automate the...

View Article


Playing MIDI through SoundFonts with NAudio and MeltySynth

This week I was in Copenhagen speaking about NAudio at the Copenhagen Developer Festival.I wanted to do a short demo to show off the capabilities of NAudio, and one thing I've always wished was...

View Article

Creating Zip Files in Azure Blob Storage

If you'd like to create a zip file in Azure blob storage using the Azure Storage SDK you can of course just create the zip locally and then upload it, but in this post I want to show how you can create...

View Article

What are we optimizing for?

Over the last few years, most December's I have attempted the amazing "Advent of Code" challenge. This daily set of puzzles is a great way to sharpen your coding skills or perhaps learn a new language....

View Article


2023 in review

Happy new year everyone. It's time for (yet) another year in review post. This year in some ways has felt like a slightly less productive year than normal in terms of blogging, speaking and creating...

View Article


Some Stream.Read Guidelines

I recently had to fix a bug due to incorrect use of Stream.Read, and it struck me that quote often I see bugs and performance issues related to poorly written code reading from streams. This is often...

View Article
Browsing latest articles
Browse All 122 View Live




Latest Images