Those are the samples I've been trying to do together in the same project.
I don't understand what the VB code behind is doing for the Dynamic layer. When I run the project, only copying the XAML, the project runs fine. When I duplicate the VB I get the following error at InitializeComponent():
" 'InitializeComponent' is not declared. It may be inaccessible due to its protection level."
It looks like the problem is related to the Namespace, but I don't understand it.