Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Prepare for WinUI desktop #1365

Closed
harvinders opened this issue Sep 20, 2019 · 1 comment
Closed

Question: Prepare for WinUI desktop #1365

harvinders opened this issue Sep 20, 2019 · 1 comment
Assignees
Labels

Comments

@harvinders
Copy link

I understand that following three use cases would be supported by WinUI 3

  1. WinUI for UWP
  2. WinUI for Win 32 (WinUI desktop)
  3. WinUI for WPF using XAML Island

@marb2000 I would like to understand if WinUI desktop would be available when the WinUI 3 preview is made available later this year.

Also what would be the best approach to take when we are just starting developing a new LOB app, which is to be released, say 1 year from now? Should be start with a WinUI for WPF with XAML Island? or Plain WPF? UWP is not an option for us, as we need to have plugins which are implemented through AssemblyLoadContext in .Net Core 3.0 (+ many other reasons).

@marb2000
Copy link
Contributor

Q: Would WinUI desktop be available when the WinUI 3 preview is made available later this year?

A: As of today's plan, it won't be available for the first WinUI preview. It takes more of time to get WinUI 3 working on Desktop app model than UWP app model.

Q: What would be the best approach to take when we are just starting developing a new LOB app, which is to be released, say one year from now?

A: I'm assuming that you want to use .NET, XAML language, and targeting Windows 10, right? In this case, our recommendation is always to go with .NET Core 3. Then you should choose between WPF and WinUI Desktop (given you discarded UWP per limitations)
WPF is a robust and mature framework with well-known advantages and limitations. If you are OK with the limitations and you and your team know how to create WPF apps, it is reasonable to use WPF. If you require some specific and not too much WinUI 3 features, WinUI XAML Islands will help you.

However, if your UI is going to be majority WinUI (and you want to take advantage of all the good things of WinUI framework), then you should think about using just WinUI in Desktop for .NET Core 3. It will be a .NET Core 3 app so what AssemblyLoadContext API and other .NET Core 3 API ones should be available too.

Additionally, you have a one-year constraint. We are saying that WinUI 3 will happen next year, but, unfortunately, we can't commit a release date yet because the complexity of all the engineering work that making WinUI 3 (UWP and Desktop) requires. In the following weeks, we will get more clarity on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants