xap

Siverlight setup issue

Hello everyone, If I just deploy Siverlight application (eithre ASP.Net page or Html page uses XAP files) on Server, no need to develop. On Server side, do I need to install anything? I have two scenarios, Using Windows Server 2003; Using Windows Server 2008. thanks in advance, George ...

Can I create a cross browser compatible silverlight page without code behind?

I have been developing a silverlight page using just xaml, javascript and html (I literally only have a .html, .js and .xaml file). The problem is, I just realized that it isn't working in any browser EXCEPT Internet Explorer (7 for sure). I have too many lines of code to want to add vb.net or visual c code behind and use the html brid...

Silverlight Image in Listbox

I have a listbox with a data template. The problem is that it expects the source to be a string. The string I have is a uri of an image inside the xap file. So it would be uri( xxx, uri.relative) How do I get it to look inside the xap file for the image since I can only use a string value? ListBox.ItemTemplate DataTemplate StackPanel Or...

Can i add a .xap file into another project

Basically i want to utilize the Silverlight Video player on Codeplex in another Silverlight application. Is this possible. Can anyone point me in the right direction on how to achieve this? Thanks J ...

running an xap (silverlight app) in VS 2005

I've written a small silverlight app in vs 2008. Now i'd like to plug that app into a site that was developed using vs.net 2005. what are the steps needed to do this. This is what i've done so far. In web.config In the asp page. <%@ Register Assembly="System.Web.Extensions, Version=3.5...

get code from silverlight publish?

Is there any way to get the code from a silverlight publish? My laptop has completely crashed, the only thing if have left from my application, is the published website. Is there a tool or something to get the code from my app? ...

Has anyone used ComponentOne XAPOptimizer for a real production Silverlight Application?

In particular any experiences using it for obfuscation? How does this affect binding, etc.? ...

Forcing browsers to reload Silverlight xap after an update

I have a Silverlight control packaged up and deployed to a SharePoint web part. I'm having trouble with the browser loading new versions of the control after I push an update. I'm updating the assembly and file version of my xap project, but it doesn't seem to matter. The only way to get the browser to load the new xap is to go in and...

Adding Silverlight MimeType using adsutil

I have a script that creates an app pool, web site - and then I want to use adsutil to add the .xap MimeType. I see this: cscript adsutil.vbs set W3SVC//Root/MimeMap “.extension,mimetype” However, since I am creating the web site in the same script I will not know the ID. Would anyone know how to do this with adsutil? Thanks, Rich...

Packaging ResourceDictionary for Silverlight Class Library

I have a silverlight class library (not a top-level application) with several user controls that are shared by different silverlight applications. I have gone through and pulled out several styles and brushes for the controls and put them in a separate XAML file as a resource dictionary which I bring into each control as a merged resourc...

Prevent Silverlight xap from being cached by proxy server

The company I work for has proxies/WAN accelerators between our international sites to cache Intranet web content. I have a Silverlight application being hosted on a server at one location, but being accessed by clients in another location. When the users access the web page hosting the Silverlight app, they get the stale xap file bein...

Hosting Silverlight xap file, only white screen displayed...

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. Any ideas why this is happening? This is the HTML code for...

expiry Silverlight XAP file from browser cache programmatically..

How to do I prevent a Silverlight XAP file being cached by the web browser? The reason I want to do this is during development I don't want to manually clear the browser cache, I'm looking for a programmatic approach server side. Cheers AWC ...

How to take advantage of browser caching of XAPS

I have a Silverlight Application that currently downloads XAPs on demand using Package.DownloadPackageAsync() from the System.ComponentModel.Composition.Packaging namespace. As far as I can tell this circumvents any sort of browser caching of XAPS that may take place. Does anyone know how to take advantage of browser caching using on d...

What's the XAP file equivalent of ASP.NET

Is there such a thing? Maybe there should be, I don't think Microsoft built anything like this but is there a similar format or framework for ASP.NET that let's you deploy an archive -- that is -- your ASP.NET web application, or module that works in the same way? A xap file is a self-contained archive. I'm particularly interested in th...

XAML Parser cannot find resource within dynamically loaded XAP when creating form instance

I've followed Tim Heuer's video for dynamically loading other XAP's (into a 'master' Silverlight application), as well as some other links to tweak the loading of resources and am stuck on the particular issue of loading style resources from within the dynamically loaded XAP (i.e. the contents of Assets\Styles.xaml). When I run the maste...

Silverlight: How to load and run another silverlight .xap file

Hi, I want to know whether is it possible to load and run another xap file in a xap file. If its possible please tell me how to do that with code. Thanks in advance! ...

Navigating to pages within a dynamically loaded XAP

I have dynamically loaded a silverlight application (XAP) with multiple pages, to be hosted inside a master application. I'm able to run the application and load and display the initial page of the dynamically loaded application (which itself uses the business app template). However, when that application then tries to navigate to one of...

Xap file contents changes if built in Visual Studio or build server

I'm using MEF with my Silverlight 4 app to dynamically load xap files. To optimize this process, I've removed various assemblies from my xaps since I know they've already been loaded by the base xap. This reduces the size of my dynamically loaded xaps. I accomplished this by setting the "Copy Local" flag for each assembly reference to "f...

What would cause my Silverlight .xap to quadruple in size suddenly?

I've been working on a Silverlight application. I just noticed that the .xap file is now four times as big as it was, what could have caused that? Here's some other info: there seems to now be many more language settings in the bin/Release directory I checked "Reduce size of .xap" in under Properties/Silverlight but that just brought ...