摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
将你的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 阅读全文
摘要:
1. 在已有项目的基础上进行开发,对于新需求存在的风险和可行性进行评估。2. 需要介入计划的编制和开发时间的评估。3. 文件存放要用MOSS的list存放,不要放在自己建立的文件夹。(没有版本控制功能,部署更新困难)4. HTML Template的设计要符合W3C标准,并应尽量简单,复杂的样式和div嵌套会导致很多多浏览器的兼容问题。5. 使用面向对象的思想去设计访问SharePoint List和实现逻辑,可提供很大灵活性和重用性。多层的结构是必要的。6. 开发多语言网站时,可考虑使用MOSS的变体功能和.NET的resouces提供的功能。7. 考虑多语言对Search功能的限制。8. 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
目录 类与结构的实例比较 类与结构的差别 如何选择结构还是类 一.类与结构的示例比较: 结构示例: 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 阅读全文
摘要:
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应用程序中用到的页面。 阅读全文
摘要:
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 阅读全文