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

我希望有更好的方法!