Barret Blake

Barret Blake

Architect

Barret has nearly 20 years of professional experience in the Microsoft & web technology stacks, including .NET, SQL Server, Azure, JavaScript, and Power Platform. He is a Microsoft MVP in the Power Automate and .NET areas. He is a blogger, content creator, and an active speaker and volunteer at conferences and user groups across Ohio and the US. He is an advocate for mentorship in the developer community and the need to build up the next generation of developers. When he's not doing all that he enjoys spending his time with family, LEGO, D&D, model railroading, and personal projects.

Posts

  1. Testing AI-Powered Features in .NET - Strategies for Non-Deterministic Code
    March 31, 2026

    LLM output is non-deterministic, so traditional asserts break. Test AI features in .NET with mocks, snapshot testing, and evaluation frameworks instead.

  2. From Feature Flags to A/B Testing - Experiment Driven Development
    March 24, 2026

    Use feature flags to run A/B tests in .NET. Start with a hypothesis, target a subset of users with Azure App Configuration, and measure results with telemetry.

  3. Creating Valid Testing Data in .NET
    March 17, 2026

    Copying production data into test environments is risky. Compare safer ways to create .NET test data, from scripts and builders to Bogus and AutoFixture.

  4. Feature Flags - The Secret Weapon for .NET Developers
    March 10, 2026

    Feature flags let you turn .NET features on or off without redeploying. Start with app settings, then add Microsoft.FeatureManagement filters and compare tools.

  5. Using AI To Migrate A Blog From Gatsby To Hugo
    March 03, 2026

    We used Claude to migrate this blog from Gatsby to Hugo. It got us 90% of the way in under 15 minutes. Here's what it handled well and what still needed work.

  6. What is Specification Driven Development (SDD)?
    February 24, 2026

    Specification Driven Development (SDD) builds on TDD and BDD by writing detailed specs before code. Learn its core documents and tools like GitHub Spec Kit.

  7. Enhancing Telemetry in Aspire
    February 19, 2026

    Go beyond Aspire's default OpenTelemetry setup: export telemetry to a platform like Application Insights, add custom metrics, and cover non-.NET apps.

  8. OTEL - An Introduction To OpenTelemetry
    February 05, 2026

    OpenTelemetry (OTEL) is an open source framework for collecting traces, metrics, and logs. Learn what each signal tells you and how to set it up in .NET.

  9. Creating Custom Resource Commands In Aspire
    January 12, 2026

    Add your own buttons to the Aspire dashboard with custom resource commands and HTTP commands, and prompt for input with the preview Interaction Service.

  10. Using Databases In Aspire
    January 06, 2026

    Add a database to an Aspire app with a hosting package in the AppHost and a client package in your project. We use SQL Server, but others work similarly.

  11. Null-Conditional Assignment
    December 15, 2025

    C# 14 lets you use ?. on the left side of an assignment, so user?.Address?.Street = value replaces a null-checking if block. See how it works with arrays too.

  12. Aspire MCP Server
    December 10, 2025

    With the arrival of Aspire 13, Aspire now provides an MCP server that your AI coding agent can access to see the logs of your running Aspire application.