问题标签 [isolatedstorage]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
.net - 如何确定 IsolatedStorageFile 根目录的位置
我正在使用 IsolatedStorage 来持久化对象,但有时我需要手动清除该目录中的文件。在持久化文件时,我想将目录的物理位置写入控制台。不过,似乎没有可访问的属性返回此信息。我该怎么做?
这是我不完整的代码:
silverlight - silverlight 隔离存储 - 不会在应用程序重新启动时持续存在
出于某种原因,每次我重新启动(在浏览器中)silverlight 应用程序时,隔离存储中都没有密钥。
我什至用下面的代码用香草模板试过这个。我检查过的东西:
总是使用同一个端口
启动时,应用程序始终在隔离存储中创建条目(从不持久)
关机时,密钥始终存在于隔离存储中
代码:-
欢迎任何帮助。
c#-3.0 - 隔离存储
我可以将 Access 数据库存储在隔离存储中吗?如果可以的话,连接字符串是什么?
c# - 如何获取文件并将其移出隔离存储?
我想获取一个已经存储在隔离存储中的文件,并将其复制到磁盘上的某个位置。
那是行不通的。抛出 IsolatedStorageException 并说“不允许操作”
c# - WPF。隔离存储文件名长度
为了保存我的 configuration_data,我使用了隔离的 stoeage 域范围,例如:
但有时在保存数据时我得到:
好的,我的文件名太长了。但我无法控制它。我也不能使用应用程序范围,因为我不使用 ClickOnce。
所以我该怎么做?谢谢
windows-phone-7 - 从 Visual Studio 将文件添加到 WP7 隔离存储?
我正在开发一个 Windows Phone 7 应用程序,我将在其中使用必应地图显示 ATM 靠近您的位置。
我有一个带有地址和 gps 坐标的 xml 文件。但是如何将这个文件从 Visual Studio 添加到我的程序中呢?如果我将 BuildAction 设置为 Content 并将 Copy 到输出目录设置为 Copy 总是。该文件仍然不在 IsolatedStorage 中。我必须建立一种机制来从网上下载信息吗?还是有其他方法?
silverlight - using IsolatedStorageFile with Silverlight 4
I am looking at writing a silverlight app that I plan to use OOB setting to enable use on both PC and mac.
I have been doing a little investagation on the isolationstoragefile and what I understand is it will work for both pc and mac without a problem.....Is that correct?
The application I am building is going to be a business application that will submit details back to the main database if there is an available connection. If not then I want to store the information locally until there is an available connection.
My question is lets say I have 3 user accounts using the same machine. Can I have the isolationfile stored in the same place? or must it be under the user profile?
I don't want to have orphaned records which I could see happening if the data is stored on each user's profile.
Any advise would be great!
c# - 使用IsolatedStorage,是否需要在创建目录之前检查目录是否存在?
我正在开发一个 Windows Phone 7 应用程序,我想知道是否有人对我是否必须在创建目录之前检查目录是否存在有明确的答案,以及这样做/不这样做的优点/缺点是什么. 据我所知,通过单步执行我的代码,以下两个代码块以相同的方式工作:
和
使用第二个代码块安全吗?如果目录已经存在,它似乎没有抛出异常,并且似乎也单独留下了目录的内容。
windows-phone-7 - 我可以在 WP7 上访问多少存储空间?
我知道存储可以通过独立存储获得,但我不确定我是否在任何地方看到我的应用程序可以访问多少实际存储。有人知道吗?
isolatedstorage - 如何获取隔离存储文件的完整路径
如何获取 WPF 应用程序的隔离存储文件的完全限定路径?