开发者

Running a Silverlight Application

开发者 https://www.devze.com 2023-01-09 00:54 出处:网络
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 applicat

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号