摘要: MOSS 2007 and Code Access Security Download Sample Custom Policy File Have you ever written a web part or a web service? If yes then you must have dealt with a security problem. Writing a web part or web service may not be a big issue but deploying them is certainly a headache. You start getting pe 阅读全文
posted @ 2010-12-29 22:53 Jason Li 2011 阅读(178) 评论(0) 推荐(0) 编辑
摘要: CollaDec FriendlyQuery类库(beta)说明 系统需求 Windows Server 2003 .Net Framework 2.0 Windows SharePoint Services 3.0 或 Microsoft Office SharePoint Server 2007 使用说明 解压文件FriendlyQuery.zip得到CollaDec.FQuery.dll。在Visual Studio 2005中添加引用项引用此dll即可。在使用此类库的同时,请添加对Microsoft.SharePoint.dll的引用。该类库的命名空间为CollaDec.Too 阅读全文
posted @ 2010-12-29 22:49 Jason Li 2011 阅读(561) 评论(0) 推荐(0) 编辑
摘要: MOSS站点的迁移(备份还原) 2008-06-17 09:25 本文所述的方法适合以下情况 将站点从测试服务器场迁移到正式的服务器场 备份和还原服务器场里的站点 备份还原功能不能做什么?不能备份和还原以下内容Custom solutions deployed(发布到WSS站点的自定义的应用程序)lternate access mappingInternet Information Services metabase可以备份但不能还原以下内容Sharpoint配置数据库SharePoint_Config管理中心IIS站点和应用程序管理中心数据库SharePoint_AdminConte 阅读全文
posted @ 2010-12-29 22:48 Jason Li 2011 阅读(522) 评论(3) 推荐(0) 编辑
摘要: MOSS中有两种页面:Site Pages 和Application Pages,他们分别使用不同的母版页,Site Pages 使用的是 Default.master, Application Pages使用的是Application.master。我们下面讨论的主要是针对 default.master的,因为Application.master是不支持被定制的。 Default.master 在安装目录的C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\目录下,站 阅读全文
posted @ 2010-12-29 22:47 Jason Li 2011 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 关于MOSS 2007的Content Types 1.概述 在WSS2.0中,一个List是由应用于List的每个列表项的一套所需字段定义的.拥有单一一套字段意味着每个列表项和它的位置紧密关联.在某个位置的所有列表项只能和那些为List或文档库所定义的列相关联.在WSS3.0中,List以content types的形式包含了多重的架构.Content Type提供了封装数据schema以及使之独立于在sharepoint 站点上的位置.Conent Type 帮助用户组织存储在SharePoint站点上的文档和其它资料.对于开发者,一个content type提供了一种定义和使用meata 阅读全文
posted @ 2010-12-29 22:44 Jason Li 2011 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Best Practices: Common Coding Issues When Using the SharePoint Object Model Summary: Learn about common issues encountered by developers who write custom code by using the SharePoint object model. (7 printed pages) Scott Harris, Microsoft Corporation Mike Ammerlaan, Microsoft Corporation Septemb 阅读全文
posted @ 2010-12-29 22:43 Jason Li 2011 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Best Practices: Using Disposable Windows SharePoint Services Objects Summary: Learn the appropriate ways to write your code when using Microsoft Windows SharePoint Services objects so that you can avoid retaining the objects in memory with the Microsoft .NET Framework. (24 printed pages) Scott Har 阅读全文
posted @ 2010-12-29 22:42 Jason Li 2011 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Free the SPWeb! jannemattila 29 Jun 2007 10:30 AM Comments 7 Every SharePoint developer knows that you need to free resources that you have used... like SPWeb (and others too!). Most often freeing up the resources are easily managed with the nice using -statement like this: But you can do that 阅读全文
posted @ 2010-12-29 22:41 Jason Li 2011 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 将你的Asp.NET应用程序嵌入到SharePoint 为什么要将Asp.net应用程序嵌入到SharePoint?这个我们不讨论!我们将要讨论的是如何将Asp.net应用程序嵌入到SharePoint,以及其中可能会遇到的问题。 正文开始: 我们这里是建立了一个Web应用程序里面有一个Demo.aspx页,代码如下: namespace WebInMOSS { public partial class _Demo: System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Response.Writ 阅读全文
posted @ 2010-12-29 22:39 Jason Li 2011 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 1. 在已有项目的基础上进行开发,对于新需求存在的风险和可行性进行评估。2. 需要介入计划的编制和开发时间的评估。3. 文件存放要用MOSS的list存放,不要放在自己建立的文件夹。(没有版本控制功能,部署更新困难)4. HTML Template的设计要符合W3C标准,并应尽量简单,复杂的样式和div嵌套会导致很多多浏览器的兼容问题。5. 使用面向对象的思想去设计访问SharePoint List和实现逻辑,可提供很大灵活性和重用性。多层的结构是必要的。6. 开发多语言网站时,可考虑使用MOSS的变体功能和.NET的resouces提供的功能。7. 考虑多语言对Search功能的限制。8. 阅读全文
posted @ 2010-12-29 22:37 Jason Li 2011 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Code-blocks are not allowed in this file: Using Server-Side Code with SharePoint If you use the Microsoft Office SharePoint Designer to add a new page to your site, you will see that it looks just like any other ASP.NET page. Open up your site with the SharePoint Designer, and then go to the Pages 阅读全文
posted @ 2010-12-29 22:35 Jason Li 2011 阅读(510) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Web Services or .NET Remoting: How to Choose Priya DhawanTim EwaldMicrosoft Developer Network September 2002 Applies to:Microsoft® ASP.NET Web servicesMicrosoft® .NET FrameworkMicrosoft® .NET Remoting Summary: Understand how the Microsoft .NET Remoting infrastructure and Microsoft ASP.NET 阅读全文
posted @ 2010-12-29 22:34 Jason Li 2011 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 目录 类与结构的实例比较 类与结构的差别 如何选择结构还是类 一.类与结构的示例比较: 结构示例: public struct person { string name; int height; int weight public bool overweight() { //implement something } } 类示例: public class testtime { int hours; int minutes; int seconds; public void passtime() { //implementation of behavior } } 调用过程: public c 阅读全文
posted @ 2010-12-29 22:32 Jason Li 2011 阅读(162) 评论(0) 推荐(0) 编辑
摘要: SharePoint Server 2007 页面模型 虽然SharePoint Server 2007使用了ASP.NET 2.0的基础页面模型,SharePoint页面基本上也是基于标准的aspx技术来构建,但SharePoint Server 2007的页面模型仍然要比普通的ASP.NET应用复杂很多。对于一个SharePoint开发人员(和设计人员),了解SharePoint的页面模型是非常非常重要的。 在SharePoint 2007中,将页面分为两种:Application Page和Site Page。Application Page是指SharePoint应用程序中用到的页面。 阅读全文
posted @ 2010-12-29 22:28 Jason Li 2011 阅读(179) 评论(0) 推荐(0) 编辑
摘要: MOSS 2007基础:WSS 3.0 中的母版页(Master Pages)和内容页(Content Pages) ZDNet 软件频道更新时间:2007-09-04作者:sunmoonfire来源:blog 本文关键词: 母版MOSSSharePointSharePoint2007 这篇很短的文章展示了ASP.NET2.0中的母板页和内容页在Windows SharePoint Services v3.0中的应用。WSS 3.0 是在ASP.NET 2.0 的基础上实现的,所以WSS 3.0中母板页/内容页也是基于ASP.NET 2.0中的相应功能而实现站点定制的。网上已经有很多介绍 阅读全文
posted @ 2010-12-29 22:27 Jason Li 2011 阅读(233) 评论(0) 推荐(0) 编辑
摘要: How to: Create a Minimal Master Page One of the first tasks that you must complete when configuring a Microsoft Office SharePoint Server 2007 Web site is to create one or more master pages. A master page contains references to elements that you can share across multiple pages in an Office SharePoint 阅读全文
posted @ 2010-12-29 22:27 Jason Li 2011 阅读(292) 评论(0) 推荐(0) 编辑
摘要: All Solutions Many of the solutions below are Visio diagrams. You can download the Visio 2007 Viewer if you do not have Visio installed. Solutions Using the 2007 Office System Solution Description Products Deploying the 2007 Office System with Limited Network Capacity If you are deploying 2007 Micr 阅读全文
posted @ 2010-12-29 22:26 Jason Li 2011 阅读(406) 评论(0) 推荐(0) 编辑
摘要: SharePoint 2007 性能优化--IIS压缩 2007-10-26 09:21 作者:水手 来源:csdn [摘要] IIS压缩并不是一项新技术,但对于SharePoint站点而言,IIS压缩能起到很大的作用。 [关键字] SharePoint IIS压缩 IIS压缩并不是一项新技术,但对于SharePoint站点而言,IIS压缩能起到很大的作用。在IIS服务器上启用IIS压缩功能之后,在IIS服务器把页面内容发送给浏览器之前,会在服务器上先把内容进行压缩,然后发送压缩后的数据,浏览器接收到数据后,会自动进行解压,然后显示。由于在网络上传输的数据被压缩了,所以可以将页面内容更快的 阅读全文
posted @ 2010-12-29 22:24 Jason Li 2011 阅读(282) 评论(0) 推荐(0) 编辑
摘要: MOSS 2007 Enterprise Content Management and Vista Gadgets Internet facing WCM site performance optimizations Ya i am writing after a long break but will post regularly from now on. So I will share some pointers to optimizing performance for a WCM site. Master Pages and Layouts as Features On mos 阅读全文
posted @ 2010-12-29 22:23 Jason Li 2011 阅读(151) 评论(0) 推荐(0) 编辑
摘要: SharePoint 2007 Web Content Management 性能优化系列 1 - 做好拓扑架构规划 是的,你可能有些意外,但如果希望你的SharePoint WCM应用有好的性能,第一个要做的,就是在正式开始动手前,好好规划一下整个服务器场的拓扑结构。 SharePoint 2007支持服务器场部署,我们可以将前端Web服务器、应用服务器(包括Index服务器、Query服务器、文档转换服务器、Excel Services服务器等)和数据库服务器分开部署。最小的服务器场规模,可以将所有服务器角色安装到一台物理服务器上,而对于大型应用而言,将各个服务器角色分开部署到单独的物理服 阅读全文
posted @ 2010-12-29 22:20 Jason Li 2011 阅读(243) 评论(0) 推荐(0) 编辑