Apache上如何部署silverlight

xinmeng08 2011-01-08 03:12:01
Apache上的httpd.conf文件已经添加了 mime类型了。但是 仍然不能显示
AddType application/xaml+xml .xaml
AddType application/x-silverlight-app .xap
...全文
306 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
jv9 2011-01-18
  • 打赏
  • 举报
回复
如果右键出现Silverlight,说明你的MIME类型配置没有问题,可能是你的应用Silverlight版本和客户端Runtime版本不符合造成无法显示的,试着更新客户端Runtime。
xinmeng08 2011-01-10
  • 打赏
  • 举报
回复
晕,这个问题还没解决,别急这收藏,

没有任何错误,右建的话有silverlight
z812183667 2011-01-10
  • 打赏
  • 举报
回复
收藏了,以后用得着!
dui_cky 2011-01-10
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 xinmeng08 的回复:]

没有任务错误,右建的话有silverlight
[/Quote]

右键有Silverlight? 那应该就是你页面的问题,lz可以用另外一个非常简单的页面(比如就放个button)测试下,看看是否能正常运行?
另外想问问,lz用Apache 的 服务器,tomcat , 还是 Geronimo ? 还是别的 ? 这两个种服务器跑我的Silverlight程序运行都是正常的。
xinmeng08 2011-01-10
  • 打赏
  • 举报
回复
没有任务错误,右建的话有silverlight
jv9 2011-01-10
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 xinmeng08 的回复:]
回复2楼,
在 httpd.conf加上了,依然没有反映

AddType application/xaml+xml .xaml
AddType application/x-msdownload .dll
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
Ad……
[/Quote]

没有反应的意思,是没有任何报错信息么?Silverlight客户端Runtime运行了么?
xinmeng08 2011-01-09
  • 打赏
  • 举报
回复
回复2楼,
在 httpd.conf加上了,依然没有反映

AddType application/xaml+xml .xaml
AddType application/x-msdownload .dll
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
AddType application/octet-stream .deploy
AddType application/x-silverlight-app .xap
ggt0906 2011-01-09
  • 打赏
  • 举报
回复
这个要收藏,以后会用到
jv9 2011-01-09
  • 打赏
  • 举报
回复
请参考:
Hosting Silverlight Applications on Apache Web Server

http://www.silverlightchina.net/html/developer/silverlight/2011/0108/4754.html
xinmeng08 2011-01-09
  • 打赏
  • 举报
回复
没有人用过?
xinmeng08 2011-01-08
  • 打赏
  • 举报
回复
跪求高手

8,736

社区成员

发帖
与我相关
我的任务
社区描述
WPF/Silverlight相关讨论
社区管理员
  • WPF/Silverlight社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧