-
Does .ConfigureAwait Still Matter in .NET? 🤔
Hi! So, I was reading some .NET stuff on the internet, and somehow I went back to my .NET WinForms days — when processes would get blocked all together, and we needed to find a way to isolate them so we didn’t block the main thread. Those days I learned about .ConfigureAwait(), and it’s kind — read more
-
🐋 F5 / Debug .NET Apps in Containers with Visual Studio Code and Visual Studio
Hi! I always forget how to do this, so I’ll write about it for future Bruno. If you’ve ever fought with launch.json, tasks.json, volume mounts, vsdbg installs, and random port mappings… this one’s for you. Here’s my quick ‘n dirty step-by-step to make it work. 1) Install the bits Yes, you need these for VS — read more
-
Upgrading eShopLite to Aspire 9.4 and GPT-5 with Azure AI Foundry
🚀 Just upgraded eShopLite to Aspire 9.4 and the latest GPT-5 models! ✅ Simple model swap: gpt-4.1-mini → gpt-5-mini ✅ New Azure AI Foundry integration = cleaner code & easier deployments ✅ Smarter, faster, and fully Azure-ready — read more
-
GPU vs CPU – Local Image Generation in C# with TransformersSharp
⚠️ This blog post was created with the help of AI tools. Yes, I used a bit of magic from language models to organize my thoughts and automate the boring parts, but the geeky fun and the 🤖 in C# are 100% mine. Hi! Quick 5 min video recap here, so you can avoid the — read more
-
🖼️ Text-to-Image locally in C# with TransformerSharp
⚠️ Disclaimer: This blog post was created with the help of AI tools — because we like to code and let our machine friends do some heavy lifting. Hi! In this post, we’ll explore how to use TransformerSharp to bring Hugging Face models directly into a C# console application — no Python required. We’ll generate — read more
-
🤖 Using C# to Call Hugging Face MCP Server and Generate AI Images!
NOTE: This blog post was created with the help of AI tools like GitHub Copilot and ChatGPT, and it’s part of my journey to explore how AI can boost our productivity in sharing technical content. 📺 Introduction In this post, I’ll share how to use a C# Console Application to connect directly to an external — read more
-
🧠 How to Generate Architecture Diagrams and Documentation from .NET Aspire Host Definitions Using GitHub Copilot
Hi! Note: I use some help from an AI to write this post 🎥 Introduction Today we’re diving into a fun and productive scenario: automatically generating architecture diagrams and technical documentation for your .NET Aspire applications based on the Host project definitions. We’ll take a the example that is generated with the .NET Aspire Starter — read more
-
🤖 AI Agents Built My Shopping Cart (And I Just Watched)
Hi! FYI: This was written with some AI help 😂 Okay, so picture this: I’m sitting here with my morning coffee, and I decide to add a shopping cart feature to the eShopLite demo scenarios. But instead of cracking my knuckles and diving into code like usual… I just watched AI agents do ALL the — read more
-
🧠 Using SQL Server 2025 Vector Search in .NET Aspire – eShopLite Style!
Introduction SQL Server 2025 is super cool 😎 — and naturally, I had to test out the brand-new vector capabilities! If you haven’t checked it out yet, start here:🔗 https://learn.microsoft.com/en-us/sql/sql-server/what-s-new-in-sql-server-2025?view=sql-server-ver17 To explore these features, I leaned into one of my favorite playgrounds: eShopLite — a collection of sample scenarios for an eCommerce app with AI-powered — read more
-
🖼️✨ How to Use GPT-IMAGE-1 to Generate Images with C# and Azure OpenAI
with C# and Azure OpenAI 🎥 Check out the 6-minute demo on YouTube📦 Sample code on GitHub The new gpt-image-1 model (aka DALL·E 3) is now available in Azure OpenAI, and YES—you can use it from your .NET app! 🔥 In this post, I’ll show you how to integrate this magic into your C# application — read more
-
🧠✨ Testing GPT-4o’s Image Generation – From C# with ❤️ and Microsoft.Extensions.AI
Hi! OpenAI just dropped some exciting news:👉 GPT-4o can now generate images directly from prompts.Announced here: Introducing GPT-4o Image Generation, this new feature lets you go from words to stunning visuals – including photorealistic scenes, illustrations, logos, and more. The fun part? You can now generate images just by chatting with GPT-4o. The challenging part? — read more
-
Using Large Language Models with .NET: Generating Image Alt Text Automatically
Hi! The following post is generated using some super cool LLMs, and hey it’s also about LLMs 😁 Introduction In this blog post, we’ll explore a practical use case for LLMs: generating alt text for images automatically, ensuring your applications are more inclusive and accessible. By the end of this post, you’ll learn how to: — read more
-
CPU vs GPU: Which Wins for Running LLMs Locally?
Introduction Running large language models (LLMs) locally has become increasingly accessible, thanks to advancements in hardware and model optimization. For .NET programmers, understanding the performance differences between CPUs and GPUs is crucial to selecting the best setup for their use case. In this blog post, we’ll explore these differences by benchmarking the Llama 3.2 Vision — read more
-
#RaspberryPi – 1st setup no monitor 📺: Wifi 📶 auto connect, SSH, rename, update, docker 🐳, rust and more! Update 2024-Apr-30
Content Hi! Let’s start installing the latest Raspberry Pi OS image in an SD card. Next steps will be focus on how to access and control remotely your device you may want to follow this steps. This tutorial and tips works for Raspberry Pi 3, 4 and Zero. The version 1.6 of Raspberry Pi Imager — read more
-
Build an AI Chat in .NET Aspire with Ollama. Quickstart Guide!
Hi! Here is a small intro to the .NET Aspire + Ollama scenario in this repo: https://aka.ms/netaiaspireollamachat. You can also learn more about this, in this 5-minutes overview video: Introduction to .NET Aspire and Ollama Have you ever thought, “Why can’t my .NET app have an AI chatbot that’s ridiculously easy to integrate?” Well, meet — read more
-
Full Local RAG scenario using #Phi3, #SemanticKernel and TextMemory. Bonus: Test in CodeSpaces
Hi! Today’s scenario is once again, using Phi-3. You know, a groundbreaking Small Language Model (SLM) that is redefining the capabilities of AI for developers and businesses alike. In this blog post, we will explore the importance of leveraging Phi-3 for full-scale scenarios and how you can test these scenarios for free using the Ollama — read more
-
Code Sample: Integrating Azure OpenAI Search with #SemanticKernel in .NET
Hi! Today I’ll try to expand a little the scenario described in this Semantic Kernel blog post: “Azure OpenAI On Your Data with Semantic Kernel“. The code below uses an GPT-4o model to support the chat and also is connected to Azure AI Search using SK. While runing this demo, you will notice the mentions — read more
-
Sample Code using the new OpenAI library for .NET
Hi! The new OpenAI SDK for NET was officially announced, so today, let’s review the annoucement and show some sample code on how to use it. The current blog scenarios are Here is a sample output for the chat demo! And yes, with a funny system message and questions about France! OpenAI SDK for .NET — read more
-
Powering Up #NET Apps with #Phi-3 and #SemanticKernel
Hi! Introducing the Phi-3 Small Language Model Hi! Phi-3 is an amazing Small Language Model. And hey, it’s also an easy one to use in C#. I already wrote how to use it with ollama, now it’s time to hit the ONNX version. Introduction to Phi-3 Small Language Model The Phi-3 Small Language Model (SLM) — read more
-
#SemanticKernel and GPT-4o: Image analysis labs
Hi! Introduction to GPT-4o GPT-4o, developed by OpenAI, represents a significant leap forward in AI technology. Dubbed “omni” for its all-encompassing capabilities, GPT-4o is a multimodal model that can process and generate text, audio, and images. It’s designed to facilitate more natural human-computer interactions, responding to audio inputs in as little as 232 milliseconds. This model is — read more