Silverlight的运行与Apache服务器(在Linux) [英] Run Silverlight with Apache Server (Under linux)

查看:259
本文介绍了Silverlight的运行与Apache服务器(在Linux)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要部署一个Silverlight 2.0的应用程序的Apache服务器,但它是在Linux下。

I need to deploy a Silverlight 2.0 application to an Apache Server, but it's under Linux.

这可能吗?我的意思是,我需要的.Net 3.5安装在服务器上,并可以执行Asp.Net一个网站?

Is this possible? I mean, Do I need .Net 3.5 installed in the server and a Web Site that can execute Asp.Net?

感谢您的帮助...

推荐答案

如果Apache服务器只是提供了不带任何ASPX页面的Silverlight应用程序,那么你应该罚款。 Silverlight是一个客户端技术,所以它不应该要求在服务器上的.NET(当然,除非你是主办ASPX页面上的Silverlight应用程序)。

If the apache server is just serving up the silverlight application without any ASPX pages then you should be fine. Silverlight is a client side technology so it shouldn't require .NET on the server (unless of course you are hosting the silverlight application on an ASPX page).

如果您要查看从客户机上运行Linux的Silverlight内容,那么你就需要考虑安装月光萨姆指出。

If you want to view the silverlight content from a client machine running linux then you will need to look into installing Moonlight as Sam pointed out.

编辑:蒂姆·斯尼斯有一个<一个href=\"http://blogs.msdn.com/tims/archive/2008/03/18/configuring-a-web-server-to-host-silverlight-content.aspx\">blog帖子解释需要在Web服务器上配置成能够承载Silverlight内容是什么。总之你需要配置以下MIME类型:

Tim Sneath has a blog post that explains what needs to be configured on the web server to be able to host silverlight content. In short you need configure the following MIME types:

的.xaml - 应用程序/ XAML + XML

.xaml - application/xaml+xml

.xap文件 - 应用程序/ x-silverlight的应用

.xap - application/x-silverlight-app

这篇关于Silverlight的运行与Apache服务器(在Linux)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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