Silverlight OOB和WPF ClickOnce [英] Silverlight OOB vs WPF ClickOnce

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

问题描述

Silverlight Out of Browser技术与表面上的WPF ClickOnce具有相似之处.轻松简单的部署,指定对底层主机的信任访问级别的能力等.

什么是关键的问题,我需要选择一个比其他时候要考虑?

为了更好地说明这一点,我将在仅运行Windows计算机的公司网络中部署LOB应用程序.

解决方案

您提到了对主机的信任访问,除非您想运行SL4(测试版),否则我认为它排除了Silverlight.

我们最近进行了很多有关文件系统访问的讨论. Silverlight 3或多或少地在部分信任沙箱中运行.您无法在应用程序隔离存储之外维护指向文件系统中文件的指针.这对我们来说是个问题,因为我们希望用户能够使用该应用程序来引用您文件系统上的零头.就是说,您可以允许用户从系统上的任何位置加载和保存文件,但是您仅获取/或推送文件流,并且(据我所知)无权访问文件夹或文件路径信息./p>

Silverlight 4(测试版)支持以完全信任模式运行的应用程序.但是,我还没有玩过它,也无法说出它的效果如何.

Silverlight Out of Browser technology and WPF ClickOnce on the surface have similarities. Easy and simple deployment, the ability to specify the level of trust access to the underlying host, etc.

What are the key issues I need to consider when choosing one over the other?

To put a finer point on it, I'll be deploying LOB apps on a corporate network running only windows computers.

解决方案

You mentioned trust access to the host which I think rules out Silverlight unless you want to run SL4 (beta).

We recently went through a lot of discussion about file system access. Silverlight 3 runs in a partial trust sandbox more or less. You can't maintain a pointer to files in the files system outside of your application's isolated storage. This was an issue for us as we wanted the user to be able to use the application to reference odds and ends on your file system. That said you can allow the users to load and save files from anywhere on the system but you just get/or push the file stream and (to the best of my knowledge) don't have access to the folder or file path information.

Silverlight 4 (in beta) has support for your application running in full trust mode. I haven't played with this yet however and can't speak to how well it works.

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

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