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.
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.
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:
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.
Call your .NET Core Api from your .NET MVC Application with Swagger and the HttpClientFactory class
The scenario of calling your API from another part of your application is widely needed. This article explains how to call a .NET Core API from your UI, which in this case is a .NET Core MVC application. We’ll create a client for our API methods using Swagger, make it available via a NuGet package to the MVC application, and call the API with the help of the IHttpClientFactory.