SharePoint中调试SilverLight程序
摘要:一、修改SilverLight项目属性中Build输出目录,为SharePoint安装目录下的_layouts/ClientBin/ProjectName/二、修改SharePoint项目属性中SharePoint的SilverLight调试为选中启用状态。
阅读全文
posted @
2011-02-25 23:14
欣静赏悦
阅读(191)
推荐(0)
TroubleShoot:SilverLight中Wcf调用时出现Not Found等错误
摘要:一、错误描述:由于项目才接触WCF,配置及调试的过程中,出现的错误,搞的头大,现综合下原因及解决方案。调用时返回Not Found、Request Failed等错误。二、项目环境:SharePoint 2010、SilverLight 4、Sql 2008、Ado.net、WCF三、错误原因:一般是在SharePoint上使用时,易出现以下问题:1、出现跨域问题2、大数据量传递问题3、请求超时问题4、传递实体类不能序列化问题四、解决方案:1、添加clientaccesspolicy.xml文件放在IIS的根目录或应用程序下;检查SL中生成的配置文件xxx.ClientConfig 中endp
阅读全文
posted @
2011-02-25 23:04
欣静赏悦
阅读(282)
推荐(0)
SharePoint 2010之部署WCF
摘要:sharepoint 2010上部署WCF方法和步骤整理如下:· 在sharepoint project中创建WCF文件,保证运行正常· 增加svc文件到layouts文件夹 a) Add SharePoint “Layouts” Mapped Folder --> add a xml file named "WCFService.svc" b)替换上述创建的svc文件内容: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$"%> <% @Serv
阅读全文
posted @
2011-02-23 23:51
欣静赏悦
阅读(476)
推荐(0)