mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#dotnet

90 Beiträge51 Beteiligte10 Beiträge heute

A Mistake I Made with ASP.NET Core Middleware

I once added some logging middleware… at the wrong place in the pipeline.

Result? I missed all the early failures.

Lesson: Order matters in ASP.NET Core middleware.

Put logging and error handling before your app-specific stuff.

Learned that one the hard way.

Update on the future of Rx.NET versioning:
github.com/dotnet/reactive/dis

The 3 scenarios that seemed to prevail:

1. Keep the System.Reactive packages. Solve problems using hacks (different API surface in build time than in runtime).

2. Introduce System.Reactive.Net packages, keep System.Reactive as a facade.

3. Try the first one in Rx7. If (when?) something breaks, switch to the second one.

A YT summary:
youtube.com/watch?v=GSDspWHo0bo

Our previous announcement that we were going to be moving forward with a new packaging plan for Rx.NET turned out to be premature. The plan, whose main goal is to fix the 'deployment bloat' issues ...
GitHubPackaging Plans July 2025 · dotnet reactive · Discussion #2211Our previous announcement that we were going to be moving forward with a new packaging plan for Rx.NET turned out to be premature. The plan, whose main goal is to fix the 'deployment bloat' issues ...
#dotnet#rx#rxnet

C# is doing a lot of work to explore unions in an OO language. Watch this space, a very hard decision: perhaps more style perhaps than theory.

A very good summary here:
github.com/dotnet/csharplang/b

As inheritance is baked in deep, we don't necessarily need unions -- rather we need closed hierarchies. So one of my favourite low-impact suggestions are `Standard Unions`
github.com/dotnet/csharplang/b

#csharp#unions#compsci

Minimal APIs aren’t just for “small” #dotnet apps.
They can ship prod systems faster:

Less boilerplate

Feature-split endpoints

Pair w/ MediatR or CQRS

It’s not less functionality — it’s less ceremony.

Your #dotnet app feels slow?
It’s rarely the GC.
More often it’s:

Inefficient LINQ

Blocking async calls

Slow serialization

Profile first: dotnet trace, dotnet-counters, PerfView.
Find the real bottleneck before tweaking GC.
What’s your worst .NET perf pitfall?
#softwaredev