Questions tagged [xap]

XAP is an XML-based declarative framework for building, deploying and maintaining rich, interactive Ajax powered web applications.

XAP is an XML-based declarative framework for building, deploying and maintaining rich, interactive Ajax powered web applications. XAP aims to reduce the need for scripting and help solve the development and maintenance challenges associated with large scale JavaScript programming.

Simple login screen:

<xal>
    <dialog>
        <horizontalBoxPane>
            <label text="Username"/>
            <textField id="username"/>
            <label text="Password"/>
            <textField id="password"/>
            <button text="login"
              onCommand="login-url"/>
        </horizontalBoxPane>
    </dialog>
</xal>

XAP is a complete framework for building Ajax applications. Whether you're building a large application with many screens or you simply want to enhance an existing website with Ajax, the XAP project can help get your project done quicker and easier.

More information available here.

191 questions
1
vote
1 answer

How do I _properly_ serve an XAP file from a self-hosted WCF service?

I have myself a self-hosted WCF server setup, which serves a clientaccesspolicy.xml and an index.htm which is just points to my xap (accessible via app.xap). I'm currently serving them via the following code: Public Function GetPolicy() As…
Liam Dawson
  • 1,189
  • 13
  • 27
1
vote
3 answers

How to optimize the size of silverlight XAP file by removing common files?

I have bunch of common thrid party dlls that I use in multiple silver light projects. Each produce its own XAP files with same copy of the thrid party dlls. I would like to know, is it possibl to seperate the common thrid party dlls out and load…
Nair
  • 7,438
  • 10
  • 41
  • 69
1
vote
1 answer

Studio plugin to view contents of XAP file

Has anyone come across a plugin (or similar) for Studio that will allow me to view the contents within a XAP file? I'm just after a way to view the file list quickly rather than having to.. browse to folder, rename to zip and open. (I'm not asking…
Sam
  • 535
  • 5
  • 14
1
vote
1 answer

xap file download location

When I connect to a web-site that is using Silverlight, my understanding is that the "XAP" file is downloaded to C:\Users\ "UserName" \AppData\Local\Temp folder (under windows Vista). There are few sites that I know that are using "XAP" files but I…
1
vote
0 answers

Silverlight 4 - Dynamically Loading XAP with App.xaml as page changes the (App)Application.Current.. why?

I have decided not to use the MEF/Prism approach to loading XAP files into a master Silverlight container application i am building. I have 1 Master Silverlight application, and 2 x Applications that are going to be loaded in. My loading code is…
Robbie Tapping
  • 2,516
  • 1
  • 17
  • 18
1
vote
2 answers

xap not refreshed in Chrome

I've just updated my xap application, the changes are reflected as expected in IE. However, in Chrome, I can see it is still the old design. In VS2010 I've tried recompiling after unticking 'Reduce XAP size by using application library caching' but…
ebcrypto
  • 610
  • 1
  • 14
  • 28
1
vote
0 answers

Copying XAP file to ClientBin on the deployment server not working

All I am trying to do here is that I have a set of files in a network share folder and I am trying to copy them to the deployment server through a PS script. The .dll and .pdb files are getting copied as expected to the "bin" folder. But the .xap…
SSQs
  • 269
  • 2
  • 3
  • 15
1
vote
1 answer

Dynamic/On Demand loading of XAP dependancies using MEF?

I have been reading the article: http://www.codeproject.com/KB/silverlight/MEFDynamicLoading.aspx which describes how it is possible to have XAPs dynamically downloaded using MEF. It states that shared libraries should be referenced with copy local…
ForbesLindesay
  • 10,482
  • 3
  • 47
  • 74
1
vote
1 answer

Adding satellite assemblies into XAP

I have satellite assemblies pre-built and I want to add them into the silverlight xap file after the file has been built. I know if I do this manually all I need to do is add the files into the xap (it's a zip file) and update appmanifest.xaml. Are…
Metro
  • 1,121
  • 1
  • 13
  • 33
1
vote
3 answers

SL3:Is it possible to embed one Silverlight app into another one

Subject line pretty much describes my question. Can I embed one Silverlight app into another one and make them communicate with each other (like pass parameters back and forth?)
Masha
  • 327
  • 1
  • 6
  • 17
1
vote
2 answers

How to modify an assembly before it is packaged in a XAP?

I have a MSBuild task that modifies an assembly. At the moment I place the Task in the AfterBuild Target of the project file. Unfortunately this does not work for Silverlight because the XAP is packaged before the afterbuild is fired. The same…
Simon
  • 33,714
  • 21
  • 133
  • 202
1
vote
2 answers

How to open a silverlight file in visual studio

Just a quick question. I have a system which contains some silverlight elements to it. I don't have any idea of the coding behind silverlight, but all I need to do is change some text so I figure if I can get into the file I could manage it. So the…
109221793
  • 16,477
  • 38
  • 108
  • 160
1
vote
1 answer

Unable to publish Windows Store application

Hello I try to publish a WP8 application in my Developer Microsoft Account (https://developer.microsoft.com/fr-FR/dashboard) Whe I go to my Application / Submission 1 / Package. The web site does not allow me to Upload my XAP File : I also tried…
fli27
  • 329
  • 1
  • 6
  • 18
1
vote
1 answer

Install XAP file locally in windows phone 8.1 device

Hope You are doing well. Actually i have created one windows phone 8 application. So for testing i have installed the .xap file locally into windows phone 8 and it is working fine. But if i am going to install that .xap package in windows phone 8.1…
1
vote
1 answer

Xap packaging failed

I do not manage to compile my project Windows phone 7 with a video of 80 Mb. When I start the build, a OutOfMermoryException is generated … Xap packaging failed. Exception of type 'System.OutOfMemoryException' was thrown. What is that somebody has…
chris2a
  • 11
  • 2