Silverlight + SharePoint:在企业内网提供客户端更好的使用者经验

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Silverlight+SharePoint:在企业内网提供客户端更好的使用者经验卢昊产品营销经理台湾微软haulu@microsoft.com课程大纲在SharePoint上客制化开发当哈利遇见莎莉:SharePoint&Silverlight?SilverlightBlueprintforSharePoint(SL4SP)建构酷炫的SharePoint网站–AdventureWorksforSharePointQ&A课程大纲在SharePoint上客制化开发当哈利遇见莎莉:SharePoint&Silverlight?SilverlightBlueprintforSharePoint(SL4SP)建构酷炫的SharePoint网站–AdventureWorksforSharePointQ&ASharePoint=WSS&MOSSCustomCodingCustomWebPartsSiteDefinitionsWorkflowContentTypesMicrosoftVisualStudioWebsiteconstructionCreatelistsanddoclibsDesignWebpagesNo-codedataview/formsWebparthookupSharePointDesigner+BrowserSharePoint平台开发工具的选择SharePoint平台客制化的选择不一定所有的客制化需求都需要写程序两套客制化方式,让开发人员选择最快速路程OfficeSharePointDesigner也是开发工具,能够省去开发人员相当多的时间善用DataView/DataFormWebPartMasterPage客制化、建置CSSConditionalFormatting…SharePointDesigner2007建构新的SharePoint网站并进行表现层客制化无程序代码设计(NoC#/VB.NETcode)支援IntelliSense支援ASP.NET控件可检视与使用Webpart和DatasourceVisualStudio2008IDEforcreatingassemblies,server/usercontrolsandadvancedworkflows直接呼叫SharePointobjectmodel支援IntelliSense藉由TeamFoundationServer可进行完整的程序代码控制(SourceControl)VisualStudioExtensionsforWSSv1.2(VSeWSS1.2)VisualStudio2008上的Add-on,可以轻轻松松建置与布署SharePoint客制化专案提供繁体中文版下载VS2005使用者应下载1.1版Build&deploy提供各式范本自动产生SolutionPackageVSeWSS1.3CTP版已经推出支援64-bitVSeWSS1.2ItemTemplatesListDefinitionContentTypeFieldControlWebPartModuleTemplateEventReceiverListInstanceListDefinitionfromContentTypeWSPView&BuildWSPViewView-OtherWindowsBuildandDeploySETUP.BATSolutionGeneratorDemoSharePoint开发HelloWorldWebPartSPVirtualServerSPWebServerSPGlobalAdminSPSiteSPWebSPListSPListItemSPControlSharePointSitesSharePoint对象模型WebPartsWebPagesSmart以及MobileClientsWebServices使用SharePoint对象模型-直接存取ObjectModelDemoSharePointObjectModel课程大纲在SharePoint上客制化开发当哈利遇见莎莉:SharePoint&Silverlight?SilverlightBlueprintforSharePoint(SL4SP)建构酷炫的SharePoint网站–AdventureWorksforSharePointQ&AEvolveBaselineTemplates…当哈利遇见莎莉Tothis…SharePoint&Silverlight-Why?•藉由更好的互动性增进使用者经验•更酷更炫的网站•谱出美工与开发人员的爱情•XAML&Code-behind•更有效的管控网页程序•支持多种语言:C#/VB.Netanddynamiclanguages(e.g.JavaScript,Ruby,Python,etc.)DemoSharePoint&SilverlightinAction课程大纲在SharePoint上客制化开发当哈利遇见莎莉:SharePoint&Silverlight?SilverlightBlueprintforSharePoint(SL4SP)建构酷炫的SharePoint网站–AdventureWorksforSharePointQ&A开发环境Silverlight2VisualStudio2008VisualStudioToolsforSilverlight2MicrosoftExpressionBlendSilverlight2SDKSharePointMOSS2007(Enterprise)WSS3.0SP1(orMOSS2007SP1)VisualStudioExtensionsforWSS(VSeWSS)1.2重要设定(手动).NETFramework3.5(forSilverlight2.0)将System.Web.Silverlight.dll布署到GACDLL可在SilverlightSDK中找到在IISWebapplication中设定MIMEtype对应至.XAP.xap-application/x-silverlight-2修改web.config使其支援Silverlight2基本中度高度StreamingServicesiframe/置放于WebPart.NETAssemblyCustomSPObjectWebPart与Silverlight结合ContentEditorWebPart藉由HTML程序代码在SharePoint加入SilverlightHTMLTextWriterclass在WebPart中呼叫HTMLTextWriter写出呼叫Silverlight的HTML码以WebPart方式开发RequiredAssembliesSystem.Web.Extensions.dllSystem.Web.Silverlight.dllAlsoScriptManageronPageAddSilverlightcontrolControlproperties…protectedoverridevoidCreateChildControls(){System.Web.UI.SilverlightControls.SilverlightmyCustomForm=newSystem.Web.UI.SilverlightControls.Silverlight();myCustomForm.ID=myCustomForm;myCustomForm.Source==newSystem.Web.UI.WebControls.Unit(475);myCustomForm.Height=newSystem.Web.UI.WebControls.Unit(300);this.Controls.Add(myCustomForm);}…DemoSilverlight&ContentEditorWebPartDemoHelloWorldSilverlightWebPart自定义域类型(CustomFieldType)使用Silverlight作为自定义域类型的控件InitParametersHiddenfieldCreateSilverlightappCreateSharePointprojectwithcustomfieldtype页面层级的Silverlight客制化用Silverlight作为基础页面美工项目藉由SharePointDesigner修改MasterPage客制化导览列跨sitecollection的MasterPage客制化重要讯息或广告轮播课程大纲在SharePoint上客制化开发当哈利遇见莎莉:SharePoint&Silverlight?SilverlightBlueprintforSharePoint(SL4SP)建构酷炫的SharePoint网站–AdventureWorksforSharePointQ&ADemoAdventureWorksSharePoint网站使用Silverlight与SharePointDesigner客制导览列使用Silverlight与SharePointDesigner客制导览列架构图使用Silverlight与SharePointDesigner客制导览列MasterPageOut-of-the-boxasp:SiteMapPathControlaw:MenuID=CurrentNavrunat=serverdatasourceID=SiteMapDSorientation=VerticalStaticDisplayLevels=1MaximumDynamicDisplayLevels=0StaticSubMenuIndent=1ItemWrap=trueAccessKey=3CssClass=leftNavSkipLinkText=%$Resources:cms,masterpages_skiplinktext%LevelMenuItemStylesasp:MenuItemStyleCssClass=leftNav1/…/aw:MenuCustomWebServerControldivid=navigationdivclass=navigation_mainAWSL:AWNavigationrunat=servernavigationMapProvider=SPSiteMapProvider_/AWSL:AWNavigation/div/div使用Silverlight与SharePointDesigner客制导览列WebServerControl注册ScriptManager找到导览列内容(节点)产生Silverlight导览列将信息传递给Silverlight导览列绘制(Renders)出Silverlight导览列使用Silverlight与SharePointDesigner客制导览列Silverlight导览列接收到启动参数(导览节点)注册storyboards&eventhandlers动态产生导览列选单提供互动功能DemoAdventureWorks导览列使用Silverlight连结搜寻服务呼叫SharePointWebServices用于展现存放在SharePoint图片库中的多媒体档案Silverlight程序透过呼叫SharePoint的Webservice进行数据交换使用Silverlight连结搜寻服务架构图使用Silverlight连结搜寻服务DesignPatternWebPartReusablehostingcontainerWebandWCFServices在SharePointServer中布署SOA的方式让其他组件呼叫SharePoint搜寻服务SilverlightAp

1 / 47
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功