Silverlight + SharePoint:在企业内网提供客户端更好的使用者经验 产品营销经理 课程大纲 在SharePoint上客制化开发 当哈利遇见莎莉: SharePoint& Silverlight? Silvernt for SharePoint (SL4SP) 建构酷炫的SharePoint网站– AdventureWorks for SharePoint Q & A Evolve Baseline Templates… 当哈利遇见莎莉 To this… SharePoint & Silverlight - Why? 藉由更好的互动性增进使用者经验 更酷更炫的网站 谱出美工与开发人员的爱情 XAML & Code-behind 更有效的管控网页程序 支持多种语言: C#/ and dynamic languages (. JavaScript, Ruby, Python, etc.) Demo SharePoint & Silverlight in Action 课程大纲 在SharePoint上客制化开发 当哈利遇见莎莉: SharePoint& Silverlight? Silverlight Blueprint for SharePoint (SL4SP) 建构酷炫的SharePoint网站– AdventureWorks for SharePoint Q & A 开发环境 Silverlight 2 SharePoint 重要设定(手动) .NET Framework (forSilverlight ) 将 DLL可在Silverlight SDK中找到 在IIS Web application中设定MIME .xap -> application/x-silverlight-2 修改 2 基本 中度 高度 不同种类的整合 Streaming Services <iframe/> 置放于 Web Part .NET Assembly Custom SP Object Web Part与 Silverlight结合 Content Editor Web Part 藉由HTML程序代码在SharePoint加入Silverlight HTMLTextWriter class 在Web Part中呼叫HTMLTextWriter写出呼叫Silverlight的HTML码 以WebPart方式开发 Required Assemblies
Also Script Manager on Page Add Silverlight control Control properties … protected override void CreateChildControls() { myCustomForm = new (); = "myCustomForm"; = ""; = new (475); = new (300); (myCustomForm); } … Demo Silverlight & Content Editor Web Part Demo Hello World Silverlight Web Part 自定义域类型(Custom Field Type) 使用Silverlight作为自定义域类型的控件 InitParameters Hidden field Create Silverlight app Create SharePoint project with custom field type