I created a quick video to help you get started with using Jounce. The video starts with a blank slate, steps through installation of Jounce and the creation of a sample view model for a simple contact record that includes validation.
You can access the video directly at http://vimeo.com/jeremylikness/jounce-getting-started, or view it below:
Jounce: Getting Started from Jeremy Likness on Vimeo.


I tried to setup a blank project like you did and debug it, but the basic barebone setup throws an exception in browser:
ReplyDeleteUnhandled Error in Silverlight Application Code: 4004 Category: ManagedRuntimeError Message: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei System.Windows.Application.Application_Starting(Object sender, StartupEventArgs e) bei MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args) bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Maybe you could give me a hint what to do.
Did you delete the App.xaml and MainPage.xaml files?
ReplyDeleteYes, I did exactly step by step like you did in the video tutorial. (VS2010, SL5, SL5 Toolkit installed)
DeleteNot sure what the issue is then - I've done this several times without issue. Wonder if anyone else is experience similar problems? Strange.
DeleteGood video
ReplyDeleteHello,
ReplyDeleteI got the same error message (albeit all in English) as the writer on 23/1 when following the video.
rgds
Howard
Thanks for letting me know. I'll have to explore what is going on - maybe try it on a new system. Thanks.
ReplyDeleteSame issue here. Perhaps it's because I've never created a Silverlight project before? Security settings or something related?
ReplyDeleteSame Issue here....I have a screen capture video of it if anyone wants to see, but I just followed the instructions.
ReplyDeleteIt's a shame really as I was just about ready for a deep dive into Jounce.
I would love to see a screen capture - feel free to use the contact form on the Jounce CodePlex sign to reach my personal email and we can connect there. Everyone, I will definitely work to fix this shortly. In the meantime there may be a workaround - I'll see what I can find and update everything accordingly. Thanks for your patience. You should be able to add Jounce, export the main page as the shell, and set up the ApplicationService in the Application.LifetimeObjects for now as a workaround.
DeleteI had the same issue, but I solved it by adding a reference to System.Windows.Interactivity in c:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Silverlight\v5.0\Libraries\System.Windows.Interactivity.dll
ReplyDeleteI found it there after installing the Blend preview for Silverlight 5.
@Jeremy, also the jounceSln does not compile without 'refreshing' that same reference.
HTH
SiKo
Thanks! That is very helpful. I'm going to add that reference to the NuGet package and retest on a new machine and we'll see if that fixes it - I'll follow up with a new post when I do. Appreciate everyone's assistance and patience with this!
DeleteJounce 2 via NuGet seems to be fine now :)
DeleteOK I believe the latest version will work. There is a dependency on Expression SDK, so if you don't have Blend but install the SDK you should be fine, however I added the dependency into the package so again, should work fine for everyone. Thanks everyone for your patience and feedback to help me troubleshoot the issue.
ReplyDeleteLove Jounce so much ! You did such an amazin job ! Jounce desearve to be the #1 framework for Silverlight application :)
ReplyDelete