Using and authoring .NET tools

#573 – September 07, 2025

even if you don't know which version of the .NET users installed

Using and authoring .NET tools
10 minutes by Andrew Lock

.NET tools are programs that are distributed via NuGet and can be installed using the .NET SDK. In this post Andrew describes some of the complexities around authoring .NET tools, particularly where you don't know which version of the .NET runtime customers will have installed. He provides some testing tips and continuous integration considerations for building reliable .NET tools.

Telerik and Kendo UI AI Coding Assistants
sponsored by Progress Telerik

Help your team get 30% efficiency gains or more by generating quality code tailored to our enterprise-grade component libraries.

Real-time server-sent events in ASP.NET Core and .NET 10
9 minutes by Anton Martyniuk

.NET 10 preview introduces Server-Sent Events for pushing real-time updates from server to client. SSE works over standard HTTP and provides automatic reconnection without needing complex WebSocket setups. It's perfect for one-way data streams like stock prices or notifications. Unlike SignalR, SSE only sends data from server to client but is simpler to implement and debug.

Writing isolated tests with TestContainers
10 minutes by Tim Deschryver

Software testing typically involves unit tests and integration tests. Unit tests are fast and test single functions, while integration tests check how different parts work together. Integration tests provide more confidence but can be complex to set up. TestContainers solves this by creating temporary Docker containers for testing. It lets you test against real databases and services without affecting production systems. Each test gets its own isolated environment that starts up and shuts down automatically.

OData .NET 9 preview release
8 minutes by John Gathogo

OData .NET 9 Preview 2 has been released with major updates to modernize the library. John goes through the notable changes which include targeting .NET 10, removing outdated JSONP support for security reasons, and making query options case-insensitive by default. The update also removes the deprecated Timeout property and fixes a bug that incorrectly allowed nullable entity keys.

Structured logging in ASP.NET Core
5 minutes by Aram Tchekrekjian

In this tutorial Aram explains how to set up structured logging in ASP.NET Core Web API using Serilog. Structured logging captures data as fields rather than plain text, making logs easier to search and analyze. The setup involves installing Serilog NuGet packages, configuring settings in appsettings.json, and updating Program.cs to use Serilog as the logging provider.

And the most popular article from the last issue was:

newsletters