SharePoint 2010中的沙盒Web部件 [英] sandboxed web parts inside SharePoint 2010

查看:110
本文介绍了SharePoint 2010中的沙盒Web部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在ASP.NET(框架> 2.0)中开发Web部件,具有沙箱体系结构并将这些Web部件部署在Share Point 2010和/或MOSS 2007中?

Is it possible to develop a web-part in ASP.NET (framework > 2.0), to have a sandbox architecture, and deploy those web parts inside Share Point 2010 and/or MOSS 2007

我们不想将任何SharePoint dll引用与我们开发的Web部件一起使用.

we donot want to use any SharePoint dll reference with web parts we develop.

我们引用 http://msdn.microsoft .com/en-us/library/ee539417.aspx (沙盒解决方案中的Web部件部分)

we refer to the url, section at http://msdn.microsoft.com/en-us/library/ee539417.aspx (section Web Parts in Sandboxed Solutions)

推荐答案

我刚刚遇到了这个问题-看起来这并不意味着真的很烦人.

I've just hit this problem - looks like it's not meant to be possible which is really annoying.

请参阅: http://msdn.microsoft.com/en-us/library/gg615454.aspx

特别是:

应用程序页面,移动页面和用户控件(.ascx文件)不能部署在沙盒解决方案中.

Application pages, mobile pages, and user controls (.ascx files) cannot be deployed in a sandboxed solution.

但是,这里有一个变通方法(变通方法!):

However, there is a workaround (hackaround!) here:

http: //stefan-stanev-sharepoint-blog.blogspot.com/2010/02/visual-sandbox-web-parts-possible-after.html

我希望有更好的方法!

这篇关于SharePoint 2010中的沙盒Web部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆