xap

How to get at ResourceDictionary style when it is loaded from external xap and assemblies are MEF-fed?

I've got the following setup: The main application loads a XAP with an IPlugin implementation. The Plugin contains a 'DisplayPanel' that contains a referenced Control with other controls. The DisplayPanel here is simply a container control to show referenced Control. This referenced Control, from an assembly, uses a Style from a Resourc...

Performance testing on .xap files...

Hi All, I want to know that can i use profiler to do performance testing of .xap files. if you have any articles for the same topic please provide it to me. and if there are any other tools available to do this please tell me. in my project we have to check that when we logged into the Silverlight 4 .0 application. the screen takes 5 s...

Web Application + Silverlight project in TFS, .xap file keeps being checked in, can I avoid it?

When I look at my ASP.NET application that hosts a Silverlight project, it has a Clientbin folder, inside of which there is a .xap file, the one being compiled from my Silverlight project. This file keeps being checked into TFS. Is there a way for me to tell TFS to just plan ignore it? The reason is that once the file is checked in, if...

silverlight .xap packaging bug (references of reverenced assemblies)

I encountered this strange issue and was lost for several hours before i found something interesting about how the .xap is packaged. among several things, i came to know that if my project was named "References", it would not be included in the xap, and more strange was another problem that if my SL app is referenceing assbly1 project ...

XAP files for silverlight 4

Can you imbed silverlight 4 xap files into an aspx page and then view them in vs 2008? If so how do you do this? Any sample code would be appreciated. Thanks! ...

visual studio using old xap

I am debugging my silverlight application. This application reads an xml file to draw some stuff. Everytime I change my xml file, refreshing the page does not display the new results. I have to get back to visual studio and hit Ctrl+F5. I have added random query string in my xap url <param name="source" value="ClientBin/SilverlightOrg...

Silverlight: how to handle standard assemblies (part 2)

It is necessary to move 'standard' assemblies out of the xap-file (Silverlight 4 application). I had a similar problem (http://stackoverflow.com/questions/3329731/silverlight-how-to-handle-standard-assemblies) and got a good link with deep explanations. But not all is clear there. After I've switched on the 'Reduce XAP size by using app...

Silverlight: how to handle standard assemblies (part 3)

When Silverlight4 application is build the 'Microsoft.Practices.Unity.Silverlight.dll' assembly is not putting into a separated file zip-file, it is in the XAP-file instead. To be consistent, here are links to previous questions of the 'How to handle standard assemblies' topic: [http://stackoverflow.com/questions/3329731/silverlight-ho...

silverlight XAP gets downloaded everytime

Hi All, Ive just uploaded my silverlight webpage to my production webserver. The issue im having is that everytime I open the website in the browser it is downloading a new copy of the XAP. Any ideas what could be causing this issue? Thanks ...

How do I include XML data in a Windows Phone xap deployment?

I'm working on a WP7 app. The app will have a couple of XML files. Some are read-write, a couple are read-only. What are my options here? IsolatedStorage? Embedding as resources? I'll also need to know... How would I load the XML into XElements from either? How would I save from an XElement into either? ...

XAP Expires after half a Day???

Hi All, Im just wondering what would be causing my xap to expire every half day (approx). What i mean is that in the morning a user hits the website and it downloads a copy of the xap, by the afternoon if that user goes back to the website and the website downloads another copy of the xap for them. I would hope that the only reason that...

Do long class names affect the size of a XAP file?

There is a custom control in my Silverlight application, which is put on the canvas about one thousand times. I'm concerned about the size of a XAP file of this app. Will XAP file contain explicitely the names of this control in the same quantity? Will I reduce the size of the XAP file by changing the name of the custom control from, s...

silverlight 4, dynamically loading xap modules

I know that it is possible to load xap modules dynamically using Prism or MEF framework. However, I'd like not to use those frameworks; instead load my xap files manually. So, I created the following class (adapted from internet): public class XapLoader { public event XapLoadedEventHandler Completed; private string _xapName; ...

Embedding Silverlight App into ASP.net webpage for smoother transition

Hi All, Currently I have a pure silverlight website with navigation. Im worried about the customers that are hitting the website and are leaving straight away because they are have to have the SL plugin installed and they also have to wait for the 1.5 meg xap file to download. The first page of the silverlight application is the login/r...

Check silverlight's code-signing certificate in asp.net

Hi, is there a possibility to check the certificate (issuer, subject, etc.) of a signed XAP-Silverlight file in a asp.net hosted wcf service? Thanks, Sven ...

How can I use external images in Silverlight and still view them at Design time?

In order to minimize the size of my XAPs, I want to move my images from being embedded in the project to an external directory, possibly ClientBin/SilverlightImages. I know that I can use a URI and point to this directory like so: , but Blend and the Visual Studio 2010 designer do not show the image. One suggestion from a co-worker is t...

Silverlight video player xap or js

Hi, I'm writing Silverlight video player and I search for inpiration so i have found JW Player. But as I know Silverlight apps are inside .xap files and JW Player uses js script to implement SL logic. Could you explain me how it works and why .js not .xap? Thanks in advance. ...

Silverlight asp:silverlight tag

Hi, I am new to silverlight. Excuse me if this is simple question. I am trying to craete a sample application using Silverlight 4 in VS2010. The code that is generated by defualt in the aspx page is(apart from the script): <div id="silverlightControlHost"> <object data="data:application/x-silverlight-2," type="application/x-silver...

Save html page with Silverlight

How can i save html page with silverlight object within? I need to be able later to reopen page and to view sl content. Thanks. ...

Can you load a XAP from a byte array in Silverlight 4.0

I know that MEF currently supports downloading XAP files from a URI (which is awesome!), but does anyone know if it's possible to have MEF load a XAP from a byte array? Thanks! ...