xbap 部署到IIS

来源:互联网 发布:屏蔽地区ip的js代码 编辑:程序博客网 时间:2024/05/21 10:26

部署XBAP

When you build a WPF Browser Application (see my previous post), three files are produced:

  • An executable file. The .exe file contains the compiled code. 
  • An application manifest. The .manifest file contains metadata associated with the application.
  • A deployment manifest. The .xbap file contains the information that ClickOnce uses to deploy the application.

As Microsoft says, in order to have your WPF Browser Application deployed, you just have to copy the .exe and these manifests to the webserver. It is not necessary to have the WPF runtime installed on the server, but you need to register the WPF MIME types and file extensions:

Extension

 

MIME Type

 

.manifest

application/manifest

.xaml

application/xaml+xml

.application

application/x-ms-application

.xbap

application/x-ms-xbap

.deploy

application/octet-stream

.xps

application/vnd.ms-xpsdocument

原创粉丝点击