开发者

How to deal with files on server Silverlight

开发者 https://www.devze.com 2023-02-24 03:25 出处:网络
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

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

精彩评论

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