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

Usablilty of this project and .NET 6? #5

Open
shanoaice opened this issue Oct 3, 2021 · 9 comments
Open

Usablilty of this project and .NET 6? #5

shanoaice opened this issue Oct 3, 2021 · 9 comments

Comments

@shanoaice
Copy link

I really want to use Uno to create a graphical frontend of one of my cross-platform application, but it seemed like that there is no official support of F# in Uno platform. Is this project usable for now?

@xperiandri
Copy link
Owner

xperiandri commented Nov 19, 2021

@shanoaice, yesterday I was managed to run WinUI 3 app (Windows App SDK 1.0) on .NET 6 having Elmish.Uno library implemented completely in F#.
So that you can call WinRT API from F#

@xperiandri
Copy link
Owner

@xperiandri
Copy link
Owner

I'm going to issue a NuGet package and the solution template sometime later. On MyGet first

@xperiandri
Copy link
Owner

@TysonMN some samples do not work or do not work as expected:

  1. Windows in UWP were created in a separate UI thread. Looks like in WinUI even though they are created using just new Window they still launch in a separate UI thread. So that double binding like in WPF will not be possible.
  2. Dialogs crash on customization. Probably some WinUI bug on .NET 6. I have not tried .NET 5
  3. EventBindingsAndBehaviors I have not tried to fix

Having that it looks much more close to what can be achieved in Elmish.WPF

@xperiandri
Copy link
Owner

@TysonMN there are 3 new samples in Elmish.WPF: Sticky, Multiselect, Capabilities. Are any of them require v4? Or they can run on v3 too?

@shanoaice
Copy link
Author

Thanks! So, this means that after the WinUI branch gets released to the NuGet, I can start using it?

@TysonMN
Copy link

TysonMN commented Nov 22, 2021

The Capabilities same is the start of combining (almost) all samples into a single project as you previously suggested.

Sticky uses some new v4 API, but I think it can be simulated in user code on v3.

I don't remember what is in multiselect right now.

@xperiandri
Copy link
Owner

@shanoaice, yes, I will give instructions

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

No branches or pull requests

3 participants