Google News
logo
WPF - Interview Questions
What is BAML in WPF?
XAML (Extensible Application Markup Language) is used by WPF to build user interfaces for Windows applications. XAML files are very powerful, but parsing them at runtime is rather expensive. Therefore, the MarkupCompiler converts XAML into BAML (Binary Application Markup File), which is a more compact binary version.

BAML files can be generated from XAML files with the '.BAML’ extension and embedded into .NET Framework assemblies as resources. BAML is a compressed declarative language that loads and parses faster than XAML.
Advertisement