what did you mean in your last statement? i tried to search online to know how to do your last statement but couldn't find anything.
After your application is built and ready for deployment, you'll need to make sure to configure your web server to emit the proper cache lifetime headers for all the assembly ZIPs so as to let the browser know that they should be cached locally.
Right now, after following your instruction, i saw the Telerik dlls have been extract from the XAP file
1.My attempt to follow your last statement:
I tried to modify (the name of the zip file) one of your extmap.xaml such as Telerik.Window.Data.extmap.xaml with the hope that after Building the solution , it will produce different name of zip file (so in case i upgrade the assembly dll. Then the browser will recognize the different name of zip file and it will redownload the external dll zip file again. I think this is what your statement means)
<extension downloadUri="Telerik.Windows.Data.zip" />
<extension downloadUri="Telerik.Windows.DataTesting.zip" />
However, it doesn't work. After building solution, i still get the name of the zip file as Telerik.Windows.Data.zip
One note thing is that basing from what i read on the msdn "the extmap.xaml file should be in the same location of the assembly dlls files". In my project solution, i have an extra folder called Assembly which will contain all of the needed Telerik dlls . I just notice one thing that, i don't even need to include the files extmap.xaml in my Assembly folder to be with your Telerik dll and the Process of extracting dll out of XAP still works. So i guess in your dll assembly, you must have set some internal default mapping already (no need for extmap.xaml in the same location with the dll)
In summary, can you instruct me how to do your last statement (sample code is nice)
this is the code which will produce different XAP file name everytime i deploy a new version of the project (but not for the external assembly dll, only for the XAP). No idea how to do for the assembly dll
the code is in Default.aspx
string orgSourceValue = @"ClientBin/SilverFinancials.xap";
param = "<
name=\"source\" value=\"" + orgSourceValue + "\" />";
string xappath = HttpContext.Current.Server.MapPath(@"") + @"\" + orgSourceValue;
DateTime xapCreationDate = System.IO.File.GetLastWriteTime(xappath);
param = "<
name=\"source\" value=\"" + orgSourceValue + "?ignore="
+ xapCreationDate.ToString() + "\" />";