Replies: 7 comments
-
Hello, 'h82258652! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future! |
Beta Was this translation helpful? Give feedback.
-
@h82258652 Thanks for highlighting the issue. Opening the discussion with the team to investigate further and provide any possible resolution. |
Beta Was this translation helpful? Give feedback.
-
@h82258652 what's your specific suggestion/ask for the toolkit? It seems like there's already discussion going on in the WinUI/Reunion threads about this? |
Beta Was this translation helpful? Give feedback.
-
@michael-hawker Oh sorry, I don't describe this clearly. I hope the toolkit can add some IO classes like this:
Same usage as The discussion in the WinUI/Reunion I don't found before, I will have a look. I found the discussion in the dotnet runtime repo, but it is closed. |
Beta Was this translation helpful? Give feedback.
-
Thanks @h82258652 that's much clearer. I thought that might be where you were going with the suggestion, but I wasn't sure. So, basically the idea would be to replicate the existing UWP API surface, but with the differing implementation underneath to allow for swapping it out with a namespace change and improving performance. This seems like a bigger undertaking, the first step would be mapping out each API and which equivalent functions we could use, eh? Is this something you're thinking of helping build or just filing here as a suggestion? @azchohfi thoughts on this type of API surface? We've shied away from trying to ship 'fixes' for issues in the platform. I'm not sure if we want to invest in this area as a stop-gap? It almost seems like something that should just ship as part of Reunion itself, I'm not sure on their current plans and timelines though. Maybe @jonwis can help us understand that and advise us in this space? |
Beta Was this translation helpful? Give feedback.
-
@h82258652 what do you think of contributing in this space? ⬆️ |
Beta Was this translation helpful? Give feedback.
-
@Kyaa-dost I don't know if it is worth, there are lots of File and Directory APIs which means very much works to do, and seems Microsoft giving up the WinRT.:disappointed_relieved: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem this feature would solve
The storage API is very slow. Take an example, when you call
StorageFolder.GetItemsAsync
on a folder which contains lots of files, it will takes very long.Describe the solution
Use
FromApp
series API in api-ms-win-core-file-fromapp-l1-1-0.dll can improve the performance. But these API are both Win32 API, which means we need to use PInvoke and face the handle (that's terrible).Describe alternatives you've considered
I hope there are some file and directory API like
System.IO
, but base on api-ms-win-core-file-fromapp-l1-1-0.dll.Additional context & Screenshots
https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-file-fromapp-l1-1-0dll
microsoft/microsoft-ui-xaml#1465 (comment)
Beta Was this translation helpful? Give feedback.
All reactions