LLMs, DI, security and performance
Coverage spans TorchSharp GPT internals, DI lifetimes, ASP.NET Core privilege escalation, CSV parsing, ADO.NET ergonomics, and concurrency design.
Part of: ASP.NET Core: a working guide for .NET developers, C#: a working guide for .NET developers, Performance: a working guide for .NET developers
Jasen's top three picks
- 1 I Rebuilt nanoGPT in C# So .NET Developers Can Understand LLMs
medium.com
A useful bridge piece for .NET developers who want to understand GPT mechanics through TorchSharp instead of treating LLMs as a black box.
- 2 Dependency Injection in .NET: A Deep Dive into Design and Lifetimes.
medium.com
A solid refresher on DI lifetimes and tradeoffs that should help newer developers move past container cargo-culting.
- 3 MERN vs .NET vs Node.js: How to Pick the Best Tech Stack for Your Project in 2026
medium.com
More of a comparative stack discussion than a .NET deep dive, but still relevant when teams are weighing platform choices.
Editor's note
I put together another intentionally mixed batch today, and the C# nanoGPT rebuild stood out because it makes LLM internals much more approachable for .NET developers. I also think the ASP.NET Core privilege escalation item deserves attention, while the CSV parser and ADO.NET pieces offer practical performance and data-access ideas.
Today's articles
I Rebuilt nanoGPT in C# So .NET Developers Can Understand LLMs
medium.com
This article looks at the nanoGPT repo and follows on my previous article, how to build an LLM in C# by using TorchSharp to build a GPT. Continue reading on Data Science Collective »
Read articleDependency Injection in .NET: A Deep Dive into Design and Lifetimes.
medium.com
When I first learned Dependency Injection (DI), it felt like just another concept to memorize. We know the basic usage pattern of…
Topics: Design Patterns .NET Core
Read articleMERN vs .NET vs Node.js: How to Pick the Best Tech Stack for Your Project in 2026
medium.com
Choosing the right technology stack is one of the most important decisions when starting a web development project. With multiple powerful…
Topics: ASP.NET Core Web API
Read articleHow I accidentally made the fastest C# CSV parser
csharpdigest.net
a fast CSV parser can locate field boundaries in one pass
Topics: C# Performance
Read articleI Thought I Knew Backend Development Until I Couldn’t Answer These 50 Questions
medium.com
I have a confession to make.
Topics: Design Patterns Web API
Read articleErgonomic ADO.NET
medium.com
Types and extensions to help improve your ADO.NET code
Topics: Performance SQL Server
Read articleThe SOLID Principles — A Developer’s Guide That Won’t Put You to Sleep
medium.com
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler
Topics: Design Patterns Solid Principles
Read articleCVE-2026-40372: ASP.NET Core Privilege Escalation
news.google.com
CVE-2026-40372: ASP.NET Core Privilege Escalation
Topics: ASP.NET Core Authorization Security
Read articleThe best way to create email templates in .NET
roundthecode.com
Learn how to generate reusable email HTML using Razor Views in ASP.NET Core with strongly-typed models. The page The best way to create email templates in .NET appeared on Round The Code.
Topics: ASP.NET Core ASP.NET MVC
Read articleValue Types vs Reference Types in C#: What Finally Made It Click
medium.com
I had used value types and reference types for a long time, but I didn’t really understand what the difference actually meant in real code.
Read articleMastering High-Concurrency: Building a Thread-Safe Configuration Service in .NET
naved-shaikh.medium.com
In high-frequency financial environments — like those I’ve navigated throughout my 15+ years in engineering — system stability often…
Topics: .NET Core Performance
Read articleASP.NET, Factory Patterns, and the Illusion of Control
bipinjoshi.net
In the world of ASP.NET and .NET, there is a quiet but persistent instinct: the desire to control how things come into existence. Object creation, in particular, feels like something that must be care...
Topics: ASP.NET Core Design Patterns
Read articleDeveloping a cross-process reader/writer lock with limited readers, part 1: A semaphore
devblogs.microsoft.com
Say you want to have the functionality of a reader/writer lock, but have it work cross-process. The built-in SRWLOCK works only within a single process. Can we build a reader/writer lock that works ac...
Topics: .NET Core Performance
Read article