摘要: •Sign an Assembly with a strong Name1.Create the Web Part. (The steps are the same as the last summary.)2.Strong Naming a Web Part Assembly. Strong naming uses a private key to digitally sign an assembly. Strong naming also stamps the assembly with a public key to validate the signature. This techni 阅读全文
posted @ 2012-05-24 00:59 l'oiseau 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 在SharePoint2007中,自定义写代码,如何在SharePoint中使用该功能,简单总结为:1)写代码。2)创建一个强签名strong-name的Assembly.3)用程序注册.以下这篇博客写了creating and adding an event handler的全过程。http://farhanfaiz.wordpress.com/2007/12/31/creating-adding-an-event-handler/15/1)site下new doc lib - DLOne,add column - Comment。2)In VS->new project->Cl 阅读全文
posted @ 2012-05-24 00:46 l'oiseau 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 全局程序集缓存(GAC): 计算机范围内的代码缓存,它存储专门安装的程序集,这些程序集由计算机上的许多应用程序共享。在全局程序集缓存中部署的应用程序必须具有强名称。GAC全称是Global Assembly Cache,他的作用是可以存放一些有很多程序都要用到的公共Assembly,例如System.Data、System.Windows.Forms等等。这样,很多程序就可以从GAC里面取得Assembly,而不需要再把所有要用到的Assembly都拷贝到应用程序的执行目录下面。举例而言,如果没有GAC,那么势必每个WinForm程序的目录下就都要从C:\WINDOWS\Microsoft.N 阅读全文
posted @ 2012-05-24 00:07 l'oiseau 阅读(8020) 评论(0) 推荐(0) 编辑