남 진우 21 Reputation points

I heard from someone the reason why Xamarin.Forms does not use BAML since it has no such scenario.
He said in Xamarin.Forms, the binary format is mostly loaded in platform side, not in client side

I cannot understand the point. in my opinion, if the some app developer wanna to define same app ui-layout in both WPF and Xamarin.Forms, respectively.
they will use same scenario, but the resulted complied xaml's format will be different.

does anybody know why xamarin.forms does not use baml as a separated resource file format?
is there any historical reason?

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,966 Reputation points Microsoft Vendor


    Welcome to our Microsoft Q&A platform!

    XAML the content is loadable faster during runtime, because the XAML is enriched by tokens, and lexical analysis is completed.

    An XAML file can be compiled into a Binary Application Markup Language file with the .BAML extension as well, you can see the wikipedia's desccription.

    Best Regards,

    Leon Lu

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.