Advertisement · 728 × 90

Posts by Roxeem

Preview
The .NET Pipeline That Makes Source Generators Feel Instant Deep dive into .NET source generators, and understand how to design efficient pipelines that minimize recompilation and boost codegen performance.

Deep dive into #dotnet source generators, and understand how to design efficient pipelines that minimize recompilation and boost codegen performance.
#dotnet #sourcegen #roslyn

3 months ago 0 0 0 0
Preview
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.

An introduction to #dotnet Source Generators. How to eliminate boilerplate, boost performance, and replace runtime reflection with compile-time code generation.

#dotnet #roslyn

4 months ago 0 0 0 0
Preview
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.

5 months ago 3 1 0 0

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.

roxeem.com/2025/10/24/a-pragmatic-g...

5 months ago 0 0 0 0

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
roxeem.com/2025/10/11/strategic-pag...

5 months ago 1 0 0 0

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

5 months ago 0 0 0 0

⚡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
roxeem.com/2025/09/30/what-net-10-g...

5 months ago 1 1 0 0
Post image

.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
roxeem.com/2025/09/30/what-net-10-g...

6 months ago 1 1 0 0
Post image

In C# 14, you can provide custom behavior for compound assignments like `+=`, `-=`, etc..

#csharp #dotnet #dotnet10

6 months ago 0 0 0 0

No thank you 😂

6 months ago 0 0 0 0
Advertisement
Post image

Fancy more partial members in C#? How about constructors and events? 😏

#csharp #dotnet #dotnet10

6 months ago 0 0 1 0
Post image

We can now write an accessor body that uses the compiler-synthesized backing field with no explicit private field. 🎉🎉🎉

#csharp #dotnet #dotnet10
learn.microsoft.com/en-us/dotnet/csharp/what...

6 months ago 0 0 0 0

Hey #dotnet engineers and enthusiasts. Let's connect 🙂

6 months ago 0 0 0 0
Post image

We can now write an accessor body that uses the compiler-synthesized backing field with no explicit private field. 🎉🎉🎉

#csharp #dotnet #dotnet10
learn.microsoft.com/en-us/dotnet/csharp/what...

6 months ago 0 0 0 0
Post image

In C# 14, you can now add 'out', 'ref', 'in', 'scoped', or 'ref readonly ' to simple lambda parameters without specifying types.

#csharp #dotnet #dotnet10

6 months ago 1 1 0 0
First-class Span<T> conversions

First-class Span<T> conversions

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

6 months ago 1 0 0 0
nameof supports unbound generics

nameof supports unbound generics

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
roxeem.com/2025/08/30/c-14-will-cha...

6 months ago 1 0 0 0
Post image

Stop treating prompts like magic spells. Treat them like software. Orchestrate, secure, and scale your AI workflows with real engineering.

roxeem.com/2025/09/16/the-hidden-ar...
#dotnet #csharp #ai #promptengineering

6 months ago 2 1 0 0
Post image

🎉 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

roxeem.com/2025/08/30/c-14-will-cha...

6 months ago 3 2 0 0
Extension members (instance and static)

Extension members (instance and static)

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...

6 months ago 1 1 0 0
Advertisement

Lucky you! Hope nothing broke 😉

6 months ago 0 0 1 0
Post image

To all the software developers and problem solvers: Happy #ProgrammersDay! 🎉

6 months ago 0 0 0 0
Preview
Performance Improvements in .NET 10 - .NET Blog Take a tour through hundreds of performance improvements in .NET 10.

That’s the .NET 10 perf story. Now go and read Stephen Toub's yearly novel to understand the juicy parts 😉
devblogs.microsoft.com/dotnet/perfo...

6 months ago 0 0 0 0

🪞 Code Cloning & Specialization
JIT duplicates code paths:
• Fast path = 1 length check
• Fallback = full safety
Now works for spans & foreach try/finally. #dotnet

6 months ago 0 0 1 0

📏 Bounds‑Check Elimination
Smarter JIT removes redundant checks using constants, merged assertions, switch‑case analysis & span patterns. Smaller code, faster loops. #dotnet

6 months ago 0 0 1 0

🔍 Devirtualization
Array interface calls (IList, IEnumerable) now devirtualize. Loops & LINQ ops run up to 70% faster. Dynamic PGO + extra inlining = even more speed. #dotnet

6 months ago 0 0 1 0

🗑 JIT Deabstraction + Stack Allocation
Escape analysis now stack‑allocates more objects, delegates, arrays & spans.
Fewer heap allocs, less GC pressure, up to 66% faster in common patterns. #dotnet

6 months ago 0 0 1 0

🚀 .NET 10 RC1 is here, and it’s time for another Stephen Toub novel. But to summarize, this is what has changed:
#dotnet

6 months ago 0 0 1 0
Advertisement
Preview
Capture .NET Memory Dump on Linux | Microsoft Community Hub Collecting memory dumps is a crucial part of diagnosing and troubleshooting application issues on Linux machines. Microsoft suggests three primary tools for...

Capture .NET Memory Dump on Linux.

buff.ly/gb5WjhI

#dotnet #linux #debugging #iis #memory

7 months ago 4 2 0 0
Preview
Performance Improvements in .NET 10 - .NET Blog Take a tour through hundreds of performance improvements in .NET 10.

Set aside a week and read this: Performance Improvements in .NET 10. #dotnet

devblogs.microsoft.com/dotnet/perfo...

6 months ago 9 2 1 0