choral's blog

Tech-on-Office

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  30 随笔 :: 2 文章 :: 44 评论 :: 5 引用

2006年6月17日 #

俺搬到博客堂去了:

http://blog.joycode.com/choral/

posted @ 2006-06-17 01:22 choral 阅读(606) | 评论 (1)编辑

2006年6月16日 #

我觉得,Tech-Ed要是3天或4天就完美了。开这么多天觉得像回到了中学时代:)这几天听SharePoint快听吐了…………

-=1=- OFC326 - Enterprise Search Technical Drilldown in Microsoft Office SharePoint Server 2007

这个Session介绍了MOSS中的搜索有那些突破。
记下来的几个点:
Search Scope可以设置为某个元数据列
不再有Search服务器了,而换为Query服务器
索引记录采用Shadow Indexes技术,每次不是传递整个索引,而是实时的,读写效率更高。
Query Reporting

-=2=- 动手实验,InfoPath Services和Content Type

没啥好说的,弄清楚了究竟怎么把InfoPath模板发布成用浏览器填写的表单,以及怎么编辑用于录入文档元数据的InfoPath表单头。
存疑:第一天的时候看一个演示,可以把Word文档文档中的文本框和元数据录入的文本框绑定起来……不知道怎么做的……

-=3=- OFC331 - Creating and Using Outlook Add-ins in Visual Studio 2005 Tools for Microsoft Office (VSTO)

这个一般,可以在MSDN上找到许多这样的开发例子。

-=4=- OFC336 Building Custom Server Solutions with the New Excel Services

在李辉的鼓动下看了这个Session,确实很精彩。演示了如何把一个Excel文档发布到SharePoint上,再通过调用Excel Service的API读写这个Excel文档,甚至如何利用Excel的Add-In在Excel客户端调用ExcelService。
相信这个Service会有很大的空间。

-=5=- a party @ Fenway Park

这个公园是美国联盟冠军棒球队波士顿红袜的主场,MS包下了整个体育场供Tech-Ed的参会者参观。MS面子确实很大,弄了几十辆SchoolBus把人从会场运到体育场。有警车开路,并且封锁路口,使车队一路畅通,连Boston的城铁都要停在路口等……
最后有两个乐队的演出。现场比较火暴,还出现了一个歌迷从舞台边摔下去的事故……
posted @ 2006-06-16 22:31 choral 阅读(304) | 评论 (1)编辑

2006年6月15日 #

     摘要: -=1=- OFC216 - Using the Web Content Management Features of Microsoft Office SharePoint Server 2007 to Build Great Looking Sites
-=2=- OFC320 - Infrastructure Topics in SharePoint Products and Technologies: Administrative Architecture and Planning for Deployment
-=3=- OFC417 - Infrastructure Topics in SharePoint Products and Technologies: Deployment and Advanced Administration Topics
-=4=- OFC321 - Connecting Portals to Line-of-Business Data with the Microsoft Office SharePoint Serv  阅读全文
posted @ 2006-06-15 11:50 choral 阅读(836) | 评论 (1)编辑

2006年6月14日 #

     摘要: -=1=- OFC406 - Windows SharePoint Services (version 3) Development 2: ASP.NET, Web Parts, Master Pages, Field Types, and More
-=2=- OFC308 - Windows SharePoint Services (version 3) Development: Using Feature and Solution Definitions for Constructing Custom SharePoint Sites
-=3=-OFC309 - The 2007 Microsoft Office System: Developer Model for the New User Interface
-=4=-OFC312 - Developing Workflows for the 2007 Microsoft Office System and Windows SharePoint Services (version 3)
-=  阅读全文
posted @ 2006-06-14 12:31 choral 阅读(776) | 评论 (0)编辑

2006年6月13日 #

     摘要: 今天,正式的breaksession开始了。
My Schedule:
-=1=- OFC218 - Microsoft Office InfoPath 2007: Office Integration and Collaboration Scenarios
-=2=- Ajaxian Webparts dev on SharePoint
-=3=-WSSv3与OSS2007 Overview
-=4=-OFC303 - Windows SharePoint Services (version 3) Development 1: Working with Content Types, Field Types, and Other Facilities for SharePoint Lists and Libraries

  阅读全文
posted @ 2006-06-13 13:16 choral 阅读(1294) | 评论 (0)编辑

2006年6月12日 #

我和李辉住在Hotel Marlowe,离会场(Boston会展中心)很近。接送大巴15分钟一趟,十分方便。

上午注册,领了书包和狗牌。书包里内容丰富,包括SharePointV3的DVD和O12的光碟,以及LonghornServer等等。在Conference Store买了件Geek T-Shirt,然后定制了后面几天的课程安排。

下午没有Session,于是逛了一下街。Boston很漂亮,我们一开始觉得城市里好像没什么人的原因估计是因为住的地方不算城里。哈哈。

晚上的Keynote从7点开始,但因为乘坐观览车所以迟到,从半截开始看的,MS请来了Fox 24的女主演。可我没看过这个电视剧。宣传片的其他主要搞笑演员则都是微软员工,包括SteveB。
主题是4promises。不过原谅我没记下来,只记住了最后一个是amplify所有成员的impact(用sharepoint)。但我记下了女主演的搞笑4承诺。

本来想详细介绍一下书包里的资料内容的。但实在没有精力了。hoho。

My Geek T-shirt:
 

 

 

 


posted @ 2006-06-12 20:10 choral 阅读(996) | 评论 (6)编辑

2006年6月11日 #

波士顿罗根机场里已经挂满了宣传画,大巴专线也已就绪。

c u tmr :)   

posted @ 2006-06-11 10:27 choral 阅读(110) | 评论 (0)编辑

2006年5月26日 #

1、就算你在沉默地Coding如筛砂,你也要心怀高尔夫球般的梦想…………

技术人员转型秘笈


2、使用ASP.NET 2.0 client callback特性创建支持AJAX的WebPart

http://fengzhimei.cnblogs.com/archive/2006/05/26/410032.html

posted @ 2006-05-26 22:45 choral 阅读(294) | 评论 (2)编辑

2006年5月24日 #

SharePoint Server 2007: Software Development Kit
http://www.microsoft.com/downloads/details.aspx?familyid=6d94e307-67d9-41ac-b2d6-0074d6286fa9&displaylang=en

Windows SharePoint Services V3: Software Development Kit
http://www.microsoft.com/downloads/details.aspx?familyid=05e0dd12-8394-402b-8936-a07fe8afaffd&displaylang=en

另外,如果你正要开始安装OSS2007,请参考Kaneboy的如下文章:http://blog.joycode.com/kaneboy/archive/2006/05/24/76220.aspx
posted @ 2006-05-24 01:21 choral 阅读(205) | 评论 (0)编辑

2006年5月19日 #

不说废话了,首先,我参考了Muller的这篇文章:
http://blogs.tamtam.nl/mart/CommentView,guid,a34071a0-ad27-44c7-aa78-3f956d6f920e.aspx

做法也基本照抄:
1、打开VS2005,新建工程(Class Library)
2、引用System.Web,Microsoft.SharePoint.dll,并将当前开发的类继承自:System.Web.UI.WebControls.WebParts.WebPart
3、重载Render函数:protected override void Render(HtmlTextWriter writer)
4、在Render中加入自己的代码:

using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint;

namespace NewWebPart
{
    
public class ChoralPart : System.Web.UI.WebControls.WebParts.WebPart
    
{
        
protected override void Render(HtmlTextWriter writer)
        
{
            writer.Write(
"Hello, world!<br>");
            SPWeb web 
= SPControl.GetContextWeb(Context);
            writer.Write(
"You're visiting the site: " + web.Title);
        }

    }

}

可以看出来,获取当前网站等操作仍然延续从前的方法。

5、使用强命名编译(在工程属性中选择“signing”,新建key)
6、将此dll拖到GAC的目录中:c:\windows\assemblies
7、在Web.Config里加入此WebPart的注册信息:
例如:<SafeControl Assembly="NewWebPart, Version=1.0.0.1, Culture=neutral, PublicKeyToken=785180fe41b26686" Namespace="NewWebPart" TypeName="*" Safe="True" />
:我的环境下这个web.config位置(即IIS上WSS3的虚拟目录)为:
C:\Inetpub\wwwroot\wss\VirtualDirectories\3eb911e5-7223-4f5a-b1cf-46d53ee65b52
不知道是测试版的原因还是什么?也可能是因为我安装的时候旧的WSS没有卸载。
8、在网站集管理页面中,选择Galleries的Web Parts
9、点击“New”
10、选中自己的webpart,点击Populate Gallery,此webpart就可以在网站上使用了。
11、将此webpart添加到首页:


另外,我尝试了将此WebPart部署到Bin目录里,也修改了web.config的trust level,重启了IIS,但始终报AllowPartiallyTrustedCallersAttribute的错误。
posted @ 2006-05-19 23:12 choral 阅读(1416) | 评论 (3)编辑