PC Review


Reply
Thread Tools Rate Thread

Downloading files to a Silverlight Application

 
 
King Coffee
Guest
Posts: n/a
 
      6th May 2010
Hi,

I have a Silverlight ASP.NET Website. The ASP.NET admin user will
periodically update a xml file located the ClientBin folder. The Silverlight
application downloads this file by creating and calling a xml stream reader.
The concern is: I got one aspect to initially work, by placing a copy of the
xml file in the Silverlight project folder with properties setting of
Resource and always copy to output. When it's not a resource I get file not
found in the XAP package.

My question is: Are the visitor accessing the "static xml file in the
silverlight project"? Or the "dynamic xml file in the ClientBin Folder"?
That is, which file is retrieved as part of the XAP package?

I want the dynamic xml file in the ClientBin to be accessed. How can I
achieve it!

Sincerely,
King

 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      7th May 2010
Hello, try :
http://www.kirupa.com/blend_silverli...ml_sl2_pg2.htm

If I remember it depends on the kind of url (XAP if relative, external file
if absolute).

Also you should find a SL specific forum at
http://social.msdn.microsoft.com/For...-US/categories

--
Patrice



"King Coffee" <(E-Mail Removed)> a écrit dans le message de groupe de
discussion : C511658B-73C2-4ABF-A599-(E-Mail Removed)...
> Hi,
>
> I have a Silverlight ASP.NET Website. The ASP.NET admin user will
> periodically update a xml file located the ClientBin folder. The
> Silverlight application downloads this file by creating and calling a xml
> stream reader.
> The concern is: I got one aspect to initially work, by placing a copy of
> the xml file in the Silverlight project folder with properties setting of
> Resource and always copy to output. When it's not a resource I get file
> not found in the XAP package.
>
> My question is: Are the visitor accessing the "static xml file in the
> silverlight project"? Or the "dynamic xml file in the ClientBin Folder"?
> That is, which file is retrieved as part of the XAP package?
>
> I want the dynamic xml file in the ClientBin to be accessed. How can I
> achieve it!
>
> Sincerely,
> King



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Application in Silverlight fiaolle Microsoft C# .NET 0 7th Aug 2009 10:48 AM
ActiveX, Silverlight, Client-side application Bradley Plett Microsoft Dot NET 2 1st Dec 2008 07:05 AM
IE Plugin communicating with loaded My Silverlight application Felix Venniker Windows XP Internet Explorer 1 15th Jun 2008 08:53 PM
Downloading of files from a windows application Paul Wilson Microsoft VB .NET 2 25th Jun 2004 08:58 AM
Can I update my application by downloading new files Thomas Christiansen Microsoft Dot NET Framework Forms 3 15th Feb 2004 06:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:17 AM.