Title: Silverlight SharePoint:
1Silverlight SharePoint??????????????????
- ??
- ??????
- ????
- haulu_at_microsoft.com
2????
- ?SharePoint??????
- ??????? SharePoint Silverlight?
- Silverlight Blueprint for SharePoint (SL4SP)
- ?????SharePoint?? AdventureWorks for SharePoint
- Q A
3????
- ?SharePoint??????
- ??????? SharePoint Silverlight?
- Silverlight Blueprint for SharePoint (SL4SP)
- ?????SharePoint?? AdventureWorks for SharePoint
- Q A
4SharePoint WSS MOSS
5SharePoint ?????????
6SharePoint????????
- ?????????????????
- ???????,????????????
- Office SharePoint Designer??????,??????????????
- ?? Data View/Data Form Web Part
- Master Page??????CSS
- Conditional Formatting
7SharePoint Designer 2007
- ????SharePoint???????????
- ?????? (No C/VB.NET code)
- ??IntelliSense
- ??ASP.NET ???
- ??????Web part ? Data source
8Visual Studio 2008
- IDE for creating assemblies, server/user controls
and advanced workflows - ???? SharePoint object model
- ?? IntelliSense
- ??Team Foundation Server ??????????? (Source
Control)
9Visual Studio Extensions for WSS v1.2(VSeWSS 1.2)
- Visual Studio 2008 ?? Add-on,???????????
SharePoint ????? - ?????????
- VS 2005??????1.1?
- Build deploy
- ??????
- ????Solution Package
- VSeWSS 1.3 CTP?????
- ??64-bit
10VSeWSS 1.2 Item Templates
- List Definition
- Content Type
- Field Control
- Web Part
- Module
- Template
- Event Receiver
- List Instance
- List Definition from Content Type
11WSP View Build
- WSP View
- View -gt Other Windows
- Build and Deploy
- SETUP.BAT
- Solution Generator
12Demo
- SharePoint??
- Hello World Web Part
13SPGlobalAdmin
SPWebServer
SPVirtualServer
SPControl
SPSite
SPWeb
SPList
SPListItem
14?? SharePoint ???? - ???? Object Model
SharePoint Sites
SharePoint ????
WebServices
Web PartsWeb Pages
Smart ??Mobile Clients
15Demo
16????
- ?SharePoint??????
- ??????? SharePoint Silverlight?
- Silverlight Blueprint for SharePoint (SL4SP)
- ?????SharePoint?? AdventureWorks for SharePoint
- Q A
17Evolve Baseline Templates
18???????
19To this
20SharePoint Silverlight - Why?
- ???????????????
- ???????
- ????????????
- XAML Code-behind
- ??????????
- ?????? C/VB.Net and dynamic languages (e.g.
JavaScript, Ruby, Python, etc.)
21Demo
- SharePoint Silverlight in Action
22????
- ?SharePoint??????
- ??????? SharePoint Silverlight?
- Silverlight Blueprint for SharePoint (SL4SP)
- ?????SharePoint?? AdventureWorks for SharePoint
- Q A
23????
24???? (??)
- .NET Framework 3.5 (for Silverlight 2.0)
- ? System.Web.Silverlight.dll ??? GAC
- DLL??Silverlight SDK???
- ?IIS Web application ??? MIME type ???.XAP
- .xap -gt application/x-silverlight-2
- ?? web.config ???? Silverlight 2
25???????
??
??
.NET Assembly
??? Web Part
ltiframe/gt
Custom SP Object
Streaming Services
26Web Part ? Silverlight ??
- Content Editor Web Part
- ??HTML ????SharePoint??Silverlight
- HTMLTextWriter class
- ?Web Part???HTMLTextWriter ????Silverlight?HTML?
- ?Web Part????
- Required Assemblies
- System.Web.Extensions.dll
- System.Web.Silverlight.dll
- Also
- Script Manager on Page
- Add Silverlight control
- Control properties
-
- protected override void CreateChildControls()
-
- System.Web.UI.SilverlightControls.Silv
erlight myCustomForm new System.Web.UI.Silverlig
htControls.Silverlight() - myCustomForm.ID "myCustomForm"
- myCustomForm.Source
"http//stefoxdemo/XAPS1/CustomerEntryForm.xap" - myCustomForm.Width new
System.Web.UI.WebControls.Unit(475) - myCustomForm.Height new
System.Web.UI.WebControls.Unit(300) - this.Controls.Add(myCustomForm)
-
27Demo
- Silverlight Content Editor Web Part
28Demo
- Hello World Silverlight Web Part
29?????? (Custom Field Type)
- ??Silverlight????????????
- InitParameters
- Hidden field
- Create Silverlight
- app
- Create SharePoint
- project with custom
- field type
30?????Silverlight???
- ?Silverlight ??????????
- ??SharePoint Designer??Master Page
- ??????
- ?site collection ?Master Page ???
- ?????????
31????
- ?SharePoint??????
- ??????? SharePoint Silverlight?
- Silverlight Blueprint for SharePoint (SL4SP)
- ?????SharePoint?? AdventureWorks for SharePoint
- Q A
32Demo
- AdventureWorks SharePoint??
33??Silverlight?SharePoint Designer?????
34??Silverlight?SharePoint Designer????????
35??Silverlight?SharePoint Designer?????Master Page
Out-of-the-box aspSiteMapPath Control ltawMenu
ID"CurrentNav" runat"server" datasourceID"SiteM
apDS" orientation"Vertical" StaticDisplayLevels
"1" MaximumDynamicDisplayLevels"0"
StaticSubMenuIndent"1" ItemWrap"true"
AccessKey"3" CssClass"leftNav"
SkipLinkText"ltResourcescms,masterpages_skipli
nktextgt"gtltLevelMenuItemSty lesgtltaspMenuItemStyle
CssClass"leftNav1" /gt lt/awMenugt Custom Web
Server Control ltdiv id"navigation"gt ltdiv
class"navigation_main"gt ltAWSLAWNavigation
runat"server" navigationMapProvider"SPSiteMapPro
vider" _ lt/AWSLAWNavigationgt lt/divgt lt/divgt
36??Silverlight?SharePoint Designer?????Web Server
Control
- ?? ScriptManager
- ???????(??)
- ??Silverlight ???
- ??????Silverlight???
- ??(Renders)?Silverlight???
37??Silverlight?SharePoint Designer?????Silverlight
???
- ??????? (????)
- ?? storyboards event handlers
- ?????????
- ??????
38Demo
39??Silverlight??????
40??SharePoint Web Services
- ???????SharePoint??????????
- Silverlight ??????SharePoint ?Web service ??????
41??Silverlight?????? ???
42??Silverlight?????? Design Pattern
- Web Part
- Reusable hosting container
- Web and WCF Services
- ? SharePoint Server ???
- SOA??????????SharePoint????
- Silverlight Applications
- ??WCF????
43Demo
- AdventureWorks ???? Web Part
44????
- ?? web.config ???????????
- ltSafeControl Assembly"System.Web.Silverlight,
Version2.0.5.0, Cultureneutral,
PublicKeyToken31bf3856ad364e35"
Namespace"System.Web.UI.SilverlightControls"
TypeName"" Safe"True" /gt - ??? web.config ??????
- ?? Silverlight runtime ??????,??MIME Type
- application/x-silverlight-app
- ?? System.Web.Silverlight.dll ?????GAC
- gacutil -l FINDSTR System.Web.Silverlight
- ???? Silverlight ? SharePoint ???????XAP????
45??
- Silverlight 2.0 ?????SharePoint ?????
- ?????????? (e.g. Dashboards)
- ???????????SharePoint??????
- ????, Web Parts...
- RIA??????????????
- ?????SharePoint?????
- ???? Silverlight SharePoint Blueprints
46????
- MSSharePointDeveloper - http//www.microsoft.com/c
lick/SharePointDeveloper/ - Virtual Lab - http//go.microsoft.com/?linkid9234
915 - ?? Silverlight 2 ????? SharePoint ??? -
http//msdn.microsoft.com/zh-tw/magazine/dd148643.
aspx - Introduction to SharePoint Products and
Technologies for the Professional .NET Developer
- http//msdn.microsoft.com/en-us/library/cc537498
.aspx - Silverlight Blueprint for SharePoint -
http//www.codeplex.com/SL4SP - How To Get up and running with the Silverlight
2.0 Blueprints for SharePoint 2007 -
http//www.zimmergren.net/archive/2008/03/19/how-t
o-get-up-and-running-with-the-silverlight-2-0-blue
prints-for-sharepoint-2007.aspx - Installing the SharePoint BluePrint for
Silverlight SilverlightPart -
http//www.wssdemo.com/Blog/archive/2008/03/24/ins
talling-the-sharepoint-blueprint-for-silverlight-s
ilverlightpart.aspx
47Q A