×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

One of the things that makes Silverlight 2 great is the ability to create a very flexible framework application that others can use and can be embeddable with some dynamic properties.  This is the method used in the SL2 Video Player to provide a completely dynamic player that is portable.

How?  Using the initParams property of the plugin.  There are a few ways you can do this.  I’ve just uploaded a video demonstrating three of them:

    • Creating App Resources
    • Passing into the root visual constructor
    • Using URI query string parameters

What?  Query string params?  Yep, the HTML bridge gives us a nice object model actually to inspect those parameters too.  Take a look at the latest video on the Silverlight community site!


This work is licensed under a Creative Commons Attribution By license.


7/18/2008 11:12 AM | # re: Providing startup parameters for Silverlight

I was just think about this yesterday, look like you did the thinking for me, think you
7/18/2008 3:28 PM | # re: Providing startup parameters for Silverlight
Tim;

I have been thinking about one issue and I hope you find the time to write or video on this subject. The subject is Deep Linking where a SL application out of the box does not offer such a functionality. For example if I write an app that has many User controls that one call another and another and so on. But suppose a user wants to bookmark a particular location or send a link to someone about a specific section of the app, they have no way of doing that.

Recently, I saw a great sample app from telerik where they perform Deep Linking in there where as you go from one section to another, you can see the URL changes and shows how deep you have gone, just like a web site. The nicer thing is that, you can save any of those URL, and then be be able to jump right into it. This is very, very important to convince companies to walk away from the traditional web site without loosing too much control. I hope, at some point MSFT will build this right into the system or at least give a framework to use, but meanwhile, I was wondering if you can a head start how to do this properly.

Thank you for your help.
7/18/2008 4:42 PM | # re: Providing startup parameters for Silverlight
Nice video, Tim. I hadn't thought of using the HTML bridge to get QueryString. I like that.

Your audio in these screencasts is so clear. Are you using a headset? If so, which one? I've done a couple of screencasts now and I am not happy with the audio at all. I'm on twitter as KevinHazzard if you want to reply that way.

Thanks,

Kevin
10/7/2011 7:12 PM | # re: Providing startup parameters for Silverlight
The video was very informative, thanks. The updates of Silverlight in the video is also illuminating because it highlights what has happened in Silverlight. - Unilife Alan Shortall

 
Please add 5 and 5 and type the answer here:

All postings/content on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors. The content on this site is licensed under a Creative Commons Attribution By license.