Binary Application Markup Language

From HandWiki
Binary Application Markup Language (BAML)
Filename extension.baml
Developed byMicrosoft
Type of formatUser interface markup language
Extended fromXAML

The Binary Application Markup Language is a file format developed by Microsoft that is generated by compiling XAML files.[1]

Generation

An XAML file can be compiled into a Binary Application Markup Language file with the .BAML extension,[2] which may be inserted as a resource into a .NET Framework assembly. At run-time, the framework engine extracts the .BAML file from assembly resources, parses it, and creates a corresponding WPF visual tree or workflow. Having this format, the content is loadable faster during runtime, because the XAML is enriched by tokens, and lexical analysis is completed.

References

  1. "WPF Globalization and Localization Overview: Localize a WPF Application". https://msdn.microsoft.com/en-us/library/ms788718.aspx#Localize_a_WPF_Application. "The BAML form of XAML so that you can localize at the same time that you develop." 
  2. unknown (2009-07-30). "What is BAML?". DOTNET Spider. http://www.dotnetspider.com/forum/216053-What-BAML.aspx. "BAML means Binary Application Markup Language, which is a compiled version of the XAML. When you compile your XAML, it creates the BAML file."