本文介绍了在URL上打开Silverlight OOB(如果已安装)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,当我转到时,是否可以打开我的Silverlight应用程序的OOB版本(如果已安装) http://mydomain.com/silverlightapp < ---加载Xap的位置.

Is there anyway to make the OOB version of my Silverlight app open(if installed) when i go tohttp://mydomain.com/silverlightapp <--- where the Xap is loaded.

当我转到irc://servername

Just like a irc client opens when i go to irc://servername

但是,如果出现以下情况,我的应用程序可以打开OOB版本而不是前缀:App.Current.InstallState == InstallState.Installed在浏览器中加载时是什么?.

but instead of prefix can my app open the OOB version ifApp.Current.InstallState == InstallState.Installedwhen it's loaded in the browser?.

推荐答案

从Silverlight 4开始,无法从URL启动oob应用程序. Irc和其他应用程序可以注册自定义url协议处理程序从url启动自己.如果您可以创建本机应用程序并将其安装在用户的计算机上,则可以将其用作oob应用程序的启动器.

As of Silverlight 4 there is no way of launching oob application from the url. Irc and other applications can register custom url protocol handler to launch themselves from url. If you can create native application and install it on user's computer you could use it as a launcher for your oob application.

这篇关于在URL上打开Silverlight OOB(如果已安装)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 23:12