https://kendaleiv.com/Ken DaleJesus follower, husband, father, software engineer. 2026-04-26T08:33:33-04:00 Ken Dale https://kendaleiv.com/ Jekyll © 2026 Ken Dale /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png Prompt To Benchmark: C# Benchmarking Via GitHub Agent Running .NET In The Cloud2026-03-20T00:00:00-04:00 2026-03-20T00:00:00-04:00 https://kendaleiv.com/prompt-to-benchmark-csharp-benchmarking-via-github-agent-running-dotnet-in-the-cloud/ Ken Dale When creating a new repository on GitHub you can provide instructions for a GitHub Copilot coding agent to execute. The agent picks up those instructions, does the work in the cloud, and opens a pull request with the results – all from a single prompt at repository creation time. You can use this to create a C# BenchmarkDotNet project. The prompt can include the specific benchmarks to run and ... Making Friends with Reviews: Providing Great Feedback2026-03-02T00:00:00-05:00 2026-03-02T00:00:00-05:00 https://kendaleiv.com/making-friends-with-reviews-providing-great-feedback/ Ken Dale The following is an AI generated summary of a talk I gave: The title of this post has two meanings. First, you’re doing a great job with reviews – reviewing code, making necessary changes, and asking necessary questions. But, there’s also the relationship side: forming positive bonds with the people you work with. Why reviews matter Imagine joining a new team. You’re excited to contribute, b... Return 408 Request Timeout For a Regex Timeout Using ASP.NET Core Middleware2025-03-13T00:00:00-04:00 2025-03-13T00:00:00-04:00 https://kendaleiv.com/return-408-request-timeout-for-a-regex-timeout-using-aspnetcore-middleware/ Ken Dale Regular expression (regex) operations can be slow, especially if they cause catastrophic backtracking. This can consume significant web application resources. In cases where this isn’t desired, it can be helpful to implement a default regex timeout (see Setting Regex Timeout Globally Using .NET 6.0 With C#) Additionally, we can implement ASP.NET Core middleware to return 408 Request Timeout (b... Comparing Template Versions For Azure Resource Manager (ARM), Bicep, or Terraform Using Azure2024-04-04T00:00:00-04:00 2024-04-04T00:00:00-04:00 https://kendaleiv.com/comparing-template-versions-for-azure-resource-manager-arm-bicep-or-terraform-using-azure/ Ken Dale When deployed resources to Azure the recommended Azure Resource Manager (ARM) guidance is to hardcode the latest version when creating a resource and only updating it if needed per https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/best-practices#api-version. However, if you need functionality only offered by a newer version, it’s time to update to a newer apiVersion. As ... C# Tasks Unexpectedly Running More Than Once (Async Lambda IEnumerable<Task> With foreach Loop)2024-03-06T00:00:00-05:00 2024-03-06T00:00:00-05:00 https://kendaleiv.com/csharp-tasks-unexpectedly-running-more-than-once-async-lambda-ienumerable-task-with-foreach-loop/ Ken Dale Consider the following example: using System; using System.Linq; using System.Threading.Tasks; public class Program { public static async Task Main() { var items = new[] { "a", "b", "c", "d", "e" }; var tasks = items.Select(async item => { Console.WriteLine(item); await Task.Delay(1); }) // One met...