Deploying Silverlight Alpha 1.1 /RC 1.0 Sample Applications --------------------------------------------------------------------- Alpha 1.1 Version -------------------- 1> Download the following: i> Visual Studio Code Name 'Orcas' Beta 1 http://www.microsoft.com/downloads/...2d-439c-4ec2-8e24-b7d9ff6a2ab2&DisplayLang=en ii> Microsoft Silverlight Tools Alpha for Visual Studio codename ?Orcas? Beta 1 http://www.microsoft.com/downloads/...9B-8F2D-44A5-B04F-836F0D4EC1C4&displaylang=en 2> Open the Sample Source files in the Visual Studio Code Name 'Orcas' Beta 1 downloaded in Step 1. 3> Build the solution. Make sure the dll's are copied into the ClientBin directory of your project (Set Project outpath to ClientBin\ in Orcas[Project > Properties > Build > Output > Output path). 4> Copy all the source files, including the ClientBin directory to DiscountASP.NET servers. 5> To view the sample web application, you need to have have Silverlight 1.1 Alpha installed on the client browser (Download: http://msdn.microsoft.com/vstudio/eula.aspx?id=e2c1a44f-0b5c-face-28c8-08a26f2e0b3c) Here are some live samples: daspstaff00.web120.discountasp.net/silver/video/default.html daspstaff00.web120.discountasp.net/silver/scrib/default.html daspstaff00.web120.discountasp.net/silver/Chess/default.html Release Candidate 1.0 Version ----------------------------------- 1>Modify and (See: http://community.discountasp.net/default.aspx?f=29&m=18888 ) and simply upload the application's provided at http://silverlight.net/themes/silverlight/community/gallerydetail.aspx?cat=3 Here is a live sample: daspstaff00.web120.discountasp.net/silver/tiletext/default.html Creating Sample Silverlight Application's ---------------------------------------------- Alpha 1.1 Version -------------------- 1> Download the Silverlight 1.1 Alpha SDK http://msdn.microsoft.com/vstudio/eula.aspx?id=c8bf88e7-841c-43fd-c63d-379943617f36 This provides Silverlight templates that plug into Visual Studio (orcas). 2> Open Visual Studio. On the File menu, click New, and then click Project. In the dialog box, click Visual C# and Silverlight on the left-hand pane and Silverlight Project under Templates 3> Now, graphics are created with simple elements arranged on a canvas. You can either use Expression Blend (Download :http://www.microsoft.com/Expression/products/download.aspx?key=bl_nd) for this purpose or you can create the graphics directly using XAML within the xml page in Visual Studio (Orcas) Sample Tutorial: http://msdn2.microsoft.com/en-us/library/bb404709.aspx#xaml 4) Build the solution. Make sure the dll's are copied into the ClientBin directory [As highlighed in (**) below] of your project (Set Project outpath to ClientBin\ in Orcas [Project > Properties > Build > Output > Output path). (**) <Canvas x:Name='parentCanvas' xmlns='http://schemas.microsoft.com/client/2007' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' x:Class='SilverlightProject1.Page;assembly=[ClientBin\SilverlightProject1.dll</font> .... 5> Copy all the project files to DiscountASP.NET server. Here is a live sample: daspstaff00.web120.discountasp.net/silver/Test/TestPage.html Release Candidate 1.0 Version ----------------------------------- 1> Download the Silverlight RC 1.0 SDK http://www.microsoft.com/downloads/...5F-A6F6-4F4E-A11D-6942C9BA1834&displaylang=en This provides Silverlight templates that plug into Visual Studio (2005 and later). 2> Open Visual Studio. On the File menu, click New, and then click Project. In the dialog box, click Visual C# and Silverlight javascript application under My Templates 3> Now, graphics are created with simple elements arranged on a canvas. You can either use Expression Blend (Download :http://www.microsoft.com/Expression/products/download.aspx?key=bl_nd) for this purpose or you can create the graphics directly using XAML within the xml page in Visual Studio.By default,the template will create Scene.xaml already containing the Canvas element . Sample Tutorial: http://msdn2.microsoft.com/en-us/library/bb404709.aspx#xaml 4> Copy all the project files to DiscountASP.NET server. Here is a live sample: daspstaff00.web120.discountasp.net/silver/demo/default.html Vikram DiscountASP.NET www.DiscountASP.NET Post Edited (vvsharma) : 8/8/2007 12:46:44 AM GMT
I have a Silverlight 1.1 application that leverages an ASMX web service. The web service is configured as scriptable. I have referenced System.Web.Extesions in order to use the Script Service attributes. I get the following error on when I attempt to run the appliation: Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Any pointers? -bob site with error: http://beta-248181.beta1.iis7betahosting.net/
Hmm.. never tried silverlight on iis7. Have you tested this on your regular account? Bruce DiscountASP.NET www.DiscountASP.NET
I've gotten a little further and have some more information. The problem is with the web service and not the Silverlight application (at least as far as thie above problem is concerned). What I have found is that since my web service was built with VS2008 (Orcas) and was configured for scripting (requirement for AJAX and Silverlight), both my default account and my IIS7 account won't run it references a .Net 3.5 library that isnot installed in either environment. I rebuilt the web service using VS2005 and hosted it in my default account and it works fine. Now into the current problem: The problem I have now is that the async call to the web service fails on the client side within Silverlight. My applicationworks locally on my machine. The failure only happens when I try to host it. I am going to try some more debugging techniques using Fiddler (http://www.fiddler2.com) to see what is coming back from the service that might upset Silverlight. So at this point I am going to assume the problem is either with my code or a bug in Silverlight 1.1. I don't believe at this time it is a hosting issue. I will post more info as I dig deeper into the web service response. Stay tuned... Thanks!
.NET 3.5 is not installed on either regular hosting / iis7 beta. MSFT has NOT release the go live license for .net 3.5 and we cannot make this available for customers. Bruce DiscountASP.NET www.DiscountASP.NET
So far I'm not impressed with Microsoft's Rip off of Adobe Flex. Between Adobe Flash and Flex, they annihilate Microsoft in the Rich Internet Application department. This seems to be a Microsoft trend. Know anyone that owns a Zune? haha.
Are you insinuating that Microsoft is not 100% original in everything they do? How dare you! mjp DiscountASP.NET - Microsoft Gold Certified Partner - asp.netPRO Magazine 2007 Readers' Choice Award for Best Hosting Service - Visual Studio Magazine 2007 Readers' Choice Award for Best Hosting Service
when running the project on my local IIS I have no problem but when uploading to the webserver i get this Javascript erro: Line : 57 Char : 1 Error: 'Sys' is undefined Code : 0
problem was fixed after adding this line to the web.config: <add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/>