惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google Online Security Blog
Google Online Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
Cisco Talos Blog
Cisco Talos Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Scott Helme
Scott Helme
Project Zero
Project Zero
E
Exploit-DB.com RSS Feed
S
Secure Thoughts
K
Kaspersky official blog
L
Lohrmann on Cybersecurity
NISL@THU
NISL@THU
WordPress大学
WordPress大学
N
News and Events Feed by Topic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 热门话题
小众软件
小众软件
P
Privacy & Cybersecurity Law Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
Hacker News: Ask HN
Hacker News: Ask HN
AWS News Blog
AWS News Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hacker News: Front Page
F
Full Disclosure
Latest news
Latest news
Schneier on Security
Schneier on Security
The Hacker News
The Hacker News
T
Troy Hunt's Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Jina AI
Jina AI
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
TaoSecurity Blog
TaoSecurity Blog
G
GRAHAM CLULEY
Forbes - Security
Forbes - Security
V
V2EX - 技术
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
C
Cyber Attacks, Cyber Crime and Cyber Security
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
P
Privacy International News Feed
C
Check Point Blog
N
News and Events Feed by Topic

博客园 - IamV

ADO.NET Entity Framework: 由 Entity Object 執行 SQL 指令 Expression<Func<int, bool>>与<Func<int, bool> search something from db How to Embed Silverlight Content in HTML [转]python文件操作/打开/删除文件/压缩文件 Flash与3D编程探秘 - 文章目录 silverlight RenderTransform 后台动画设置 2104 Couldn't download the silverlight application Cannot connect to external websites - WebClient - IamV .NET下多线程中设置按钮的文本 - IamV - 博客园 [转]Silverlight 2.0 正式版跨域提交数据 Application.DoEvent() 转:C#线程调用带参数的方法 [转]深入了解字符集和编码 Office SharePoint Server Search与Windows SharePoint Services Search 调用WCF返回Josn的两种方式 asp.net Excel_MyTest SharePoint-Server Farm Configuration Not Complete Using JSON with ASP.NET 3.5
[Desklighter]在桌面上运行你的Silverlight文件
IamV · 2008-11-26 · via 博客园 - IamV

Desklighter

今天发现一个小工具,可以把开发的Silverlight .xap 文件转化成 .exe文件,方便的在桌面上运行.

Silverlight是WPF的一个子集,我们可以比较容易的将代码迁移到WPF上来,但是如果我们不想要那么麻烦的话,那么我们可以使用Desklight这个工具直接把Silverlight成果从Web上搬移到桌面上来.

该工具原理很简单,Silverlight在windows下是以Activex控件来实现的,只要在DotNet中新建一个winform程序,然后加入一个ActiveX控件,就可以直接在winform中像在Web中一样直接运行Silverlight程序了。

下载地址:

 http://www.blendables.com/files/folders/desklighter/entry592.aspx

 

Desklighter is a windows utility that will create a “Desklight” from Silverlight xap file. The Desklight is a standalone exe application that renders Silverlight content that is easily portable and accessible. With Desklighter, you can share your Silverlight applications without having to worry about the hosting infrastructure. Distribute your Silverlight content whenever and wherever you need it. The possibilities are endless.

Try this Hello Desklight Sample and see it in action.

 

How to use Desklighter



  • Launch the Desklighter by double clicking the Desklighter.exe file.
  • Select the Silverlight xap file as input.
  • Change the output file name and location if required.
  • Click the 'Convert' button to generate the exe file at specified output path.

Features

Double click the executable created using Desklighter to launch it. Similar to a standard windows application it displays the Silverlight content inside a new window. An example is shown below.


hellodesklight

Information about this executable, including the Desklighter version used to create it, can be found from a command line with 'info' entered as the argument.


hellodesklightinfo

FAQ

  • Why do I need Desklighter?

    The idea of taking the Silverlight application off the web into a portable single file executable opens up a whole new playing field. You can share your Silverlight applications without having to worry about the hosting infrastructure. With Desklighter you can carry your favorite Silverlight content from the web and share with colleagues who are not connected to internet. Distribute your Silverlight content on USB flash drives or in CDs where ever and to whomever you want. The possibilities are endless.

  • But I can create a WPF application to target desktops?

    True. If you are creating a new application targeting desktops, then WPF is the way to go. But if you have an existing Silverlight application that you want to share offline, then the Desklighter comes handy.

  • How is this different from an html file with Silverlight content embedded?

    Having an html file with an embedded Silverlight control is another way to take your Silverlight applications offline. But it requires two loose files (html and xap) and a browser to launch it. Desklight holds everything in a single exe file, which is more convenient and portable.

  • If the Silverlight application is accessing some external data, will it work in a Desklight?

    If the data is available from the computer that is running the Desklight executable, it will work fine. For example, if a game is displaying high scores list retrieved from the internet, the Desklight will display the same data if the computer is connected to internet (Figure 1). If data is not accessible, it will throw an error (Figure 2).

       

    Desklights are best suited for self containing Silverlight applications where all the dependent resources are available within the xap file. Examples include games, presentations, electronic brochures, tools and utilities.

  • What are the system requirements for a Desklight to run?

    A Windows computer with .NET Framework 2.0 and Silverlight plug-in..

  • Will a Desklight work on a Mac or Linux computer?

    No. As of now, it works only on Windows computers.