![]() You can find out your accountId by clicking the Manage Account link. Where accountId is your Silverlight Streaming numeric account identifier and appName is the name of your application (in this case Hello). You can also provide a link for others to run your application using an IFRAME. You will also be given sample HTML and JavaScript that you can cut and paste into your own Web site to run the application ( Figure 3).įigure 3: Having uploaded your application, test links and sample code are automatically created.Ĭlick Launch Application Test Page ( Figure 4).įigure 4: Click Launch Application Test Page to run your application. If all goes well, you will be presented with a page that allows you to test your application. Click Upload ( Figure 2).įigure 2: Uploading the application to Silverlight Streaming.Äepending on your connection speed, this may take a while. ![]() Select Upload a Silverlight Application, specify a name (Hello) and browse for your Hello.zip file. Log in to Silverlight Streaming at using your Windows Live ID and click Manage Applications. ![]() On Windows, multiple select the files, right-click and select Send To Compressed (zipped) folder-you can use any of the popular ZIP compression programs, but you need to make sure that the manifest file appears in the top-level root of the zip file-zipping the parent directory is a common error and will not work! You just need to create a Hello.zip file that contains manifest.xml and Hello.xaml. Now move your Hello World sample to the Silverlight Streaming Service.įirst create a manifest.xml file, which describes the constituent parts of your Silverlight Streaming application: įor this simple example, you no longer need the default.html or JavaScript files.You need a Windows Live ID to get started or you can create a new Windows Live ID for free. ![]() You can sign up for a free Silverlight streaming account at. Unlimited streaming will be available for free with advertising or, for a nominal fee, without advertising. After release, developers will have continued use of the service with up to 1 million minutes of free video streaming at 700 Kpbs per site per month. While the product is in pre-release, storage and delivery is free up to 4 GB, with outbound streaming up to 700 Kbps. Microsoft has a software and service strategy and this is where the Silverlight Streaming by Windows Live service comes in-developers can deploy their Silverlight applications and rich media âin the cloud,â leveraging Microsoftâs high performance, high availability content distribution network. Launching default.htm in a browser runs the application ( Figure 1).įigure 1: Running the Silverlight Hello World application. You should now have four files: default.htm, Hello.xaml, CreateSilverlight.js, and Silverlight.js. CreateSilverlight is the code responsible for instantiating the Silverlight control with your XAML. Silverlight.js is part of the Silverlight SDK and CreateSilverlight.js is shown in Listing 3. You must also provide two JavaScript files. Using XAML, define a Canvas that includes a TextBlock with the âHello Worldâ text and save this file as Hello.xaml ( Listing 1).Ĭreate an HTML page to host the Silverlight control call it Default.html ( Listing 2). Iâll start with a simple Silverlight âHello Worldâ demonstration. The runtime is surprisingly small (less than 2 MB) and is quick and painless to install. The first time you visit a Silverlight enabled site like, you'll be directed to an installation process. You need to install the Silverlight 1.0 runtime for your browser. In fact, youâre not locked into the Microsoft platform at all-itâs just as easy to deliver Silverlight experiences from PHP sites on Apache/Linux as it is from ASP.NET sites on a Windows Server. Even Linux users can run Silverlight using Novelâs open-source Moonlight code. Silverlight provides a consistent user experience with Firefox and Safari on the Mac and Firefox and Internet Explorer on Windows. Itâs just as easy to deliver Silverlight experiences from PHP sites on Apache/Linux as it is from ASP.NET sites on a Windows Server. Based on XML Application Mark-up Language (XAML), the same technique used in the Windows Presentation Foundation (WPF), Silverlight can be scripted with JavaScript and can work within AJAX-enabled Web pages. Silverlight is a cross-platform, cross-browser plug-in that extends the browserâs Document Object Model (DOM) with vector graphics and multimedia features. In summer 2007, Microsoft released version 1.0 of Silverlight, a revolutionary way to build rich interactive experiences on the Web. In this article Iâll show you how to get started with Silverlight and how to upload your applications and rich media to the Silverlight Streaming Service. Microsoft® Silverlight⢠Streaming by Windows Live⢠is a free streaming and application hosting service for delivering rich interactive applications (RIAs) over the Web.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |