My Blog

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

    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

    Tips and tricks for accelerating your pipelines on GitLab

    When practicing continuous integration and continuous deployment (CI/CD), optimizing build, test, and deploy times becomes crucial. GitLab, a popular platform for managing CI/CD pipelines, offers several strategies to speed up your workflows. Let’s explore some tricks you can use to accelerate the entire process.

    Read the complete article