Silverlight Streaming Service
Posted on February 5, 2008
Filed Under: 1.0 Javascript, streaming, video |
Another post on some info that I thought was intially hard to find. Using the Silverlight Streaming service provided by Windows Live.
The Silverlight Streaming service is meant to be a convenient place where designers and developers can host Silverlight Applications they build for free.
To use the service to host your application you must sign-in to http://silverlight.live.com/ with a windows Live ID, hotmail, messenger or passport account.
After creating an account you will get an Account ID and an Account Key. The Silverlight Streaming Account ID is public and you will need to use it in your code of your Silverlight Applications. Your Account Key is private and should be treated like a password.
Once signed in, click on Manage Applications on the left. Here you can upload your Silverlight Application. Before jumping right in and selecting the files you want to upload you need to do a few things first. You need to create an xml file called ”manifest.xml” listing all the files your app will be using and the order of the JS files. Here is a sample manifest.xml file:
<SilverlightApp> <source>name of the initial XAML file</source> <version>[empty | 1.0 | 1.1]</version> <width>[value in browser units or percentage]</width> <height>[value in browser units or percentage]</height> <jsOrder> <js>[js file to load first]</js> <js>[js file to load second]</js> <js>...</js> </jsOrder> </SilverlightApp>
Check out this MSDN Article for more info on the manifest file.
Once you have created this file, name it “manifest.xml” and place it in the root folder of your application. Zip up the entire contents of your application (including the manifest file) and now you’re ready to upload to the Silverlight Streaming service site.
After you’ve successfully uploaded your zip file containing your application, you’ll be directed to a page where you can upload an updated version, launch a test page containing your app, or delete your app. You’ll also be given 3 steps necessary to embed your app on a web site. Embed the scripts given to you on your site and test it out. If all goes well you should see your Silverlight app on your page but hosted through the Streaming service.
In the next post I’ll show how you can host assets only (particularly video) using this service. One would think you could just upload your assets and be given a reference to them but this is not the case and there’s a little more to it…
Comments
Leave a Comment
If you would like to make a comment, please fill out the form below.
Recently
- New Vectorform Blog - Microsoft Surface
- Now Hiring Silverlight Developer
- Silverlight Streaming for video assets only
- Silverlight Streaming Service
- Compressing XAML to save on file size
- Controlling Silverlight outside of the plugin - the .Content property
- Accessing the canvas in a Silverlight 1.1 User Control
- Happy Silverlight Holidays from Vectorform
- Silverlight Shooter nears completion
- Microsoft Surface Animation - The making of “Infinite Possibilities”
Categories
- 1.0 Javascript
- 1.1 Alpha
- Animation
- Application
- Career Opportunities
- Components
- Design
- Games
- News
- streaming
- Team Members
- Uncategorized
- User Interface
- video
- Web Service
- XAML
Archives
- August 2008
- June 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
I’m anxious to see how you do this without all the assets- I just want a media element to reference a stream without having it all hosted on the streaming live bit.