本地数据库与Silverlight [英] Local Database with Silverlight

查看:117
本文介绍了本地数据库与Silverlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是对Silverlight应用程序的好本地数据库?数据库的主要目的是用于本地数据缓存和同步服务。我不相信,SQL Anywhere或SQLite的将工作,因为他们使用非托管code,不会在Silverlight的沙箱中运行

What would be a good local database for a Silverlight application? The database's main purpose is for local data caching and synchronization services. I do not believe that SQL anywhere or SQLite will work since they use unmanaged code which will not run under the silverlight sandbox

推荐答案

为什么不使用SL 2一项新功能名为隔离存储?它在本地数据库(如谷歌齿轮)全力支持,但当然这不是一个数据库。您可以使用XML文件格式来保存它。

Why don't use a new feature in SL 2 called "Isolated Storage"? It is fully support in local database (like Google Gear) but of course It is not a database. You can use XML file format to keep it.

  • 利弊;用户只需要安装SL运行。
  • 缺点;这不完全是一个数据库

蛾在他的博客中说,它的http://www.danielmoth.com/Blog/2008/04/isolatedstorage-in-siverlight-2-beta-1.html 迪诺在 http://www.ddj.com/windows/208300036?pgno取得了很好的总结= 2

Moth said in his blog about it http://www.danielmoth.com/Blog/2008/04/isolatedstorage-in-siverlight-2-beta-1.html Dino made very good summary at http://www.ddj.com/windows/208300036?pgno=2

这篇关于本地数据库与Silverlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆