Are there any problems to host a Silverlight application on a Linux server?

I am creating a new Silverlight application for a photography studio. I was going to say, "You must have a Windows-based server," and then I thought that was so? No, it seems. Therefore, I could point him to the Linux host.

I know that you need to register MIME types (from another SO stream). Are there any other reservations or errors that I need to know about? Suppose for a second that I know almost nothing about Linux.

Edit: what if the application needs to talk to the database (mySQL)? Looks like I need Moonlight to get this that won't fly.

+4
source share
4 answers

The only thing you need to do is make sure that the web server provides the correct MIME type for .xap (which is the / x -silverlight-app application). What is it.

+7
source

There is nothing to prevent you from hosting the Silverlight (Client Plug-in) application on any web server on any platform.

+3
source

Silverlight is a client technology. There is nothign (but MIME types) that are required to be hosted on servers other than MS. But if you have server code (e.g. web services or REST APIs that speak with your mySQL db), this server technology should work on Linux. It is completely separate from Silverlight. You might want to make server-side material using Java or PHP (or another platform compatible with Linux), but Silverlight does not care about what it says, and can easily be served on a platform other than MS.

+1
source

As for your editing (in mysql) - no, you won't need Moonlight (as well as the client). You will need to expose the functionality of your database through a service level similar to Sean's notes.

0
source

All Articles