RSSAmplifier

Blog

Code Traveler

Stories from a traveling developer

codetraveler.ioRSS feed ↗15 posts

Latest posts

Evaluating AI Safety in .NET with `Microsoft.Extensions.AI.Evaluation.Safety`

Last week we tested whether our LLM's answers were accurate . But are they safe for our company to use, responsing with no harmful content or violence? Microsoft.Extensions.AI.Evaluation.Safety makes it easy to check. This is Part 5 of our Microsoft.Extensions.AI series. In Part

Unit Testing LLMs: Evaluating LLM Quality in .NET with `Microsoft.Extensions.AI.Evaluation`

How do we unit test an LLM that never gives the same answer twice? Microsoft.Extensions.AI.Evaluation makes it easy. This is Part 4 of our Microsoft.Extensions.AI series. In Part 1 we built a chat app with IChatClient — but how do we know its answers are

Generating Images in .NET with `IImageGenerator`

Did you know Microsoft.Extensions.AI can generate images too? IImageGenerator makes it easy! This is Part 3 of our Microsoft.Extensions.AI series. In Part 1 we created an AI Chat Bot with an LLM using IChatClient , and in Part 2 we built semantic search using IEmbeddingGenerator . This week,

Adding Semantic Search to .NET Apps with `IEmbeddingGenerator`

Have you ever typed "How do I get my money back?" into a search box and gotten zero results, because the docs only ever say "refund policy"? Embeddings fix this! And Microsoft.Extensions.AI makes it easy than ever to do. This is Part 2 of

Creating an AI Chat Bot in .NET with `IChatClient`

Are you looking to implement AI in your .NET app? Microsoft.Extensions.AI makes it easy! This is the first post in a new series where we'll learn Microsoft.Extensions.AI together, one building block at a time. Let's start with the most important building block

Introducing Bindable Property Source Generators

I am excited to announce two new source generators introduced in CommunityToolkit.Maui v14.0.0 : [BindableProperty] [AttachedBindableProperty<T>] These new source generators make it easier than ever to create a BindableProperty in your .NET MAUI apps. In fact, all Bindable Properties in CommunityToolkit.Maui are now automatically

Introducing AWSSDK.Extensions.Bedrock.MEAI

Are you looking to add GenAI functionality to your .NET app? AWSSDK.Extensions.Bedrock.MEAI makes it easy. Let&apos;s define what some of these words mean, then check out how to use this NuGet Package in our apps! You&apos;re also welcome to skip the definitions and

Upgrading from Xamarin.CommunityToolkit.Markup to CommunityToolkit.Maui.Markup

In Xamarin.Forms , we used Xamarin.CommunityToolkit.Markup to create our UI using C# (no XAML). For .NET MAUI , we can continue to create our UIs in C# (No XAML) thanks to CommunityToolkit.Maui.Markup . Let&apos;s take a look at the key differences between the two libraries, and

.NET MAUI Training Courses

Two new training courses containing over 10 hours of video content and code examples to help you become a successful .NET MAUI developer!

Supporting Android v12+ Splash Screens in Xamarin.Forms

Android recently changed how splash screens work in Android v12.0 (API Level 31). Let's take a look at how to support it in our Xamarin.Forms apps!

Using .NET MAUI Community Toolkit

The .NET Community Toolkit recently debuted. Let's take a look at how to use some of it's features, and how we can contribute more!

Creating Azure Functions using .NET 5

Azure Functions recently released support for .NET 5. Let's take a look at how to upgrade our existing Azure Functions to use it!

Upgrading to Refit v6.0 + Newtonsoft.Json

Refit recently released v6.0, replacing Newtonsoft.Json with System.Text.Json which may cause some breaking changes. Let's discuss how we can continue using Newtonsoft.Json with Refit!

Introducing GitHubApiStatus

GitHub's API Rate Limits can be confusing and difficult to work with. This library makes it easy to check the rate limits with one line of code!

Using Immutable Objects with SQLite-Net

SQLite-NET has become the most popular database, especially amongst Xamarin developers, but it hasn't supported Immutable Objects, until now! Thanks to Init-Only Properties in C#9.0, we can now use Immutable Objects with our SQLite database!