.NET 9 introduces the new LINQ method CountBy.
It allows for calculating the frequency of a key.
This improvement looks nice.
What do you think?
---
Level up your .NET skills — join over 2,890 engineers reading .NET Pulse weekly!
Subscribe: https://go.okyrylchuk.dev/z7gddz
We are updating the support periods for Terminaux and BassBoom.
#BassBoom #Terminaux #Projects #csharp #programming #Computers #dotnet #TechNews #TechUpdates
https://officialaptivi.wordpress.com/2025/04/08/bassboom-and-terminaux-support-updates/
Feeling like I should be able to publish the new API documentation site for @xunit in the next day or two.
The last big issue to resolve is dealing with DocFX's `uid` collisions when trying to have more than one version of an API documented on the site at a time. Should be a fairly mechanical YML + JSON transformation after `docfx metadata`. #DotNet #DocFX
Learn how to build a Model Context Protocol (MCP) server using the C# SDK to enable seamless communication between AI models and applications.
https://devblogs.microsoft.com/dotnet/build-a-model-context-protocol-mcp-server-in-csharp/ #dotnet
Blogged: Announcing CommandLineExtensions, a .NET DI Compatible System.CommandLine Facade https://bit.ly/43JtHwP #dotnet
Trying to test something that was implemented with Ssh.Net library. API of the library is derived from IBaseClient which is cool, and I can mock it. But the RunCommand("cmd") method returns "SshCommand" object, which does not implement any interface and only has internal constructor.
By some miracle of introspection I created SshCommand in my test mocks. But it has complex async logic inside it. Can't they just return an interface?
Azure Functions just dropped the ability to build RREMOTE MCP Servers with Scalable Azure Functions in C#, TypeScript, or Python! Check this out!!
That awkward moment when you have an oddly specific need so you solve it in 30 lines of C# code.
SSGs are easy, what's all the hype about?
I stood up a Mac mini dev workstation to compile my #avaloniaUI app for MacOS. VS Code on MacOS works more than well enough for me. Was focused on Windows until now. Minor design things to fix. Otherwise, it just works! Avalonia is my first choice for #dotnet desktop apps.
We just shipped core framework v3 2.0.1 and source analyzers 1.21.0.
Check the release notes for new features and bugs fixed.
https://xunit.net/releases/v3/2.0.1
https://xunit.net/releases/analyzers/1.21.0
How do you check if a list is not null and has elements?
There are several ways to do it:
1. Classic way
2. List.Count way
3. Enumerable.Any way
4. Pattern matching way
Which one do you prefer — or do you use a different approach?
Let me know in the comments!
---
Join over 2,870 engineers reading the .NET Pulse newsletter.
Subscribe: https://go.okyrylchuk.dev/z7gddz
When using named pipes, what's #docker expecting to signal the end of a `stdin` stream in an exec session? Used to work with a 0-byte `WriteFile()` (Windows Native API) in #dotnet, now seems broken. Writing input via `Docker.DotNet` never gets processed: https://github.com/testcontainers/Docker.DotNet/issues/20. Any idea?