Feb 17, 2012 at 1:57 AM
Edited Feb 17, 2012 at 2:00 AM
I request a xap using this command:
public void LoadCatalogs()
public void AfterDefaultXapLoaded(Exception ex)
in that xap is a view that I've defined like this:
public partial class EnterpriseView : UserControl
If I put breakpoints in the 'AfterDefaultXapLoaded' method and in the constructor for the Enterprise
view, the breakpoint for the Enterprise view will hit first. So, the Enterprise view is being instantiated when the xap is downloaded.
This contradicts my understanding. I thought that, since Jounce imports views using the Lazy<> technique, the view would not be instantiated until it was actually published.
Can anyone explain why the view is being instantiated at download?