My Blog

Sharing programming insights since 2015. 160 articles (and counting!) filled with real-world experience and practical tips.

    The way to fix the You don’t appear to have an active Azure subscription error in Azure DevOps

    I recently wanted to configure the CI/CD process in Azure DevOps of a new application I created and wire it with my Azure account so that the application will be deployed on an App Service. A missing user permission in the project settings was the problem. Lets see the steps to solve the error.

    Read the complete article

    Understanding and Resolving the BCP001 Error in Bicep

    Bicep, a domain-specific language (DSL) for deploying Azure resources, simplifies the process of writing infrastructure as code. However, like any programming language, it has its own set of rules and syntax that must be followed. One common error that developers encounter is the BCP001 error, which occurs when Bicep encounters an unrecognized token.

    Read the complete article

    Understand iterator methods and the yield keyword in C# with the help of examples

    An iterator in C# is a method that utilizes the yield keyword to return elements one at a time to the caller. Such methods are very useful for traversing collections, without needing to create an intermediate collection inside the method for storing results.

    This article will help you understand how to use yield by using practical examples.

    Read the complete article

    How to resolve "Encountered an error (ServiceUnavailable) from host runtime" due to AzureWebJobsStorage misconfiguration in Azure Functions

    This error indicates that the function’s runtime is unable to operate as expected. In my case, the Azure Function App could not started at all, due to a misconfigured AzureWebJobsStorage variable. Let us investigate the issue further.

    Read the complete article

    Accessing a PowerShell function from a separate repository in your Azure pipelines

    When working with multiple repositories in an Azure pipeline, you might need to access a PowerShell (.ps1) function from one repository while running your pipeline in another. Here’s a straightforward guide to make that happen:

    Read the complete article