Suggestion - DeploymentService.RequestXap loosen check


EDIT Forget it. Already be handled by change 83505 (in a better way). Thanks Jeremy! /EDIT
I have cobbled together a workaround for browser caching of dynamic xap files by appending a query string to the xap file name. To make it work I have modified the DeploymentService.RequestXap check for a valid xapName parameter. The body of RequestXap becomes
string xapFileName = xapName.Split("?".ToCharArray())[0];
if (string.IsNullOrEmpty(xapFileName))
throw new ArgumentNullException("xapName");
if (!xapFileName.EndsWith(".xap", StringComparison.InvariantCultureIgnoreCase))
throw new ArgumentOutOfRangeException("xapName", Resources.DeploymentService_RequestXap_XAPExtensionError);
WorkflowController.Begin(DownloadWorkflow(string xapName, xapLoaded));
Closed Jan 4, 2012 at 3:01 PM by jeremylikness
Closed per 83505