Can we host an .xap in IIS? Can we have SL application without web project i.e. html and aspx pages? If yes, then how the silverlight application will be hosted and used?


+1 To address harsh downvoting.

Written by AnthonyWJones

I agree, this is a perfectly valid question.

Written by Town

Accepted Answer

Not sure why the harsh down-voting, as it is useful to know how to do raw Silverlight hosting, but you can host a XAP file pretty much anywhere. It is the Silverlight plugin that knows what to do with the file (much like the flash knows what to do with flash files hosted anywhere).

As an example these blog entries (my blog) show how to host a silverlight app/XAP for use in Wordpress:

At its most basic you do need a little bit of Javascript to fire up the Silverlight engine within the browser, which requires some sort of basic HTML page, so not sure why you would want to just (presumably) run the XAP as a download? Perhaps you can clarify?

Written by HiTech Magic
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the community.
It is licensed under cc-wiki