开发者

How to deal with files on server Silverlight

I would to have the ability to connect to a SQLite database f开发者_运维技巧ile, I am using a C# SQLite Library but due to Silverlight's permissions I can not make a connection to actually locate the file, Can anybody help with actually using the file to execute queries on to?

Thanks.


SQLite is an embedded database which means that only the process hosting it can use it and run queries against it. If you want to connect to a database on the server, you have to expose it through a service (SOAP, WCF, WCF RIA Services) or a REST endpoint.

Using SQLite with Silverlight only makes sense if you want to store files locally.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜