New Posts New Posts RSS Feed: Silverlight 3 Disconnected
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Silverlight 3 Disconnected

 Post Reply Post Reply
Author
mlens View Drop Down
Newbie
Newbie
Avatar

Joined: 19-Apr-2010
Location: Australia
Posts: 7
Post Options Post Options   Quote mlens Quote  Post ReplyReply Direct Link To This Post Topic: Silverlight 3 Disconnected
    Posted: 21-Apr-2010 at 7:10pm
Hi There,

Is it possible to save cached data to the file system in a Silverlight 3 App (without the SaveAs Dialog)? I know it's possible to save to a steam, but we need full offline ability whereby we'll read from local files in the absence of a connection. It seems like you cannot because of the 'Sand-box' SL runs in? All the sample code I've seen looks like WinForms or WPF. A Siverlight sample would be apreciated if indeed it's possible.

Thanks
Marcus


Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 27-Apr-2010 at 3:09pm

 Silverlight 3 does not have any file system support, but you can use Isolated Storage.    The Model Explorer

     http://www.ideablade.com/DevForceSilverlight/DevForceSilverlight_ModelExplorer.aspx

has an example of using isolated storage to run disconnected with a saved EntityCacheState. See the file IsolatedStorageFileFns.cs.

In Silverlight 4 Out of Browser applications, you can use the file system.  See

     http://www.silverlight.net/getstarted/silverlight-4/





Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down