Silverlight的限制/限制名单 [英] List of silverlight limitations / restrictions

查看:181
本文介绍了Silverlight的限制/限制名单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所看到的和听到的各种Silverlight的限制,例如:文件I / O的限制,一些反思的限制,在哪些语言可以使用的限制,打印,分辨率等。

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.

请您编译所有主要的Silverlight限制列表,相比于完全成熟的.NET应用程序?这是最新的版本(4.0)。

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.

感谢

推荐答案

另一堆限制的(顺便说一句其中的一些问题可以绕过使用外的浏览器(OOB)模式提升的信任+自动化与WScript的.Shell)的:

  1. 您不能与注册表交互
  2. 您不能与文件系统进行交互。 只有库文件夹(如 音乐,视频,图片)
  3. 您不能使用的DllImport。
  4. 您不能使用非通用 从收藏System.Collections中 命名空间。
  5. 如果您决定使用Linux版本 Silverlight的(月光),那么你的 在所有
  6. 无法使用OOB
  7. 您不能调用服务同步(仅适用于异步调用)。
  8. 您不能从HttpWebRequest的同步响应。
  9. 在Silverlight不执行MD5散列。 (定制的MD5实现Silverlight的
  10. 在Silverlight不实现RSA encription算法(有不错的网站与 RSA算法的实现为Silverlight ,但看起来是下来了。)
  11. 在Silverlight不落实的Rijndael算法encription(为了向后compability你可以使用AES算法的块大小= 128)
  12. 在Silverlight不支持ASCII / ANSI编码。
  13. 在Silverlight不支持3D对象绘图(您可以使用 Kit3D 或的巴尔德代替)
  1. You can't interact with registry
  2. You can't interact with file system. Only with library folders (like Music, Videos, Pictures)
  3. You can't use DllImport.
  4. You can't use non generic collections from System.Collections namespace.
  5. If you decide to use linux version of Silverlight (Moonlight) then you can't use OOB at all
  6. You can't call services synchronously (only async calls available).
  7. You can't get synchronous response from HttpWebRequest.
  8. Silverlight doesn't implement MD5 hashing. (custom MD5 implementation for Silverlight)
  9. Silverlight doesn't implement RSA encription algorithm (there was nice web site with RSA algorithm implementation for Silverlight. But looks like it is down for now.)
  10. Silverlight doesn't implement Rijndael encription algorithm (for backward compability you may use AES algorithm with block size = 128)
  11. Silverlight doesn't support ASCII/ANSI encodings.
  12. Silverlight doesn't support 3D objects drawing (you may use Kit3D or Balder instead).

但也有一些好消息。例如,你仍然可以使用Silverlight的OOB的OSX应用程序)。

But there are some good news. For example you still can use OOB Silverlight for OSX application).

这篇关于Silverlight的限制/限制名单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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