Unleashing the Power of Cross-Platform Development with Avalonia UI | .NET Conf 2023

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • Join Mike as he delves into the exciting world of cross-platform .NET development powered by Avalonia UI! This session will demonstrate how Avalonia UI enables you to create sleek, modern applications running seamlessly across Windows, macOS, Linux, iOS, Android and WebAssembly.
    After discussing Avalonia UI, Mike will showcase how to revitalise legacy WPF applications and bring them to life on macOS and Linux using Avalonia XPF!
    Whether you're an experienced .NET developer or just starting your journey, this session is your ticket to embracing the future of cross-platform development.
    #dotnet #dotnetconf #avaloniaui

КОМЕНТАРІ • 45

  • @SajadJalilian
    @SajadJalilian 9 місяців тому +47

    Avalonia is my greatest source of hope about dotnet open source community.

  • @TheoWerewolf
    @TheoWerewolf 9 місяців тому +34

    I've built several AvaloniaUI projects and he's 100% right - your project will run on everything - with almost and often NO modifications (including WebASM on browsers).
    But the best part is that unlike the 'native control' approach where you have to work with the lowest common denominator for each control or completely rearchitect your project, Avalonia works just like WPF, so you can tailor each control exactly as you want, or have theme packs that make the controls look native. It means there's no limit to what you can do cross-platform and the code works almost exactly like standard WPF/MVVM, soif you have an existing WPF project, porting it to Avalonia is really easy.
    I needed to port several apps from Windows to to macOS as desktop apps and Xamarin.Forms/MAUI started down the road of supporting macOS, then abandoned it in favor of MacCatalyst, which is basically an iOS app running on macOS. Avalonia builds real macOS apps using WPF XAML and coding paradigms.

    • @AlexandreBrethel
      @AlexandreBrethel 9 місяців тому +8

      how about making some tutorials ? tutorials on avaloniaUI cross-platform development currently are shamelessly rare here in YT, focusing on mobile then, are inexistent... just a thougth.

    • @alexandersvenning
      @alexandersvenning Місяць тому

      But why choose it over MAUI Blazor?

    • @ZedDevStuff
      @ZedDevStuff 25 днів тому

      ​@@alexandersvenning iirc MAUI isn't as stable. Also everyone seems to hate it

  • @ODTMedia
    @ODTMedia 4 місяці тому +3

    Avalonia is fantastic, really simplifies cross platform development in dotnet.

  • @bill-henning
    @bill-henning 9 місяців тому +6

    Fantastic presentation Mike. You really do a nice job of summarizing how Avalonia is a wonderful UI framework for building cross-platform applications.

  • @juancarlosbaezpozos9353
    @juancarlosbaezpozos9353 9 місяців тому +10

    Esto me explotó la mente, conozco XPF y WPF desde sus inicios y es increíble Avalonia

  • @emmanueladebiyi2109
    @emmanueladebiyi2109 9 місяців тому +3

    The quality of Avalonia's output is simply amazing! Great presentation

  • @oddikaro8236
    @oddikaro8236 9 місяців тому +2

    Being able to use Third Party UI components is the KEY for Avalonia being the 1st class option for native UIs. This is a KEY step. Great to hear.

  • @jaygis5831
    @jaygis5831 9 місяців тому +5

    Great looking product. Open source and paid support services.

  • @rezakaaccount
    @rezakaaccount 9 місяців тому +5

    Great work. Kudos.

  • @acodersjourney
    @acodersjourney 9 місяців тому +2

    I appreciate your dedication to creating informative videos.

  • @user-vc2pi2dg7x
    @user-vc2pi2dg7x 9 місяців тому +6

    I am excitedly awaiting the unveiling of the Ambient Weather demo app's source code.

    • @exploproductions
      @exploproductions 9 місяців тому

      Is it possible to browse the source code or not yet?

    • @user-vc2pi2dg7x
      @user-vc2pi2dg7x 8 місяців тому

      @@exploproductions twitter.com/uxdivers/status/1733283898669285834

  • @MaximilienNoal
    @MaximilienNoal 9 місяців тому +3

    I love AvaloniaUI !!

  • @maxd5661
    @maxd5661 9 місяців тому +7

    Great presentation! Great product.

  • @bryanpaderes8963
    @bryanpaderes8963 9 місяців тому +2

    This is great❤ very powerful UI

  • @avaloniaui
    @avaloniaui 9 місяців тому +6

    ❤ Nice

  • @purplepixeleater
    @purplepixeleater 9 місяців тому +3

    This is what I was waiting to hear!

  •  9 місяців тому +8

    Avalonia sounds good.
    I was developing native iOS, then moved to Flutter.
    Avalonia sounds very similar to Flutter.
    Rendering to native views like RN or MAUI is not the way I prefer.

  • @joaolucasgtr
    @joaolucasgtr 9 місяців тому +1

    that's really amazing!

  • @Qrzychu92
    @Qrzychu92 9 місяців тому +2

    I will definetely use Avalonia for v2.0 of my app instead of WPF - not only it seems nicer to work with, but also multiplatform.
    BTW, with XPF, I am pissed that Microsoft didn't do it those years ago - it would be so nice! At least as a result we have Avalonia :)

  • @arif1984may
    @arif1984may 9 місяців тому +6

    there is very little knowledge base on Avalonia. Official documentation is not complete and in some parts obsolete. I really want to do a big project with Avalonia, but I lack the tutorials in any form!

  • @dongbinrabbit
    @dongbinrabbit 9 місяців тому +4

    Yeaaah

  • @RenatoFontes
    @RenatoFontes 21 день тому

    Are there any detailed comparisons with Flutter? I really want to know about performance and resource usage. Been trying to find a good multi platform framework I feel confident putting time into.
    Having said that I'm truly afraid that Google will kill Flutter on a whim at any given point. 😂 Especially now that they fired a lot of the team.

  • @shannonchow4033
    @shannonchow4033 7 місяців тому

    Is the "Ambient Weather" an open-source project or not? Where can I find the source code of this beautiful UI?

  • @diligencehumility6971
    @diligencehumility6971 8 місяців тому

    How about making your own controls, how to make Them cross platform? Is it viable to make a cross platform engine editor with avalonia?

  • @weslleyalcoba
    @weslleyalcoba 4 місяці тому

    Avalonia is great and all, but I'm disappointed there was no mention of hot reload for VS or VSC. The community project is too slow and hasn't been updated in months. That is one of the biggest advantages of Flutter, in my opinion.

  • @candinhosilveira2047
    @candinhosilveira2047 9 місяців тому +3

    if wasn't for the css like stuff. if i need to use css like stuff, i not just learn/use blazor? it make no sense to use web things on desktop app

    • @MaximilienNoal
      @MaximilienNoal 9 місяців тому +4

      CSS is a very fitting for styling an application. It doesn't matter that it's a desktop application or not, CSS is a perfect fit for styling it. The XAML approach to styling that WPF had was inefficient and horrible to write and maintain.

    • @jscomputadores1049
      @jscomputadores1049 9 місяців тому +1

      @@MaximilienNoalI prefer XAML due to its simplicity. In XAML, it's easier as I can directly specify attributes like color ('red' for a red button) or size ('x' for a specific size). This clear, direct approach enables me to define elements precisely as I want them. In contrast, CSS might be suitable for individuals who struggle with making specific design decisions, as it allows for more extensive and abstract styling.

  • @WorstDeveloper
    @WorstDeveloper 7 місяців тому

    I wish that Avalonia had C# markup like Uno. Are there any plans on creating this?

  • @Drew-Chase
    @Drew-Chase 9 місяців тому

    Next years video? 0:25

  • @purplepixeleater
    @purplepixeleater 9 місяців тому +1

    wait you're telling me Microsoft finally kinda followed SOLID? :P

    • @purplepixeleater
      @purplepixeleater 9 місяців тому

      @Microsoft see how if you leave out the dei and bullsh** we actually enjoy learning?

  • @TigW007
    @TigW007 7 місяців тому

    These demos could be easily done in Html using existing skills all UI developers already have. Why not just embed a web browser control and skip the Xaml tax?

    • @mihais13
      @mihais13 6 місяців тому +5

      HTML is not quite C#, is it ?

  • @obinnaokafor6252
    @obinnaokafor6252 9 місяців тому

    so, if one does not use rider, no need using avalonia? lol

    • @TheoWerewolf
      @TheoWerewolf 9 місяців тому +9

      It works just fine on Visual Studio.

    • @MaximilienNoal
      @MaximilienNoal 9 місяців тому +6

      It works just fine with VS or VSCode too.

    • @frazchaudhry
      @frazchaudhry 9 місяців тому +4

      tell me you're a complete noob, without telling me you're a complete noob!