Skip to main content

Posts

All my blog posts.

2025

Building a Flexible AI Provider Strategy in .NET Aspire

How I architected a single codebase to seamlessly switch between Azure OpenAI, GitHub Models, Ollama, and Foundry Local without touching the API service When building my latest .NET Aspire application, I faced a common challenge: how do you develop and test with different AI providers without constantly rewriting your API service? The answer turned out to be surprisingly elegant - a configuration-driven approach that lets you switch between four different AI providers with zero code changes.

Understanding AI and Prompting Techniques Part 1

Understanding AI and Prompting Techniques Part 1 # Artificial Intelligence (AI) has rapidly evolved from science fiction to an integral part of our daily lives, transforming how we interact with technology and reshaping industries worldwide. Whether you’re using ChatGPT to draft emails, asking Copilot to write code, or generating images with DALL-E, understanding how to effectively communicate with AI systems has become an essential skill. In this first part of our series, we’ll explore foundational concepts of AI, machine learning, deep learning, and generative AI, then dive deep into the art of prompting-the key to unlocking AI’s full potential.

Aspiring .NET & Resilience @ NDC Oslo 2025

As I’m flying from Oslo to Amsterdam, I’m still buzzing with energy and inspiration from NDC Oslo 2025. It was an incredible week of learning, sharing, and connecting with some of the brightest minds in technology. From thought-provoking keynotes that challenged our assumptions to the epic The Linebreakers concert at Brewgata, every moment reinforced why each NDC conference but NDC Oslo remains one of the premier developer conferences in the world.

Resilient by Design @ NDC Oslo 2025

I’m excited to preview my upcoming NDC Oslo talk, “Resilient by Design”, where I’ll share how to architect Azure systems that not only survive failure but continue running smoothly when disruptions occur (NDC). Join me on to explore core resilience principles, Azure-native tools, and proven best practices for maintaining high availability in real-world scenarios (Microsoft Azure, Microsoft Learn). Whether you’re new to Azure or looking to optimize an existing environment, this session will equip you with actionable strategies to anticipate, mitigate, and recover from failures (Microsoft Learn).