开发者

Sharepoint with silverlight app

开发者 https://www.devze.com 2023-03-28 20:04 出处:网络
I am new to Sharepoint. I wrote a simple RIA 开发者_开发技巧MCF silverlight app which runs all the queries right on my server. Now I tried make it available on a Sharepoint testing site. I loaded the

I am new to Sharepoint. I wrote a simple RIA 开发者_开发技巧MCF silverlight app which runs all the queries right on my server. Now I tried make it available on a Sharepoint testing site. I loaded the xap file but Sharepoint throws me tons of load operation exceptions when it tries to load the app, apparently having problems with the EDM in the app. What do I need to do here? Is the xap the only thing I need to load on the shared documents folder? Thanks.


Justin,

There are few steps you need to follow to load the Silverlight XAP in sharepoint.

  1. You need to create RIA service as an independently hostable web application (.svc) Follow the guidelines available here
  2. Once you have the solution ready. Host service on IIS and make sure that it is functioning correctly.
  3. Configure the .svc in the web.config of the hosting web application and access the same in your silverlight application as below

    new LoggingContext(new Uri(ConfigurationManager.AppSettings["LoggingServiceUrl"]);

  4. Load the xap on sharepoint site and in the configuration section provide links to .svc services.

    Sharepoint with silverlight app

0

精彩评论

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