Is WindowsAppSDK ready/suitable for desktop apps that need some form of background tasks #4014
-
I am slowly starting to wonder whether this WindowsAppSDK is ever getting to the point where it is THE framework to use when you want to do something that is more complex than simply showing a UI and then execute some code from within the app/package.
Is someone using this framework? Is Microsoft using it? Are desktop apps dead (see the new Outlook for Windows)? Any feedback to make me feel more assure of what I am doing? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The answer to that is that the Windows App SDK will probably never be a "framework". In general, this issue is completely independent of the Windows App SDK. If you completely remove WinUI 3 from the equation, you can do exactly what you stated in your post using a Windows API application or a Windows Forms application or even a WPF application. |
Beta Was this translation helpful? Give feedback.
-
@DarranRowe As is mentioned in What's supported when migrating from UWP to WinUI3 background tasks are supported in C# but only OOP (and only when not using a shared library as is stated here. Both Inproc and OOP is possible with C++. What could one then conclude?
If it wasn't for the much better UI one should wonder why people, developing in C#, would want to use this. |
Beta Was this translation helpful? Give feedback.
-
@JosHuybrighs |
Beta Was this translation helpful? Give feedback.
@JosHuybrighs
The only comment that I have then is, have you really looked at the Windows App SDK App Lifecycle classes? If so, all I can ask is, how does an app instancing API or the extended activation classes, which pass through to the internal Windows activation functionality when an app is packaged, mean that the background tasks have to be part of the Windows App SDK?