Daltz333
Daltz333
CC#
Created by ashycre on 11/15/2023 in #help
Creating Installer for WinUI3 project
Break this down into problems. 1. How do I get an exe from a MAUI project (.NET 8 unpackaged, google that) 2. How do I make an installer for a folder with a bunch of .dll and the .exe and everything we need to run.
6 replies
CC#
Created by iskander on 11/16/2023 in #help
adding an element to a VerticalStackLayout in c# doesnt work as expected
You'd probably need to share the entire XAML. And maybe a reproducible source code. I suspect the height of the parent of your stacklayout is 0. Also, .NET 7 or .NET 8. .NET 8 fixed lots of MAUI issues.
2 replies
CC#
Created by Daltz333 on 5/17/2023 in #help
❔ Unable to profile WinUI3 application
Not stale. Seems to occur with the preview as well. Specific to my machine, so not sure the best way to debug.
4 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
Yep yep. It's satisfactory now. Now if only Livecharts2 didn't perform 6 allocations for every plot point ha but that's a separate problem lol.
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
Already doing that 👍 for this specific case
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
Instead of spam GCs, it's one GC every ~3 seconds, totally within expectations
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
Okay, switching to STJ yielded dramatic performance improvements
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
I can't deserialize directly into structs, I have to at the very least manually parse the string due to the bad formatting on the API (dynamically change key names:()
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
I think I can incrementally switch to STJ in this specific case, but why does STJ decrease allocations that much?
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
Nope. Would take large amounts of investment effort.
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
So I'd rather focus on solving that for now, I acknowledge that as a problem however.
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
But dynamic vs jobject does not address the root problem, which is GC pressure.
72 replies
CC#
Created by Daltz333 on 6/23/2023 in #help
✅ Optimizing `HTTPClient.GetAsync()` and large strings
No, this is a real time application.
72 replies
CC#
Created by Daltz333 on 5/5/2023 in #help
❔ Do static two way bindings leak XAML?
Yep!
20 replies
CC#
Created by Daltz333 on 5/5/2023 in #help
❔ Do static two way bindings leak XAML?
Not stale
20 replies
CC#
Created by Daltz333 on 5/5/2023 in #help
❔ Do static two way bindings leak XAML?
Basically if you have a singleton with an init function, that spawns a thread and updates information contained in itself. The singleton is accessed statically throughout the application. Does this leak pages if the binding is two way?
20 replies
CC#
Created by Daltz333 on 5/5/2023 in #help
❔ Do static two way bindings leak XAML?
Not stale, totally forgot to update this.
20 replies
CC#
Created by Daltz333 on 5/8/2023 in #help
✅ MVVM Source Generator not copying attributes
Yep, I just saw that after scouring the GitHub issues lol
3 replies
CC#
Created by Daltz333 on 5/5/2023 in #help
❔ Do static two way bindings leak XAML?
For example, something like a background thread that polls an API for information, and wanting to continuously consume this API from various parts of the application.
20 replies