Runtime Async, C# Generics and Local Llama
Explore invariant-culture interpolation, .NET 11 API stack traces, generic constraints, local Llama setup, and practical .NET 10 project tips.
Jasen's top three picks
- 1 Invariant culture string interpolation with [InterpolatedStringHandler]
Andrew Lock | .NET Escapades
A custom interpolation handler puts invariant-culture formatting at the point where strings are built.
- 2 New in .NET 11: Faster ASP.NET Core APIs with runtime async
elmah.io Blog - .NET Technical tutorials/guides and new features
The .NET 10 versus .NET 11 stack-trace comparison makes the runtime-async change easier to inspect.
- 3 C# Generics: A Practical Guide to Generic Classes, Methods, and Constraints
Khalid Abuhakmeh
A practical refresher on generic classes, methods, constraints, and generic math.
Editor's note
I’ve kept this issue’s mix varied, from C# fundamentals to local AI and a dungeon-building series. The .NET 11 runtime-async comparison is worth a look for its stack traces, while the interpolation handler offers a focused way to control formatting.
Today's articles
Invariant culture string interpolation with [InterpolatedStringHandler]
Andrew Lock | .NET Escapades
In this post I show how you can use a custom [InterpolatedStringHandler] to ensure string interpolation formats values using the invariant culture
Topics: C#
Read articleNew in .NET 11: Faster ASP.NET Core APIs with runtime async
elmah.io Blog - .NET Technical tutorials/guides and new features
.NET 11 moves async and await work from compiler-generated state machines into the runtime. We build the same console app on .NET 10 and .NET 11, compare live stack traces, and look at what changes fo...
Topics: ASP.NET Core Performance
Read articleC# Generics: A Practical Guide to Generic Classes, Methods, and Constraints
Khalid Abuhakmeh
Master C# generics with clear examples of generic methods, classes, where constraints, generic math in .NET, and performance benefits—tested in Rider.
Topics: C#
Read articleRun local models in your .NET apps with Llama on Windows
Microsoft Dev Blogs
Running AI models locally lets you keep your prompts and responses on your PC, work offline after downloading a model, and experiment without paying per request. Getting started can take some setup: f...
Topics: .NET Core
Read article50 .NET 10 Tips You Can Apply to Your Project Today
codewithmukesh
50 simple .NET 10 tips for everyday projects - project setup, C# 14, async, ASP.NET Core APIs, EF Core 10 and logging - each with code and a link to go deeper.
Topics: ASP.NET Core .NET 10 EF Core
Read articleDon’t Walk Through Walls
Medium
Building Rogue #6: Learning Software Development One Dungeon at a Time
Topics: C#
Read article