Pinned
Sergiy Teplyakov
Sergiy Teplyakov
@steplyakov.bsky.social
Software Engineer at MSFT. Opinions are my own.
320 followers49 following92 posts
Here is the link to the course with a 30% discount automatically applied: dometrain.com/course/maste... And happy learning to you all!
New video on Dissecting the Code YouTube Channel: "How LINQ works?" - youtu.be/hFKCOeUfZaA?... To understand LINQ we should understand iterator blocks. And this is what I'm covering for almost 20 minutes! :)
Sergiy Teplyakov reposted
Next video on Dissecting the Code channel. This time I cover .NET 10 performance improvements around de-abstracting the delegates. In .NET 10, the LINQ Any method can easily outperform a manual loop over a list! Awesome job, .NET team! youtu.be/-h5251IWv-Y?... And, as always, thanks for watching!
Another video on Dissecting the Code YouTube channel: "ConfigureAwait best practices". I feel we have a cargo cult on using ConfigureAwait without thinking too much. youtu.be/bUHQeY-DlBc?...
And, as always, thanks for sharing. /cc: @davidfowl.com, @scott.hanselman.com, @migueldeicaza.bsky.social
And, as always, I would really appreciate the repost! /cc: @kirillosenkov.com, @davidfowl.com, @jaredpar.bsky.social, @migueldeicaza.bsky.social, @scott.hanselman.com, @damianedwards.com
Here is a link to my PR: github.com/dotnet/runti... And once this is merged we should have way fewer allocations when using LazyInitializer.EnusreInitialized by stack-allocating a delegate passed as Func<T>
Sergiy Teplyakov reposted
I'm writing another book, and the first few chapters are available through Manning Early Access now! For 50% off! hubs.la/Q03Q9PGP0 More details, and the story of how I came to write it, are on my blog at ericlippert.com/2025/10/30/i... It feels great to be writing again after a long break. :)
I want to fail the build on compiler warnings, but keep the diagnostics warnings as warnings. One option that I've found is to set 'TreatWarningsAsErrors' to true, and set 'CodeAnalysisTreatWarningsAsErrors' to false. Is there a better way? /cc: @jaredpar.bsky.social, @terrajobst.net
Sergiy Teplyakov reposted
New blog post: In 2021 I found an invisible memory leak in a tool (VS Code) that I have never used. Impossible? Easy: randomascii.wordpress.com/2025/10/09/f...
New video on Dissecting the Code YouTube Channel. This time, it's about Parallel Stacks - my very favorite @visualstudio.com feature that you probably are not using enough! I can't even count how many times it helped me production incidents investigations! youtu.be/Z5mN0VCB-KA?...
As always, I'll appreciate the feedback and I would love if you share the video with your network! It means a lot to me! /cc: @visualstudio.com, @migueldeicaza.bsky.social, @rephuffman.bsky.social, @scott.hanselman.com, @davidfowl.com
And if by any chance you haven't subscribed yet, here is the link to the channel ;) www.youtube.com/@DissectingT...
After a short break I'm back with the new video on Dissecting the Code YouTube channel. This time its all about ConfigureAwait, why we ended up having it and how it works under the hood! #dotnet folks, please share! I'll really appreciate it! youtu.be/RZsLA_R8i9s?...
/cc: @migueldeicaza.bsky.social, @terrajobst.net, @scott.hanselman.com, @visualstudio.com, @damianedwards.com and other. I would really appreciate if you'll share the link!
Sergiy Teplyakov reposted
Egor landed yesterday a great document about C# "Unsafe code best practices" https://github.com/dotnet/docs/blob/main/docs/standard/unsafe-code/best-practices.md 📜 Even if you think you know them, it is a good read as a reminder! 😎 #dotnet #csharp
Hey #dotnet folks! Please share latest deep-dive video to spread the knowledge about async internals and tips&tricks on debugging .NET code! Your support means the world! /cc: @scott.hanselman.com, @ardalis.com, @terrajobst.net, @migueldeicaza.bsky.social and every other member of .net community!
Hey guys. Async methods might be scary for some, but they're not that complicated if you can debug the async machinery to understand how they work! This is exactly what I did in the last video - "Let's debug async/await in C#". youtu.be/oHKyzgGjKHQ?...
Hey guys. Async methods might be scary for some, but they're not that complicated if you can debug the async machinery to understand how they work! This is exactly what I did in the last video - "Let's debug async/await in C#". youtu.be/oHKyzgGjKHQ?...
Hey #dotnet community! Please share and let's simplify the way we deal with resources in .NET! /cc: @migueldeicaza.bsky.social, @scott.hanselman.com and other folks, I love to discuss this topic! You might disagree with my take! But its time to reconsider some old patterns.
Posted another episode on YouTube: "The way Dispose Pattern Should Be Implemented". It’s time to reconsider the Dispose Pattern and abandon Dispose(bool disposing) nonsense. Let’s move to a simpler approach and never mix managed and native resources. youtu.be/E6tQDczhrUM?...
Posted another episode on YouTube: "The way Dispose Pattern Should Be Implemented". It’s time to reconsider the Dispose Pattern and abandon Dispose(bool disposing) nonsense. Let’s move to a simpler approach and never mix managed and native resources. youtu.be/E6tQDczhrUM?...
Hey @davidfowl.com, @scott.hanselman.com, @jaredpar.bsky.social, @terrajobst.net and other #dotnet community members! Could you please share this tweet about how to unlock most of the C# productivity features even targeting .NET Framework or .netstandard2.0. Appreciate your support!
Posted another episode on YouTube: "Unlocking Modern C# Features Targeting .NET Framework". Quite a few devs limit themselves with C# 7.3 when they target full framework or .netstandard2.0. You still can leverage most of the latest C# features in this case. youtu.be/5eNtdj68qW4?...
Posted another episode on YouTube: "Unlocking Modern C# Features Targeting .NET Framework". Quite a few devs limit themselves with C# 7.3 when they target full framework or .netstandard2.0. You still can leverage most of the latest C# features in this case. youtu.be/5eNtdj68qW4?...
Sergiy Teplyakov reposted
How to Find Public Symbols That Can Be Internal Using Roslyn #dotnet #roslyn https://www.meziantou.net/how-to-find-public-symbols-that-can-be-internal-using-roslyn.htm?utm_medium=social&utm_source=bluesky
The link to the video: youtu.be/mAPKDtnpRBU?... It was fun and easy using .NET Aspire for orchestration and visualization! /cc: @migueldeicaza.bsky.social, @davidfowl.com, @scott.hanselman.com
Sergiy Teplyakov reposted
Sergiy Teplyakov reposted
Sergiy Teplyakov reposted
Hey friends, my YouTube channel is 18 YEARS OLD today! Please like and subscribe ;) youtube.com/shanselman
Hey #dotnet people! Just published another episode on Dissecting the Code YouTube channel: “Shooting yourself in a foot with the finalizers”. Crashes due to NullReferenceException, race conditions, constructors that finish before the finalizers, and all the fun stuff! youtu.be/Wh2Zl1d57lo?...
And, as always, thanks in advance for sharing it! /cc: @scott.hanselman.com, @terrajobst.net
New video: Managing Native Resources in .NET. Have you ever think, why we’re not using a struct for managing resources? It should be more efficient, right? Icover what will happen and why we should use the building blocks like SafeHandle. #dotnet youtu.be/DUgtC0OZMtA
As always, will really appreciate your support: @kirillosenkov.com, @scott.hanselman.com.
Hey #dotnet and other folks. Another quite exciting news: I've been mentoring colleges at MSFT for quite some time and now I'm available as a mentor at mentor.sh platform. Here is my profile: mentor.sh/mentors/Serg... Will be happy to be your mentor and learn from each other!