The pitch for Blazor Hybrid is that the same .razor code renders your UI on the web and inside a MAUI app on Android, iOS, Windows, and Mac. That’s only true if you actually put the shared code somewhere both hosts can reach. Copy-pasting components between a web project and a MAUI project is not […]
Category: Uncategorized
Building an AI Image Generator with Blazor
We’ve been talking about wiring LLMs into C# — Semantic Kernel, Microsoft.Extensions.AI, tool calling. Time to switch modalities. This post walks through a small but complete Blazor Web App on .NET 10 that takes a user prompt, hits OpenAI’s image generation endpoint, and shows the result in the browser. No JavaScript, no separate API tier, […]
Building an AI Chat with Google Search in Blazor
Language models are stuck in the past — literally. Even the freshest OpenAI model has a training cutoff that’s already months old by the time it lands in your app. If a user asks about a stock price, a match result, or a package released yesterday, the model has three options: hallucinate, refuse, or ask […]
Getting Started with Semantic Kernel in .NET 10
If you’ve been building LLM-powered features with raw HTTP calls to OpenAI, you already know the pain: prompt management scattered across strings, no clean way to let the model call your own C# code, and every “agent” ends up as a giant switch statement. Semantic Kernel is Microsoft’s open-source SDK that fixes that. It gives […]
How to Use Handlers in .NET MAUI
If you come from Xamarin.Forms, you probably remember custom renderers: the mechanism you used to reach into a native control and tweak it. In .NET MAUI, renderers are gone. In their place we have handlers — a lighter, faster, and more decoupled way to bridge a cross-platform control to its native counterpart on each platform. […]
Updating Prism Template to .NET 8
Have you notice that now when create a MAUI project using the new Prism Template Pack for MAUI, you are not able to select the .NET version of your project? well, in this post I will show you how to update it. First of all, we shall create a new project using the Prism Template […]
Important Change in Prism Pre-Release 9.0.401-pre
Hey Prism Users, I wanted to give you a heads-up about a significant change in the latest pre-release version of Prism (9.0.401-pre). In this release, Prism has renamed the method OnAppStart to CreateWindow. You might notice this change when updating your applications, and I’m here to explain why. Prism is taking steps to align itself […]
Refit with .NET MAUI – Prism
In this article, I will show one of the most common things you will need to know when you are creating an application, how to consume API endpoints in .NET MAUI using Refit, this tutorial has been created using a Prism Template, see how in the following link. After you create your project, the firs […]
Finally, Prism.MAUI is here! – How to install it
If you are a Xamarin developer like me and you also heard a lot about the new mobile environment from Microsoft (.Net MAUI), you will like this post. Many mobile programmers who use Xamarin Forms to create applications, could use a Framework called Prism, a framework to create more maintainable applications using different design patterns […]
Using Startup class in .Net 6
One of the most important changes that we saw in the last version of .net templates for .NET 6 is that we don’t have a Startup Class anymore, everything that you’ll see is just the class Program. The project will look like this (ASP.Net Web Applications MVC). And the Program class will have this code. […]