Tags

#csharp
csharp

65stories
1 d agolatest
.NET 11
Shell calls without deadlock

.NET 11 Process.RunAndCaptureText avoids the classic stdout/stderr deadlock

.NET 11 RC2 adds Process.RunAndCaptureText, which runs an external command, drains stdout and stderr together and returns both strings with the exit code. It removes the deadlock that the classic redirect-and-ReadToEnd pattern can hit on noisy tools. Anyone who shells out to git, ffmpeg or internal CLIs will want to know the new helpers and their timeout behavior.

OrmLite v10.4
Typed JSON queries

OrmLite now queries JSON properties like any other property

ServiceStack v10.4 lets typed OrmLite queries reach into complex properties such as x.Address.City or x.Lines.Any(...). The expressions are translated to the native JSON functions of SQLite, PostgreSQL, SQL Server and MySQL, so one query works across all four. This removes the need for Sql.Json() wrappers on complex properties.

NET 10 JSON
Read JSON from a pipe
ELelmah.io Blog Ali Hamza Ansari Oct 20

Reading large JSON with PipeReader in .NET 10 System.Text.Json

Ali Hamza Ansari compares the PipeReader overload that .NET 10 adds to System.Text.Json with reading the same large JSON payload from a Stream. He measures execution time, allocated memory and GC collection counts on a file with one million records. The results matter if your high-traffic endpoints deserialize big request bodies.

OrmLite v10.4
Typed complex queries

OrmLite v10.4 adds typed recursive, window and combined queries

ServiceStack v10.4 brings typed support to OrmLite for recursive hierarchies, named sub queries, window functions, set operations and keyset paging. These queries used to need hand-written SQL, and now they stay parameterized and composable with your existing filters and joins. The post walks through each feature with examples and the SQL they generate.

ASP.NET Core 11
Validation messages translated
KAKhalid Abuhakmeh Khalid Abuhakmeh Oct 20

Localize Minimal API validation messages in .NET 11

ASP.NET Core 11 adds built-in localization for validation messages and display names in Minimal APIs and Blazor. Registering AddValidation and AddLocalization, plus culture-specific resx files, is enough to return 400 responses in the caller's language. The author shows a working sample and an integration test across four cultures.

Copilot SDK 1.0
Bring your own model
NB.NET Blog Bruno Capuano Oct 19

Bring Your Own Model to the GitHub Copilot SDK with C#

The GitHub Copilot SDK lets you keep GitHub's agent runtime while routing model inference to your own Microsoft Foundry or Azure OpenAI deployment through BYOK. The article walks through a .NET 10 console sample that configures ProviderConfig, authenticates with Microsoft Entra ID or an API key, and sends one prompt.

Claude Code
C# in Claude Code

C# Code Intelligence in Claude Code: Setup and Limits

Nick Cosentino explains how to set up C# code intelligence in Claude Code through the csharp-lsp plugin and where that setup stops being reliable. The article separates the language server, the plugin and the workspace as three layers to verify, and it clarifies what diagnostics and symbol navigation can and cannot prove. It is a practical checklist for .NET developers using Claude Code on C# repositories.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message