Silverlight - Optimize Loading An XAP File With A Website?

Jun 10, 2010

I've been developing a game using Silverlight 4 and silversprite (

This game is HEAVILY content dependent, using a lot of audio and images. My content folder is around 90 mbs worth of stuff. And because of that, my XAP file is around 60 MB, and takes 5 minutes to download from the website before any user can start playing.

I am using Visual Web Developer 2010 to create my site and load the XAP. Is there a way where I can take content out of my XAP and put it in my site project? Or perhaps upload my content files to the site's storage?

This would make my XAP file much quicker to download.

View 2 Replies

Similar Messages:

How To Optimize The Tab Loading In JavaScript

Sep 8, 2010

My colleagues have create a website and there is a webpage which contains a Tab.

He Implement the tab with the following method:

1.Load all content of the page
2.Use javascript to display those group content as block and organize them into tabs.
3.when user click one tab, then acitve it, and hide all other tabs.

And these functions works very well, but the performance is bad:

1.Load all contents cost lots of time
2.It will show all content at first, and then shrink to a tab control. When the user see this, it might think this is a bug of our system.

View 1 Replies

AJAX :: Loading AutoCompleteExtender Is Too Late / How To Optimize

Oct 21, 2010

I posted a question about using AutoCompleteExtender. It simply shows users all available email addresses when they type in a letter(prefix).

It works, but the problem is it loads to late :( takes around 5 seconds to pull out the list.

So I would like to optimize this

The part I would like to optimize speed is:


View 11 Replies

Log Slow Loading Pages / How To Optimize Speed

Jan 11, 2011

Do you know of a library/httpmodule for logging slow loading pages (perhaps for a specific treshold) in an ASP.NET environment?

Google did not yield any results.

It would not be too hard to implement on my own, but why re-invent the weel.

View 4 Replies

Web Forms :: Silverlight Application Not Loading On FireFox & Chrome But Loads On IE?

Jul 6, 2010

We have an application designed on Silverlight 2.0 connected with OLAP data cubes

Onn IE it works fine but on FireFox or Chrome it doesnot load giving following error

This is the error Message Given by Firefox whwn it tries to call a WCF Webservice.

"Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at OlapSilverlightCharts.ServiceReference2.GetChartDataCompletedEventArgs.get_Result()
at OlapSilverlightCharts.MainPage1.webService_GetChartDataCompleted(Object sender, GetChartDataCompletedEventArgs e) at OlapSilverlightCharts.ServiceReference2.Service1Client.OnGetChartDataCompleted(Object state)"

We have ClienAccesspolicy and crossdomain policy in place.

View 1 Replies

Visual Studio :: Running Website Windows 7 Professional 64 Bit / On Loading Up A Website Project Getting Error?

Mar 6, 2010

I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error

'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibilty

Windows Authentication

In addition you must run Visual Studio in the context of an administrator account

As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.

View 4 Replies

Display Last 100 Visitors To Website In Silverlight?

May 13, 2010

I am interesting on log down the recent 100 visitors around the world whom have visited to my website and display their country information and IP address on the website developed by Silverlight platform.

Where can I get accurate data for detecting the visitors' IP address and geo-location information?

View 2 Replies

Put Silverlight User Control Into A Website?

Apr 14, 2010

If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my website and insert in each page an *.xap content..?

View 1 Replies

Updating Silverlight Application @ Website?

Mar 3, 2011

I have the following scenario: a Silverlight application (constructed to be OOB) embedded at an ASP.NET website where, if the user already installed it, a label saying that is displayed; otherwise, an install button appears. Eventually I can update the .xap file available in the website.Now the problem: if the user executes the application through his Desktop/Start Menu, i'm able to update the application and suggest the user to restart it. But, if I update the .xap file and upload it again to the website, apparently no "Silverlight update" occurs, it is displayed as a new application (if the user install it again, an application icon is displayed at his desktop).

View 2 Replies

Silverlight User Controls On A Projectless Website?

Oct 28, 2010

I'd like to know how (and if) I can integrate silverlight generated user controls in a non-silverlight projectless website (built in ASP.NET 4.0) also, How can I access a dataset that is edited on a silverlight gridview control?

View 2 Replies

How To Build Silverlight Website & Create XAP's Using Script

Feb 19, 2010

I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site which Visual Studio kindly offered to integrated my Silverlight application into, which I accepted.

So everything is fine and all, and the Silverlight XAP is being copied to the web site's ClientBin directory when i was buiding solution through visual studio, But

I want same thing through using nant script when i am used nant script that time all project in the solution are build but recenty added silverlight website do not create XAP's in ClientBin dierctory.

I m using following script :-

target name="build" description="compiles the source code">
exec program="${framework::get-framework-directory(framework::get-target-framework())}
msbuild.exe" commandline="MY.sln" workingdir="ProjectFolder" />

View 1 Replies

Configuration :: How To Create Web Setup For A Website That Contains Silverlight

Mar 13, 2010

I am creating a web setup for a ASP.NET web application.

After creating the setup i installed in iis it running perfect except silverlight portion. It display blank in that silverlight portion. All the others aspx pages are working file.

View 1 Replies

Web Forms :: How To Use Silverlight Application In Already Created Website Project

Jul 17, 2010

there is already an web site developed,now due to certain requirements i want to use silverlight enabled pages in my project(for its flexible designing purpose).

View 2 Replies

Website Not Loading

Jul 17, 2010

why my website is not loading ?

View 4 Replies

C# - How To Add Silverlight XAP File To An Existing Webpage

Aug 26, 2010

I've added a new silverlight application to my project. It works fine by itself.

I even have a ClientBin folder in my ASP.NET Web Application with the XAP file of my Silverlight project.

So how I embed that Silverlight project into my existing ASP.NET web application?

View 1 Replies

Uploading File(s) To Webserver In Silverlight (C#)?

Jan 26, 2010

Alright, so i have a silverlight application,

it opens a filedialog, gets the selected file, transfers it to which saves it to the server, but i want to know how to implement a progress bar for it. for big files, and multiple file uploads, i will need to know the progress of the file upload to the server, is this possible?

View 1 Replies

C# - Silverlight 4 : Uploading File To Server?

Sep 15, 2010

Here is an easy one:I need a stable simple file uploader with a progress bar, I have found lots of fancy ones from the search. However, I need the community opinion on which ones to go with? Tutorial links would be appreciated.BOUNTY: I have a FileStream which I would like to upload to a server, below is a sample server server URL:string uploadUri;string SavedFileName = "testXRay.jpg"
uploadUri = @"http://localhost/MyApplication/Upload/Images/" + SavedFileName;I am adding a bounty in hope to get a working solution which I could use from my SL application. MyApplication is hosted in IIS.

View 3 Replies

VS 2010 - Reading Local File With Silverlight?

Mar 29, 2011

it may not have to do with silverlight as such, but a "security" issue. I appologize if that was wrong.

I“m having a go at silverlight...

I want to display large amount of data in good looking charts. Ideally, I would use a web service. However none of the tutorials I“ve watched works. There“s always some component or class missing.

So I figured I“d do it the "ugly" way, creating a xml file from a dataset, and then reading it in the silverlight app.

Now when debugging, I use a local file, which is apparently not permitted

But there must be a way around it right?

View 2 Replies

C# - Display File Type Icon In Silverlight?

Mar 29, 2011

I have this situation where I need to display a bunch of files pulled from a Sharepoint site in a Silverlight application. I use a WCF service to get the data from the Sharepoint site.

So what I have is file names with their corresponding extensions. What I need to do is, display the files in the Silverlight application with their corresponding file type icon and file name. The following is the Heirarchical data template I use to display the files in the Silverlight application.

<sdk:HierarchicalDataTemplate x:Key="FileTemplate">
<StackPanel Orientation="Vertical">
<Image x:Name="imgFile" Source="{Binding FileImage}" Height="35" ></Image>
<TextBlock x:Name="txtFile" Text="{Binding FileName}"></TextBlock>

Where FileImage and FileName are strings.

PS: The reason I don't have file type and size is because I using Sharepoint web services and XMLReader to get the information about the files.

View 1 Replies

Web Forms :: Embed Silverlight App In Aspx File?

Feb 14, 2010

I've created a silverlight application, MainPage.xaml has silverlight controls. The code behind of it will be definately in MainPage.xaml.cs file. When creating a silverlight app, I've selected a default web project wherein this silverlight app will be hosted and run. After all my work in MainPage.xaml.cs file, I want to integrate it in my default.aspx file. As i understand, I need to give reference to xap file in this aspx file. I tried accessing

<asp:Silverlight ID="xx" runat="Server.. />

tag but had no luck. This tag does not come up, Am i missing to add reference to any silverlight dll to my web application. Or is this tag applicable for Silverlight 2.0 and not 3.0 which I'm using:

<object data="SilverlightEmployeeExampleTestPage.aspx" width="100%" height="100%">
<param name="source" value="../ClientBin/SilverlightEmployeeExample.xap" />

View 2 Replies

C# - Automatically Open File After Downloading In Silverlight 4?

Dec 9, 2010

I am creating an excel spreadsheet server side and downloading to the client via a Silverlight front-end. It is started by the user clicking a button and being presented with a SaveFileDialog. Once the user enters a file name then silverlight starts an asynchronous call to a web service and when finished returns a byte array which is written to wherever the user requested to save it. This all works fine.How do I then automatically open this file on the client's PC?

View 1 Replies

WebSite Page Loading / Response Time

Jan 22, 2010

I have noticed two time-related problems with my website:

[1] Slowness of loading the graphics for each page in the browser;
[2] Receiving a "Runtime Error" page in the browser when I do take action on the site (e.g. navigate to another page) within approx. 30 seconds.

Are these problems related to limitations of my web host?

View 3 Replies

Web Forms :: How To Reduce Website Loading Time

Dec 27, 2012

I want increasing my website pages loading speedĀ 

I know one of thing is compress css file is there other thing that I do to increasing webpage loading speed?

View 1 Replies

Hosting Silverlight Xap File - Only White Screen Displayed

Feb 17, 2010

I have a SL 3.0 xap I want to host in a ASP.NET website, I have access to the XAP file and I have created a HTML page to host the SL component.

When I access the page all I see is a white screen where the SL component should be, SL is loaded but the component is not displayed.

This is the HTML code for the SL div.

<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="http://lonmw32795/SliverlightRESTfulWebservice.Web/ClientBin/SliverlightRESTfulWebservice.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40818.0" />
<param name="autoUpgrade" value="true" />
<a href="" style="text-decoration:none">
<img src="" alt="Get Microsoft Silverlight" style="border-style:none"/>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>

View 3 Replies

Silverlight 3 Or 4 Multiple File Upload And Resize Control

Sep 1, 2010

Where can I find a silverlight 3 or 4 user control that contains multiple file upload and resize capability?

UPDATE:This will be used for uploading images. We'd like to resize the images prior to posting up to the server.

View 2 Replies

Copyrights 2005-15, All rights reserved