Are XAML file compiled or built on runtime?

 Posted by ArticlesMaint on 9/19/2009 | Category: Silverlight Interview questions | Views: 4769

XAML files are usually compiled rather than parsing on runtime. But it also supports parsing during runtime. When we build a XAML based project, you will see it creates g.cs extension in obi\Debug folder. Therefore, for every XAMl file you will find a g.cs file. For instance, a Shiv.XAML will have Shiv.g.cs file in obi\Debug folder. In short, in runtime you actually do not see the XAML file. But if you want to do runtime, parsing of XAML file it also allows that to be done.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response