OliverScheer.net

Cloud, DevOps, GitHub, Developer Experience & Code

  • Checking App Settings at Startup

    This article provides a comprehensive sample demonstrating how to effectively utilize app settings in ASP.NET Core applications. Problem Statement In the realm of application development, managing settings efficiently can be a pivotal but often overlooked aspect, especially when collaborating with team members. Imagine a scenario where you or your colleagues add or remove settings during development, such as passwords, connection strings, or keys.

    Read more…
  • Embed Sample Data in Your Code

    One of my favorite tricks for data-driven apps is to include sample data during development. This sample data is invaluable for various purposes such as designing UIs, conducting demos, or running tests. For this reason, I recommend integrating test data into the solution for debug releases. While not suitable for release builds, it proves highly beneficial during debug mode.

    Read more…
  • Auto Cleanup Azure Blob Storage

    This article gives you a snippet to clean up your blob storage frequent, to keep only a specific time of data. Azure Blob Storage offers a brilliant and straightforward solution for storing vast amounts of data. However, when it’s unnecessary to retain all data indefinitely, such as data only needed for a few days, it becomes essential to periodically clean up the storage.

    Read more…
  • Authorize User in Azure Functions in Isolated Mode

    Alright, fellow cloud adventurers, let’s talk about Azure Functions and the wild ride that is .NET 8 Isolated Mode. You see, when it comes to authorizing functions for specific user groups, many of us rely on the trusty Authorize-Attribute. It’s been our go-to for granting access to authenticated user groups with ease.

    Read more…
  • Azure Stream Analytics just don't support Azure KeyVault

    Azure KeyVault is undeniably invaluable for securely storing secrets, and I’ve increasingly relied on it in my projects. However, I encountered a significant roadblock when attempting to integrate it with Azure Stream Analytics Jobs. Surprisingly, it’s not feasible to utilize KeyVault directly within Azure Stream Analytics Jobs. Attempts to create inputs or outputs with credentials stored in KeyVault proved futile.

    Read more…