Steven Giesel's Avatar

Steven Giesel

@steven-giesel.com.bsky.social

Hey there - I am developer living in Switzerland. I am a Microsoft #MVP, and sometimes, I write and talk about #csharp and #dotnet code πŸ“–Blog: https://steven-giesel.com πŸ‘¨πŸ»β€πŸ’»Github: https://github.com/linkdotnet

249 Followers  |  40 Following  |  126 Posts  |  Joined: 09.11.2024  |  2.4293

Latest posts by steven-giesel.com on Bluesky

WE ARE DOING IT LIVE!!!!

04.04.2025 13:33 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Spring Meetup @Digicomp ZΓΌrich, Wed, Apr 2, 2025, 6:00 PM | Meetup **SPRING .NET Zurich Meetup @ Digicomp Zurich** Join us in person or online at [https://www.youtube.com/c/dotNETZurich](https://www.youtube.com/c/dotNETZurich). Start the

Today @DigiComp-Academy: The .NET User Group ZΓΌrich Meetup with Timon Jucker and myself: www.meetup.com/dotnet-zuric...

We are talking about #async and #await in #csharp / #dotnet and some performance stuff with Single Instruction Multiple Data.

02.04.2025 11:52 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Nice mindmap with all the C# language features by @steven-giesel.com πŸ‘‡
linkdotnetblog.azureedge.net/blog/2025033...

31.03.2025 12:29 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

This is a very good step-by-step guide for reproducing in an issue ;)

11.03.2025 17:06 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Darn!

09.03.2025 14:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
.NET Collections and Data Structures Learn how to apply the right collection for the task at hand.

Read about Collections and data structures in .NET at the JetBrains guide.

www.jetbrains.com/guide/dotnet...

06.03.2025 10:08 β€” πŸ‘ 8    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
Preview
Spring Meetup @Digicomp ZΓΌrich, Wed, Apr 2, 2025, 6:00 PM | Meetup **SPRING .NET Zurich Meetup @ Digicomp Zurich** Join us in person or online at [https://www.youtube.com/c/dotNETZurich](https://www.youtube.com/c/dotNETZurich). Start the

The .NET User Group Zurich is back (well, we never went away): 2nd of April at Digicomp Zurich:

1. Demystify Concurrency
2.Using SIMD in C#

Sounds interesting? Join us in-person or remotely: www.meetup.com/dotnet-zuric...

05.03.2025 16:00 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
C# 14: Null-conditional assignment The preview 1 of dotnet 10, and therefore the next iteration of the C# language, is right in front of our doorsteps. So let's have a look at one of the first potential additions to the language: Null-...

Interested in potential #csharp 14 language features?

Checkout my latest blog post

steven-giesel.com/blogPost/b6d...

24.02.2025 18:01 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
IEnumerable vs IEnumerator in C#: One is 2x Faster - LinkedIn Edition During my recent browsing on LinkedIn I saw that question: IEnumerable vs IEnumerator in C#: One is 2x Faster – Which One? Naturally, I was very suspicious. So let's find out what is going on here.

While browsing through LinkedIn, I encountered a benchmark that was unfortunately full of errors. In my upcoming blog post, I will go through the issues and how to design it in a better way

steven-giesel.com/blogPost/b70...

#csharp #dotnet

16.02.2025 14:40 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Really nice work

06.02.2025 22:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I am also not sure what the support policy of non-current versions of packages are (from Microsoft).

Just because there is STJ 9.0.1 doesn’t necessarily mean STJ 8.0.4 is outdated.

06.02.2025 22:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0

And yes, direct deps override transitive ones - but that shouldn’t be used to workaround a CVE

06.02.2025 22:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That is the funny part - People (including Microsoft) did push out new version still having outdated dependencies.

So even if you as a responsible dev, did you job and keep everything up to date, you would not have been done.

06.02.2025 22:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Hmm that might be - never thought of that.

Maybe it is laziness. Every ide makes it somewhat easy to upgrade all your packages in one go.

Central Package Management makes this even more trivial

06.02.2025 22:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

When you say it - I can remember some discussion going on, on the GitHub repo. And basically, as you can always override such issue with a direct dependency it wasn’t crtitical.

Personally - I don’t like that because it doesn’t lead developers to a β€žpit of successβ€œ

06.02.2025 22:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Understandable - but you will face the issue probably in November this year again :)

And I am still not sure why the issue comes in the first place. It might be worth reporting this over at the nuget repo.

I mean, given that even netstandrd2.0 would support the v9 version of the dependency

06.02.2025 22:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Well - that is a good question.

We faced similar issues with the System.Text.JSON - where even many MS packages didn’t update STJ to fix the CVE (even though the package itself got updated).

06.02.2025 22:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Interesting - for sure there are man corner cases where this might not work.

Thanks for the update

06.02.2025 22:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

"Drop-Shipping"?

06.02.2025 21:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Interesting - that would also move the validation whether or not services can be created to compile-time (not in all cases, but in many) !?

06.02.2025 21:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

As direct deps are always overruling transient deps, users can override the package. But the other way around doesn't work.

Yes, there is a risk that it breaks your library code, though.

06.02.2025 21:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

We in bUnit took your last approach.
We aligned TFM with the package version, see: github.com/bUnit-dev/bU...

I also did this in some of my other smaller libraries.
For netstandard2.0, I would roll with the lowest required version - so 8.0.1 for your dep.

06.02.2025 21:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
LINQ MindMap: .NET 10 Edition Very small update - as the work on .NET 10 starts - or better - continues with full force, I did update the LINQ MindMap.

Highres version: steven-giesel.com/blogPost/004...

06.02.2025 19:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

.NET 10's first preview will arrive soon. And yes, there are new LINQ operators coming! Therefore I updated my LINQ mindmap to the current #dotnet 10 state.

The link for the High-Res version (free of charge, of course) is in the comments.

#csharp #linq

06.02.2025 19:38 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Post image 27.01.2025 15:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That is advanced mode :)

27.01.2025 11:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

When you upgrade packages, do you read the release notes?

We maintainers, normally, invest a bit of time to write them ;)

27.01.2025 09:43 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0

Nice! Have to check it out!

23.01.2025 17:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If that would work in rider or as a standalone tool - that would be something

23.01.2025 17:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

LOL :) that is a good take!

22.01.2025 08:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@steven-giesel.com is following 20 prominent accounts