Skip to content
Saturday, August 15, 2026
Recent posts
  • Unit testing and evaluating LLMs
  • Tool calling with AIFunctionFactory
  • Your first IChatClient
  • Why Microsoft.Extensions.AI exists
  • Packaging, publishing and consuming Roslyn analyzers

PureSourceCode

All technologies, only pure source code

  • Forum
  • Links
  • Download
  • Shop
  • Profile
    • Newsletter
    • Cart
    • Checkout
    • My orders
  • Contact

Category: .NET10

Unit testing and evaluating LLMs

August 11, 2026August 11, 2026 Enrico
Unit testing and evaluating LLMs

How can we test a component based on Microsoft.Extension.AI that gives a different answer every time it runs? Here an implementation.

Read More
.NET10, AI, C#artificial-intelligence, csharp, microsoftLeave a comment

Tool calling with AIFunctionFactory

August 6, 2026August 6, 2026 Enrico
csharp and ollama

A language model knows what was in its training data and nothing else. Tool calling closes that gap with custom C# methods

Read More
.NET10, AI, C#microsoftLeave a comment

Your first IChatClient

August 5, 2026August 5, 2026 Enrico
csharp and ollama

Second post where using Microsoft.Extensions.AI I build the first AI client keeping the history of the chats and instruct the agent who it is.

Read More
.NET10, AI, C#artificial-intelligence, csharp, microsoft, net10Leave a comment

Why Microsoft.Extensions.AI exists

August 4, 2026August 6, 2026 Enrico
C# and Ollama using Microsoft.Extensions.AI

Microsoft.Extensions.AI is a small set of abstractions in the box, and providers that plug in behind the common AI providers such as Antropic or ChatGPT

Read More
.NET10, AI, C#artificial-intelligence, csharp, microsoft, net10Leave a comment

Packaging, publishing and consuming Roslyn analyzers

July 24, 2026July 24, 2026 Enrico
Blazor Analyzer Feature Image5

Package PSC.Analyzers.Blazor as a NuGet analyzer, publish it to a feed, and consume it across a solution including how to make rules fail the build.

Read More
.NET10analyzer, blazor, roslynLeave a comment

Unit testing your analyzer

July 22, 2026July 24, 2026 Enrico
Blazor Analyzer Feature Image3

Test the PSC001 rule with Microsoft.CodeAnalysis.Testing: reference assemblies, inline diagnostic markup, and positive and negative cases.

Read More
.NET10analyzer, blazor, roslynLeave a comment

Writing your first diagnostic

July 22, 2026July 22, 2026 Enrico
Blazor Analyzer Feature Image1

Write the PSC001 rule: a DiagnosticAnalyzer that finds Blazor [Parameter] properties and flags the ones that aren’t PascalCase.

Read More
.NET10analyzer, blazor, roslynLeave a comment

Build a Roslyn Analyzer from scratch

July 21, 2026July 21, 2026 Enrico
Blazor Analyzer Feature Image

Start a custom Roslyn analyzer for Blazor. We scaffold PSC.Analyzers.Blazor, explain every csproj setting, and set up analyzer release tracking.

Read More
.NET10analyzer, blazor, roslynLeave a comment

Turbocharging Your .NET Backend with Gzip

May 14, 2026May 14, 2026 Enrico
aspnetcore compression

Learn how enabling Gzip compression in your .NET backend can dramatically improve performance for users on slow or unstable networks, and see how to implement it with a clean, modern code example.

Read More
.NET10, C#aspnet-core, compression, performanceLeave a comment

Replacing Swagger with Scalar in ASP.NET Core

March 6, 2026March 6, 2026 Enrico
Api

In this post, I show how replacing Swagger with Scalar in ASP.NET Core and NET10. Scalar is a UI that improve the experience in using the APIs

Read More
.NET10, WebAPIaspnet-core, scalar, swagger, swagger-ui, webapiLeave a comment

OpenAPI Enhancements in ASP.NET Core 10

March 4, 2026March 4, 2026 Enrico

A deep dive into the latest OpenAPI and Swagger improvements in ASP.NET Core 10, including Minimal APIs, versioning, Native AOT support, and UI customization.

Read More
.NET10, WebAPIapi, minimal-apis, net10, openapi, swagger, swagger-uiLeave a comment

[flnkit_donate suggested="5,10,25" currency="gbp" description="Buy me a coffee" button_text="Support Us" min="2" max="100"]

  • Unit testing and evaluating LLMs
  • Tool calling with AIFunctionFactory
  • Your first IChatClient
  • Why Microsoft.Extensions.AI exists
  • Packaging, publishing and consuming Roslyn analyzers
  • Unit testing and evaluating LLMs
    Unit testing and evaluating LLMsAugust 11, 2026
  • csharp and ollama
    Tool calling with AIFunctionFactoryAugust 6, 2026
  • csharp and ollama
    Your first IChatClientAugust 5, 2026
  • C# and Ollama using Microsoft.Extensions.AI
    Why Microsoft.Extensions.AI existsAugust 4, 2026
  • Blazor Analyzer Feature Image5
    Packaging, publishing and consuming Roslyn analyzersJuly 24, 2026

android api apple artificial-intelligence aspnet-5 aspnet-core azure azure-devops azure-functions blazor blazor-component blazor-server blazor-webassembly clean-architecture csharp dependency-injection design-pattern docker entity-framework-core games github identityserver4 ios javascript macOS maui microsoft microsoft-excel microsoft-identity net6 net8 netcore pattern powershell python security swagger visual-studio visualstudio-2022 webapi windows10 windows11 xamarin-forms xbox xbox-series-s

  • .NET
  • .NET Core
  • .NET General
  • .NET10
  • .NET5
  • .NET6
  • .NET7
  • .NET8
  • .NET9
  • Agile
  • AI
  • Ajax
  • Amazon
  • Android
  • AngularJs
  • Apple
  • Apps
  • ASP.NET
  • Azure
  • Azure
  • Azure DevOps
  • Blazor
  • C#
  • Claude
  • Developers
  • Docker
  • F#
  • Framework
  • Games
  • General
  • Google
  • Google
  • HTML
  • HTML\CSS
  • IIS
  • Internet
  • iOS
  • Java
  • JavaScript
  • Linux
  • macOS
  • MAUI
  • Microsoft
  • Microsoft Office
  • MVC
  • News
  • Node.js
  • Other
  • PowerBI
  • PowerShell
  • Programming languages
  • Projects and ideas
  • Python
  • R
  • React.JS
  • Rust
  • Security
  • SQL
  • Swift
  • Testing
  • Tips & tricks
  • Tools
  • TypeScript
  • Ubuntu
  • Uncategorized
  • Unity
  • Universal Windows App
  • VB.NET
  • Visual Basic
  • Visual Studio
  • Visual Studio
  • WebAPI
  • Windows
  • Xamarin

Copyright © All rights reserved

Proudly powered by WordPress | Theme: SuperMag by Acme Themes
 Share This
 Facebook
 WhatsApp
 Reddit
 Telegram
 LinkedIn

Share on Mastodon

Verified by MonsterInsights