Sign in

Peyman

@peymanr34.bsky.social
29 followers 84 following 64 posts

Friendly neighborhood software developer. github.com/peymanr34

PostsRepliesMedia
Reposted by Peyman
Mattias Karlsson @devlead.se · 01/10/2026
I wrote this for me; now you can read it too. It’s been in draft for years. I was recently a guest on the .NET Rocks podcast on the topic, that episode landed today, which made me revisit and finally get the post out of drafts: Taking control of your digital legacy www.devlead.se/posts/2026/2...
devlead.se
@devlead - Mattias Karlsson's Blog - Taking control of your digital legacy
A practical inventory, five categories, and the platform features that decide what happens to your domains, repositories, and accounts when you're not around
2149
Reposted by Peyman
ErikEJ @erikej.bsky.social · 30/08/2026
Try the new .NET SqlClient and Retry connections natively (from Jerry Nixon) - apparently many users still use System .Data.SqlClient ?? #dotnet #sqlserver devblogs.microsoft.com/azure-sql/sq...
devblogs.microsoft.com
Try the new SqlClient and Retry connections natively - Azure SQL Dev Corner
Learn how Microsoft.Data.SqlClient configurable retry logic handles transient SQL Server failures with built-in retry policies, without requiring Polly.
142
Peyman @peymanr34.bsky.social · 17/08/2026
I can't figure out what's wrong with xUnit in my project and I'm getting frustrated. The `dotnet test` command works but cake build doesn't :(
100
Peyman @peymanr34.bsky.social · 11/08/2026
I made a social card image generator for my personal blog with QuestPDF. Such a great library. #dotnet
000
Peyman @peymanr34.bsky.social · 01/08/2026
I'm not sure what's the common practice for #WinUI split buttons. Should the MenuFlyout also include an item which is duplicate of the main button?
000
Peyman @peymanr34.bsky.social · 31/07/2026
Writing articles about software development in right-to-left languages is such a pain in the rear. No wonder nobody bothers to write anymore.
010
Reposted by Peyman
GitHub @github.com · 20/07/2026
The Apollo Guidance Computer software eventually grew to about 145,000 lines of code. 👀 Explore the original Apollo 11 guidance software for the Command and Lunar Modules. 🌕 github.com/chrislgarry/...
github.com
GitHub - chrislgarry/Apollo-11: Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules. - chrislgarry/Apollo-11
28012
Peyman @peymanr34.bsky.social · 13/07/2026
Updating the WindowsAppSDK 1.8 to 2.2 broke my WinUI app because the FileSavePicker doesn't create an empty file anymore. Well... It's actually my fault for relying on the API's side effect.
100
Peyman @peymanr34.bsky.social · 08/07/2026
This nuget package should've been deprecated, right? www.nuget.org/packages/Mic...
nuget.org
Microsoft.Toolkit.Uwp.Notifications 7.1.3
The official way to send toast notifications on Windows 10 via code rather than XML, with the help of IntelliSense. Supports all C# app types, including WPF, UWP, WinForms, and Console, even without p...
000
Peyman @peymanr34.bsky.social · 25/06/2026
I did a thing! github.com/cake-build/c...
github.com
GH4900: Add Inno Setup 7 support by peymanr34 · Pull Request #4901 · cake-build/cake
Changes (Edited on 2026-06-24): Added Inno Setup 7 support. Added support for Inno Setup when installed in user mode. 1 Notes: Inno Setup 7 has both 32-bit and 64-bit editions but the previously...
100
Peyman @peymanr34.bsky.social · 14/06/2026
I wonder how expensive are these calls to `GetFileFromPathAsync` and `GetParentAsync`. #dotnet #winui
110
Peyman @peymanr34.bsky.social · 08/06/2026
I finally added NSIS compiler support to Installer Studio which combines multiple installers together for easy deployment. github.com/peymanr34/in... #dotnet #winui
010
Peyman @peymanr34.bsky.social · 02/06/2026
Visual Studio spell checker is a bit drunk at the moment.
000
Peyman @peymanr34.bsky.social · 25/02/2026
I can't believe you can easily run Android 16 on a phone from 2017 with just 2 gigabytes of RAM.
100
Peyman @peymanr34.bsky.social · 19/02/2026
Well this is a first... learn.microsoft.com/en-us/window...
learn.microsoft.com
Bug Check 0x113 VIDEO_DXGKRNL_FATAL_ERROR - Windows drivers
The VIDEO_DXGKRNL_FATAL_ERROR bug check has a value of 0x00000113 that indicates that the Microsoft DirectX graphics kernel subsystem has detected a violation.
010
Peyman @peymanr34.bsky.social · 09/02/2026
I did a thing: github.com/cake-build/c...
github.com
GH4720: Use non-boolean self-contained arguments for dotnet publish. by peymanr34 · Pull Request #4722 · cake-build/cake
This PR replaces the boolean self-contained arguments with their non-boolean counterparts: Value Before After SelfContained = true --self-contained true --self-contained SelfContained = fa...
000
Peyman @peymanr34.bsky.social · 09/12/2025
WinUI 3 in Windows 10 is really broken... The placeholder text placement is wrong and there is something wrong with stack panel that causes the text to not lineup properly. #WinUI
000
Peyman @peymanr34.bsky.social · 30/11/2025
It took me a long time to figure out how to get the product info from a Windows Installer (.msi) file but I learnt a lot about native stuff which absolutely worth it. #dotnet #winui github.com/peymanr34/in...
github.com
Add support for msi product info. · peymanr34/installer-studio@3d48163
010
Peyman @peymanr34.bsky.social · 18/11/2025
Maybe I've stared at it too much but DataGridView (In .NET 7.0+) has extra contrast in the border lines which I find very distracting. I haven't found a easy workaround for this yet. Please upvote if you agree with me. #dotnet #winforms github.com/dotnet/winfo...
github.com
DataGridView column border differences between .NET Framework and .NET 10 · Issue #14052 · dotnet/winforms
.NET version .NET 10.0.100 Did it work in .NET Framework? Yes Did it work in any of the earlier releases of .NET Core or .NET 5+? Works as expected in .NET 6.0 Issue description There are some bord...
000
Peyman @peymanr34.bsky.social · 12/11/2025
This is a first... Maybe I should stop P/Invoking stuff since I really don't know what I'm doing.
010
Peyman @peymanr34.bsky.social · 06/11/2025
I really hate showing dialogs in #WinUI
100
Peyman @peymanr34.bsky.social · 23/10/2025
I was working on replacing FolderBrowserDialog with FolderPicker in my WinForms app (.NET Framework 4.8) but not having SelectedPath property was a deal breaker for me. I guess I have to wait until I migrate to .NET 10 or later which already has the *better* FolderBrowserDialog. #dotnet
000
Peyman @peymanr34.bsky.social · 18/10/2025
Thanks to @dotmorten.xaml.dev my app is now complete with a proper tray icon. #dotnet #winuiex
062
Reposted by Peyman
Morten Nielsen @dotmorten.xaml.dev · 11/10/2025
If you want your WinUI app to launch to the tray, and optionally add a context menu to the tray, it is now SUPER simple with WinUIEx!
2136
Peyman @peymanr34.bsky.social · 24/09/2025
9 years of not having ObservableCollection.AddRange() #dotnet github.com/dotnet/runti...
github.com
Collection<T> and ObservableCollection<T> do not support ranges · Issue #18087 · dotnet/runtime
Update 10/04/2018 @ianhays and I discussed this and we agree to add this 6 APIs for now: // Adds a range to the end of the collection. // Raises CollectionChanged (NotifyCollectionChangedAction.Add...
010
Reposted by Peyman
Alvin Ashcraft @alvinashcraft.com · 12/09/2025
Save a file with the new Windows App SDK picker in WinUI | Microsoft Learn buff.ly/PytenbY #windowsdev #windowsappsdk #wasdk #winui #dotnet #csharp #windev
buff.ly
Save a File with a Windows App SDK Picker - Windows apps
Learn how to use FileSavePicker in Windows App SDK to let users specify the name and location where they want your WinUI app to save a file. Implement file save functionality with code examples.
033
Reposted by Peyman
Barry Dorrans @blowdart.me · 10/09/2025
nuget trusted publishing from GitHub actions is rolling out. No more api keys needed to publish from your release process. learn.microsoft.com/en-us/nuget/...
learn.microsoft.com
Trusted Publishing
Trusted Publishing on nuget.org
65519
Peyman @peymanr34.bsky.social · 18/07/2025
I can't believe System[.]Text[.]Json can't deserialize these to DateTime on its own! #dotnet
010
Peyman @peymanr34.bsky.social · 30/06/2025
KB5001716 is basically a malware at this point, no matter how may times you uninstall it, it will come back.
010
Peyman @peymanr34.bsky.social · 01/06/2025
So... WinUI doesn't have SharedSizeGroup. <sigh>
100
Peyman @peymanr34.bsky.social · 30/05/2025
Having been frustrated with many blogging systems, I finally rolled out my own custom (markdown) blog. I'm slowly migrating the posts over.
010
Reposted by Peyman
Morten Nielsen @dotmorten.xaml.dev · 19/05/2025
Nice! If you make the following change to your WinUI app, replacing the meta pacakge with just the WinUI and Packages package, you'll significantly reduce the size of your WinUI app!
153
Peyman @peymanr34.bsky.social · 12/03/2025
What is this babble about the TypeScript compiler? Some people have a lot of free time... including some YouTubers.
010
Reposted by Peyman
Andrew Lock "Sock" @andrewlock.bsky.social · 25/02/2025
Blogged: Disabling localized satellite assemblies during dotnet publish andrewlock.net/disabling-lo... In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed #dotnet #aspnetcore #csharp
andrewlock.net
Disabling localized satellite assemblies during dotnet publish
In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed
2156
Peyman @peymanr34.bsky.social · 16/02/2025
It's incredible that you can integrate @avaloniaui.net into a WinForms app and slowly migrate everything over. You can even stay on .NET Framework if you want to! #dotnet
020
Peyman @peymanr34.bsky.social · 25/01/2025
No idea why, but the PlaceholderText for AutoSuggestBox in WinUI 3 is not centered anymore. Just updated the `Microsoft.WindowsAppSDK` package from v1.5.x to v1.6.x and nothing else.
200
Reposted by Peyman
Rick Strahl @rickstrahl.west-wind.com · 28/12/2024
Blogged: Back to Basics: Using the Parallel Library to Massively Boost Loop Performance Posting a follow up to recent tweet regarding converting a linear for loop to parallel and gaining huge performance improvements. weblog.west-wind.com/posts/2024/D...
weblog.west-wind.com
Back to Basics: Using the Parallel Library to Massively Boost Loop Performance
I recently had another occasion to add Parallel.ForEachAsync() into an application to improve performance of an Http look up operation drastically. When I tweeted a note on X there was quite a bit of ...
0114
Peyman @peymanr34.bsky.social · 22/12/2024
A friend of mine bought this Lumia 1520 today! It was running the original Windows Phone 8.0 and looks brand new!
120
Peyman @peymanr34.bsky.social · 12/12/2024
Wasn't there a new ColorDialog for WinForms? or maybe I'm completely wrong. #dotnet
120
Reposted by Peyman
Klaus @loeffelmann.bsky.social · 10/12/2024
Hey #winforms devs! In #dotnet 9, WinForms got some new cool features for consuming modern APIs with `Control.InvokeAsync` and other async APIs. Check out the blog post here and spread the word! devblogs.microsoft.com/dotnet/intro...
devblogs.microsoft.com
Invoking Async Power: What Awaits WinForms in .NET 9 - .NET Blog
With .NET 9, we’re bringing a suite of new async APIs to WinForms, aimed at making UI updates, dialog interactions, and control management more efficient.
0206
Reposted by Peyman
Kirill Osenkov @kirillosenkov.com · 25/11/2024
I'm playing with the new Ultra profiler by Alexandre Mutel and I'm blown away. It's incredible. It's so powerful and showing me managed, native, JIT, GC, allocations, everything. It feels like I have a new superpower. If you're a .NET developer, you have to check this out: github.com/xoofx/ultra
github.com
GitHub - xoofx/ultra: An advanced profiler for .NET Applications on Windows
An advanced profiler for .NET Applications on Windows - xoofx/ultra
610437
Peyman @peymanr34.bsky.social · 08/12/2024
I wrote this and somehow it makes sense! #dotnet stackoverflow.com/a/79263264/5...
030
Peyman @peymanr34.bsky.social · 07/12/2024
The `GeneratedRegex` and the explanation feature in dotnet is absolutely mind-blowing.
0113