Microsoft shows how to run local models in .NET apps with Llama on Windows

adnan_hashmi · x · 2026-11-24

Microsoft's .NET Blog published a tutorial on running local open models in .NET apps via 'Llama on Windows', a Windows 11 tray app built by the Hugging Face and llama.cpp teams (.NET 10 + WinUI 3, powered by llama.cpp). It recommends models for your hardware, one-click downloads from the Hugging Face Hub, and exposes the running model to .NET apps. The walkthrough covers installation, model download, and calling the model from a .NET 11 Cfile-based app, with full code in a sample repo.

Original post →

More from coding & agent

coding & agent channel →