silverlight 限制/限制列表
我已经看到和听说过各种 Silverlight 限制,例如文件 I/O 限制、一些反射限制、对可以使用的语言、打印、分辨率等的限制。
您能否编制一份所有主要 silverlight 限制的列表,与一个成熟的 .NET 应用程序?这是针对最新版本(4.0)的。
我不是要求类参考,而是高级功能。如果有的话,最好也提出一些解决方法,但这不是必需的。
非常感谢
I have seen and heard of various Silverlight restrictions, e.g. file I/O restrictions, some reflection limitations, restrictions on which languages can be used, printing, resolution, etc.
Could you please compile a list of all major silverlight limitations, as compared to a full-blown .NET application? This is for the latest version (4.0).
I'm not asking for a class reference, but high-level features. It would be nice to propose some workarounds too, if any, but this is not essential.
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
另一堆限制(顺便说一句,您可以使用浏览器外(OOB)模式通过 WScript.Shell 提高信任+自动化来绕过其中一些问题):
仅适用于库文件夹(例如
音乐、视频、图片)
来自 System.Collections 的集合
命名空间。
Silverlight(月光)然后你
根本无法使用 OOB
但也有一些好消息。例如,您仍然可以将 OOB Silverlight 用于 OSX 应用程序)。
Another bunch of restrictions (btw some of these problems you can bypass using out-of-browser (OOB) mode with elevated trust + automation with WScript.Shell):
Only with library folders (like
Music, Videos, Pictures)
collections from System.Collections
namespace.
of Silverlight (Moonlight) then you
can't use OOB at all
But there are some good news. For example you still can use OOB Silverlight for OSX application).
列出 Silverlight 中的内容可能比列出 Silverlight 中不包含的内容更容易。为此,您可以查看 Silverlight 文档。
但是,这里有一些指向文档的链接,其中列出了一些关键问题:-
WPF 兼容性
Silverlight 应用程序安全模型
Silverlight 的 HTTP 通信和安全性< br>
Silverlight 中的 URL 访问限制
Silverlight 中的网络安全访问限制
Its probably easier to list what is in Silverlight than what is not. To do that you could look through the Silverlight documentation.
However here are a few links into the documentation which list some the key issues:-
WPF Compatibility
Silverlight Application Security Model
HTTP Communication and Security with Silverlight
URL Access Restrictions in Silverlight
Network Security Access Restrictions in Silverlight
除非您作为完全信任的应用程序运行,否则您无权访问本地文件系统。不过,对于 Web 应用程序来说,这是一个完全合理的限制。
Unless you are running as a full trust application you don't have access to the local file system. This is a perfectly reasonable restriction for a web application though.
我不知道你是否会发现这个相关,但我使用了 WPF DataGrid 并且讨厌它,因为它有一个属性,当它处于无效状态时,它不会退出编辑模式,并且由于出现了许多异常。
I dont know if you will find this relavant or not but i used WPF DataGrid and hated it because it had a property that when it was in invalid state it wont exit edit mode and because of that many exception arose.
这比它的价值更麻烦。限制太多,数不过来。
It's more hassle than it's worth. Too many restrictions to count.