Question - What are the reasons to avoid XAML?
Answer -
Even though XAML is a great technique, but still it has some disadvantages. The reason why it should be avoided is that it does not has any code. Moreover, you cannot define loops of conditional processing.