Reputation: 14694
is it possbiel to host a silverlight application on a normal apache web server?
i mean without asp.net. (just like flash)
Upvotes: 1
Views: 624
Reputation: 49435
Silverlight can be hosted from apache just fine. The only thing you need to worry about is that you have the proper MIME types set up. You must have at least .xap
files set up to serve a content type of application/x-silverlight-app
. If your silverlight app is dynamically grabbing files from your server, you might need e.g. .xaml
files to be served as application/xaml+xml
.
To set MIME types with apache, you can either use the AddType
directive in a .htaccess
file, or edit apache's mime.types
file directly.
Upvotes: 2