Clarifying the subset strategy #1122
-
A subset strategy limiting existing APIs to subsets supported across versions is detailed in https://github.com/microsoft/WindowsAppSDK/blob/main/docs/README.md#subset-api-family. There is also a suggestion to ask for additional subsets by reporting an issue with the tag subset, but this label doesn't exist in the tracker and I'm unable to find any issue that's a clear example of the subset strategy. Now, is this intended to cover most of Windows APIs in advance or just very specific selected portions, incrementally and on demand? What has been done in this regard? For example, the reference for Win32 in the Windows App SDK documentation shows very little, nothing like extensive coverage of parts supported across Windows versions. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@andrewleader can you please forward the question to someone who can clarify the very readme section ? reading through the readme again and again didn't help. things like, which subset apis will be supported and which won't be ? |
Beta Was this translation helpful? Give feedback.
-
Hi @memeplex, thanks for asking this! The "subset" section of our README is a bit outdated. It's still a "proposal". However, there are some examples of "subsets" of APIs that were brought to Windows App SDK though. The best example is WinUI 3. WinUI 3 is essentially exactly the same API surface as inbox UWP WinUI. Switching to WinUI 3 mostly just involves switching using statements from We could consider doing the same with other sets of APIs. For example, we could do the same with the StorageFile/StorageFolder family of APIs, bring those over to the Windows App SDK as-is, and then "switching" to them is just a simple namespace update. If you have any suggestions of APIs you'd like to see brought over as-is, or want to share any feedback on whether you think this is or is not a good idea, please let us know! Thanks! And we'll work on updating that docs README sometime, it hasn't been touched in a while. |
Beta Was this translation helpful? Give feedback.
-
@memeplex representation of what is logically implied there. |
Beta Was this translation helpful? Give feedback.
Hi @memeplex, thanks for asking this! The "subset" section of our README is a bit outdated. It's still a "proposal".
However, there are some examples of "subsets" of APIs that were brought to Windows App SDK though. The best example is WinUI 3. WinUI 3 is essentially exactly the same API surface as inbox UWP WinUI. Switching to WinUI 3 mostly just involves switching using statements from
Windows.UI.*
toMicrosoft.UI.*
. Thus, the entire subset of WinUI APIs from the Windows SDK were brought to the Windows App SDK.We could consider doing the same with other sets of APIs. For example, we could do the same with the StorageFile/StorageFolder family of APIs, bring those over to the Windows App…