在Linux服务器上托管Silverlight应用程序有什么麻烦吗? [英] are there any gotchas for hosting a Silverlight app on a Linux server?
问题描述
我正在为摄影工作室开发一个新的Silverlight应用程序.我正要说您必须拥有一个基于Windows的服务器来托管它",然后我想,等等,对吗?看起来不是.因此,我可以将他指向Linux主机.
I'm building a new Silverlight app for a photography studio. I was about to say "you have to have a Windows-based server hosting it" and then I thought, wait is that right? Looks like it's not. So I could point him toward a Linux host.
我知道您必须注册MIME类型(来自其他SO线程).我还需要了解其他警告或陷阱吗?假设我对Linux几乎一无所知.
I know you have to register the MIME types (from a different SO thread). Are there any other caveats or gotchas that I need to know about? Assume for a second that I know next to nothing about Linux.
如果应用程序需要与数据库(mySQL)通讯,该怎么办?似乎我需要月光才能使它继续前进,而这不会飞.
what if the app needs to talk to a database (mySQL)? Seems like I'd need to have Moonlight to get that going, which isn't gonna fly.
推荐答案
您唯一需要做的就是确保Web服务器为.xap(应用程序/x-silverlight-app)提供正确的MIME类型.就是这样.
The only thing you have to do is ensure the web server delivers the correct MIME type for the .xap (which is application/x-silverlight-app). That's it.
这篇关于在Linux服务器上托管Silverlight应用程序有什么麻烦吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!