﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><pubDate>Tue, 08 Mar 2011 07:49:17 GMT</pubDate><dc:creator>bap1</dc:creator><description>&lt;p&gt;Thank you!  I'll give that a try.&lt;/p&gt;</description></item><item><title>XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><pubDate>Tue, 08 Mar 2011 04:54:40 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;You can append the source url in the object tag with the last-write date of the XAP file. Replace the object tag in your aspx page with the following:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
    width="100%" height="100%"&amp;gt;
    &amp;lt;%
        string orgSourceValue = @"ClientBin/Your.xap";
        string param;
        if (System.Diagnostics.Debugger.IsAttached)
            param = "&amp;lt;param name=\"source\" value=\"" &amp;#43; orgSourceValue &amp;#43; "\" /&amp;gt;";
        else
        {
            string xappath = HttpContext.Current.Server.MapPath(@"") &amp;#43; @"\" &amp;#43; orgSourceValue;
            DateTime xapCreationDate = System.IO.File.GetLastWriteTime(xappath);
            param = "&amp;lt;param name=\"source\" value=\"" &amp;#43; orgSourceValue &amp;#43; "?ignore=" &amp;#43; xapCreationDate.ToString() &amp;#43; "\" /&amp;gt;";
        }
        Response.Write(param);
    %&amp;gt;
    &amp;lt;param name="onError" value="onSilverlightError" /&amp;gt;
    &amp;lt;param name="background" value="white" /&amp;gt;
    &amp;lt;param name="minRuntimeVersion" value="4.0.50401.0" /&amp;gt;
    &amp;lt;param name="autoUpgrade" value="true" /&amp;gt;
    &amp;lt;a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;amp;v=4.0.50401.0" style="text-decoration: none"&amp;gt;
        &amp;lt;img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight"
            style="border-style: none" /&amp;gt;
    &amp;lt;/a&amp;gt;
&amp;lt;/object&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Append XAP created data to the value on the Source parameter, this way when you have a newer version of XAP, the new XAP will get downloaded to replace the one in the cache.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><pubDate>Thu, 03 Mar 2011 20:12:06 GMT</pubDate><dc:creator>bap1</dc:creator><description>&lt;p&gt;Hi Yudi!&lt;/p&gt;
&lt;p&gt;Thank you for the quick response.  I'm currently testing with a trial version of your product.  This appears to be a Silverlight XAP issue.  I did go ahead and increment the build number on the Silverlight app and that seems to fix the problem *If* the use refreshes the browser.&lt;/p&gt;
&lt;p&gt;I guess i'm looking for more granual way to check for updates.  e.g. if a UXPage within a XAP changes is there a way to determine if the page itself is old and refresh it...versus re-loading the entire XAP via browser refresh.  Any help here would be much appreciated.&lt;/p&gt;</description></item><item><title>XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><pubDate>Thu, 03 Mar 2011 17:29:58 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please ensure that you have regenerated the license identity and update it to licenses.islicx file as if you made any changes to the Silverlight assembly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;It is recommended that you perform the licensing process at the time when your Silverlight application is ready to deploy.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>XAP Deployment Question</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XAP-Deployment-Question/</link><pubDate>Thu, 03 Mar 2011 17:06:47 GMT</pubDate><dc:creator>bap1</dc:creator><description>&lt;p&gt;I've been playing around with deploying a clientUI sample applcation to a public web server.  I'm finding that when i make changes to a few pages and re-deploy, the client browser does not pick up the changes.  Below is my config:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Server:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Windows 2003/IIS 6&lt;/li&gt;&lt;li&gt;I've enabled content expiration with a setting of "Expire Immediately" on the .XAP file.&lt;/li&gt;&lt;li&gt;We use ISA 2004 for edge protection.&amp;nbsp; Caching is disabled.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Client:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;I tested against IE9 RC1&lt;/li&gt;&lt;li&gt;The only way to get the xap to download is by setting internet options/browser history settings/check for newer versions - everytime i visit web page.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Any suggestion?&lt;/p&gt;</description></item></channel></rss>