Roxeem
roxeem.com
Roxeem
@roxeem.com
Software Architect • C# Developer Advocate • .NET/C# Technical Blogger

Blog: roxeem.com
Medium: medium.com/@roxeem
An introduction to #dotnet="/hashtag/dotnet" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link">#dotnet Source Generators. How to eliminate boilerplate, boost performance, and replace runtime reflection with compile-time code generation.

#dotnet #roslyn
Incremental Source Generators in .NET
In this post, I'll show you what Roslyn source generators are, why they're a massive improvement over old techniques, and how to build a simple, high-performance generator from scratch.
roxeem.com
November 8, 2025 at 8:26 PM
Testing HttpClient in .NET without Moq or NSubstitute

How to unit test HTTP clients in .NET without relying on mocking frameworks (Moq or NSubstitute) using DelegatingHandler.
Testing HttpClient in .NET without Moq or NSubstitute
How to unit test HTTP clients in .NET without relying on mocking frameworks (Moq or NSubstitute) using DelegatingHandler.
roxeem.com
October 26, 2025 at 11:34 AM
A Pragmatic Guide to Server-Sent Events (SSE) in ASP.NET Core

Learn how to implement Server-Sent Events (SSE) in ASP.NET Core. Compare SSE vs WebSockets & SignalR, and apply scaling best practices.

https://roxeem.com/2025/10/24/a-pragmatic-guide-to-server-sent-events-sse-in-asp-net-core
October 24, 2025 at 3:03 PM
When you design APIs that return large datasets, pagination is not optional. Without it, you risk overwhelming your database, your network, and your consumers.

#dotnet #aspnet
https://roxeem.com/2025/10/11/strategic-pagination-patterns-for-net-apis
October 11, 2025 at 1:44 PM
In #dotnet 10, DATAS is enabled by default. The GC now adjusts heap thresholds to match the actual app memory needs.

✅ Light load → GC frees memory aggressively
✅ Heavy load → heap expands on demand
⚠️ May raise p99 latency in spiky workloads.

#dotnet #csharp #performance
October 9, 2025 at 11:00 AM
⚡In .NET 9, even tiny arrays hit the heap, adding GC overhead. In .NET 10, if an array never leaves the method, it’s stack‑allocated. Result → ~2× faster, 0 allocations, less GC pressure.

#dotnet #csharp
https://roxeem.com/2025/09/30/what-net-10-gc-changes-mean-for-developers/
October 7, 2025 at 11:25 AM
.NET 10 GC tuning demonstrates how stack allocations, DATAS, and region sizing reduce allocations, improve latency, and lower your cloud costs.

#dotnet #csharp #gc #performance
https://roxeem.com/2025/09/30/what-net-10-gc-changes-mean-for-developers/
September 30, 2025 at 3:50 PM
In C# 14, you can provide custom behavior for compound assignments like `+=`, `-=`, etc..

#csharp #dotnet #dotnet10
September 26, 2025 at 7:01 AM
Fancy more partial members in C#? How about constructors and events? 😏

#csharp #dotnet #dotnet10
September 25, 2025 at 7:01 AM
We can now write an accessor body that uses the compiler-synthesized backing field with no explicit private field. 🎉🎉🎉

#csharp #dotnet #dotnet10
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#the-field-keyword
September 24, 2025 at 7:01 AM
Hey #dotnet engineers and enthusiasts. Let's connect 🙂
September 23, 2025 at 8:06 AM
We can now write an accessor body that uses the compiler-synthesized backing field with no explicit private field. 🎉🎉🎉

#csharp #dotnet #dotnet10
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#the-field-keyword
September 23, 2025 at 7:01 AM
In C# 14, you can now add 'out', 'ref', 'in', 'scoped', or 'ref readonly ' to simple lambda parameters without specifying types.

#csharp #dotnet #dotnet10
September 22, 2025 at 4:04 PM
The C# 14 compiler now recognizes common conversions (T[] → Span, string → ReadOnlySpan, etc.) This reduces the need for explicit `.AsSpan()` calls and improves overload resolution.

#csharp #dotnet #dotnet10
September 21, 2025 at 6:00 AM
This is one of those small life improvements in C# 14 that bothered me for years, and I'm really glad they've finally fixed it. 😍
You can pass an unbound generic type to `nameof`.

#csharp #dotnet #dotnet10
https://roxeem.com/2025/08/30/c-14-will-change-how-you-code-heres-why/
September 20, 2025 at 6:00 AM
Stop treating prompts like magic spells. Treat them like software. Orchestrate, secure, and scale your AI workflows with real engineering.

https://roxeem.com/2025/09/16/the-hidden-architecture-behind-fast-and-reliable-ai-prompts/
#dotnet #csharp #ai #promptengineering
September 19, 2025 at 4:14 PM
🎉 Finally in C# 14, the null-conditional operators `?.` and `?[]` now work on the left side of = (and compound assignments). The RHS is only evaluated when the LHS isn’t null.

#dotnet #csharp #dotnet10

https://roxeem.com/2025/08/30/c-14-will-change-how-you-code-heres-why/
September 19, 2025 at 6:00 AM
In C# 14, you can now declare extension properties, indexers, and even static extension members on a type.
#dotnet #csharp #dotnet10
roxeem.com/2025/08/30/c...
September 18, 2025 at 8:35 AM
To all the software developers and problem solvers: Happy #ProgrammersDay! 🎉
September 13, 2025 at 5:33 PM
🚀 .NET 10 RC1 is here, and it’s time for another Stephen Toub novel. But to summarize, this is what has changed:
#dotnet
September 13, 2025 at 11:02 AM
Reposted by Roxeem
Set aside a week and read this: Performance Improvements in .NET 10. #dotnet

devblogs.microsoft.com/dotnet/perfo...
Performance Improvements in .NET 10 - .NET Blog
Take a tour through hundreds of performance improvements in .NET 10.
devblogs.microsoft.com
September 10, 2025 at 7:57 PM
Reposted by Roxeem
File-based C# apps & support for stdin to `dotnet run -` makes it incredibly easy to check behavior of APIs in .NET 10!
September 4, 2025 at 5:24 PM
How to orchestrate multi-tool AI workflows in .NET

Build robust AI multi-tool workflows in .NET. Chain tools, add telemetry, cache results, and orchestrate multi‑step tasks with DI.

roxeem.com/2025/09/12/h...

#dotnet #ai #llm #chsarp
How to orchestrate multi-tool AI workflows in .NET - Roxeem
Build robust AI multi-tool workflows in .NET. Chain tools, add telemetry, cache results, and orchestrate multi‑step tasks with DI.
roxeem.com
September 12, 2025 at 10:32 AM