Running a Silverlight Application
I have a Silverlight Application (3.0) that I have made changes to in Visual Studio and I can debug th开发者_运维知识库e application just fine. My question is what are the steps in getting the application to run through IIS? Visual Studio's project folder for my app is called SilverlightApplication and within that folder it has another SilverlightApplication folder and a folder called SilverlightApplication.Web I assume I copy of of these to C:\Inetpub\wwwroot. Any additional steps?
Many thanks
The first step is to register the MIME types, if not registered already.
The following link contains info on that: http://learn.iis.net/page.aspx/262/configuring-iis-for-silverlight-applications/ The second step is to copy the clientaccesspolicy.xml to the wwwroot, if you have one. This file is only necessary for cross domain calls, what does not appear to be your case. After that you can just deploy the app just like any other ASP.NET app.
精彩评论