Peyman
@peymanr34.bsky.social
馃摛 24
馃摜 80
馃摑 42
Friendly neighborhood software developer.
https://github.com/peymanr34
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...
loading . . .
Add support for msi product info. 路 peymanr34/installer-studio@3d48163
https://github.com/peymanr34/installer-studio/commit/3d481634c016bb7ed5ed0230690d7c80f5cafe39
about 9 hours ago
0
1
0
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...
loading . . .
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...
https://github.com/dotnet/winforms/issues/14052
12 days ago
0
0
0
This is a first... Maybe I should stop P/Invoking stuff since I really don't know what I'm doing.
18 days ago
0
1
0
I really hate showing dialogs in
#WinUI
24 days ago
1
0
0
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
about 1 month ago
0
0
0
Thanks to
@dotmorten.xaml.dev
my app is now complete with a proper tray icon.
#dotnet
#winuiex
about 1 month ago
0
7
2
reposted by
Peyman
Morten Nielsen
about 2 months ago
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!
2
13
6
9 years of not having ObservableCollection.AddRange()
#dotnet
github.com/dotnet/runti...
loading . . .
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...
https://github.com/dotnet/runtime/issues/18087
2 months ago
0
1
0
reposted by
Peyman
Alvin Ashcraft
3 months ago
Save a file with the new Windows App SDK picker in WinUI | Microsoft Learn
buff.ly/PytenbY
#windowsdev
#windowsappsdk
#wasdk
#winui
#dotnet
#csharp
#windev
loading . . .
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.
https://buff.ly/PytenbY
0
3
3
reposted by
Peyman
Barry Dorrans
3 months ago
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/...
loading . . .
Trusted Publishing
Trusted Publishing on nuget.org
https://learn.microsoft.com/en-us/nuget/nuget-org/trusted-publishing
6
56
20
I can't believe System[.]Text[.]Json can't deserialize these to DateTime on its own!
#dotnet
5 months ago
0
1
0
KB5001716 is basically a malware at this point, no matter how may times you uninstall it, it will come back.
5 months ago
0
1
0
So... WinUI doesn't have SharedSizeGroup. <sigh>
6 months ago
1
0
0
Having been frustrated with many blogging systems, I finally rolled out my own custom (markdown) blog. I'm slowly migrating the posts over.
6 months ago
0
1
0
reposted by
Peyman
Morten Nielsen
7 months ago
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!
1
5
3
What is this babble about the TypeScript compiler? Some people have a lot of free time... including some YouTubers.
9 months ago
0
1
0
reposted by
Peyman
Andrew Lock "Sock"
9 months ago
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
loading . . .
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
https://andrewlock.net/disabling-localized-satellite-assemblies-during-dotnet-publish/
2
15
6
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
10 months ago
0
2
0
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.
10 months ago
2
0
0
reposted by
Peyman
Rick Strahl
11 months ago
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...
loading . . .
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 ...
https://weblog.west-wind.com/posts/2024/Dec/27/Back-to-Basics-Using-the-Parallel-Library-to-Massively-Boost-Loop-Performance
0
11
4
A friend of mine bought this Lumia 1520 today! It was running the original Windows Phone 8.0 and looks brand new!
11 months ago
1
2
0
Wasn't there a new ColorDialog for WinForms? or maybe I'm completely wrong.
#dotnet
12 months ago
1
2
0
reposted by
Peyman
Klaus
12 months ago
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...
loading . . .
Invoking Async Power: What Awaits WinForms in .NET 9 - .NET Blog
With .NET 9, we鈥檙e bringing a suite of new async APIs to WinForms, aimed at making UI updates, dialog interactions, and control management more efficient.
https://devblogs.microsoft.com/dotnet/introducing-winforms-async-apis/
0
20
6
reposted by
Peyman
Kirill Osenkov
about 1 year ago
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
loading . . .
GitHub - xoofx/ultra: An advanced profiler for .NET Applications on Windows
An advanced profiler for .NET Applications on Windows - xoofx/ultra
https://github.com/xoofx/ultra
6
104
40
I wrote this and somehow it makes sense!
#dotnet
stackoverflow.com/a/79263264/5...
12 months ago
0
3
0
The `GeneratedRegex` and the explanation feature in dotnet is absolutely mind-blowing.
12 months ago
0
11
3
you reached the end!!
feeds!
log in