Sharepoint本地bin部署可能吗? [英] Is Sharepoint local bin deployment possible?

查看:77
本文介绍了Sharepoint本地bin部署可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一个SharePoint解决方案,其中所有项目都具有强名称,并已部署到GAC。

I’ve inherited a SharePoint solution where all the projects have strong names and are deployed to the GAC.

我发现它很难处理已签名的项目,减慢了开发,测试的速度,并使调试变得困难。

I find that its difficult working with projects that are signed, it slows down development, testing and makes debugging difficult.

那么,是否可以将SharePoint项目,WebPart,Codebehinds等部署到本地bin而不是GAC?部署到本地垃圾箱是否被认为是不好的做法?

So, is it possible that SharePoint projects, WebParts, Codebehinds etc be deployed to the local bin instead of the GAC? Is it considered bad practice to deploy to the local bin?

推荐答案

对于所有WebParts& amp ;,始终建议将Bin目录用于GAC。背后的代码。由于这将限制对代码的信任,因此GAC对代码提供了完全的信任。

It is always recommanded to use the Bin directory over to GAC, for all the WebParts & Code Behinds. As that will restrict the Trust given to the code, GAC provides full trust to the code.

部署到垃圾箱后,您可以使用CAS获得所需的权限。

After deploying to the bin you can gain the required permission using CAS.

我建议您阅读 Windows SharePoint内部的一章应用程序安全性 Services 3.0 Book

I recommend you to read the chapter Application Security of Inside Windows SharePoint Services 3.0 Book

注意:您将必须将代码功能处理程序,计时器作业等部署到GAC

Note: You will have to deploy your code Feature Handler, Timer Job etc to the GAC

这篇关于Sharepoint本地bin部署可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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