Binary Application Markup Language

From Wikipedia, the free encyclopedia
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[edit]

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[edit]

  1. ^ "WPF Globalization and Localization Overview: Localize a WPF Application". Microsoft MSDN. Retrieved 2011-08-24. 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. Retrieved 2011-08-18. BAML means Binary Application Markup Language, which is a compiled version of the XAML. When you compile your XAML, it creates the BAML file.