Silverlight SharePoint: - PowerPoint PPT Presentation

1 / 47
About This Presentation
Title:

Silverlight SharePoint:

Description:

... xml.rels ppt/diagrams/drawing1.xml ppt/diagrams/layout2.xml ppt/media ... diagrams/drawing2.xml ppt/media/image21.png ppt/media/image20.png ppt/media ... – PowerPoint PPT presentation

Number of Views:282
Avg rating:3.0/5.0
Slides: 48
Provided by: long58
Category:

less

Transcript and Presenter's Notes

Title: Silverlight SharePoint:


1
Silverlight 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

4
SharePoint WSS MOSS
5
SharePoint ?????????
6
SharePoint????????
  • ?????????????????
  • ???????,????????????
  • Office SharePoint Designer??????,??????????????
  • ?? Data View/Data Form Web Part
  • Master Page??????CSS
  • Conditional Formatting

7
SharePoint Designer 2007
  • ????SharePoint???????????
  • ?????? (No C/VB.NET code)
  • ??IntelliSense
  • ??ASP.NET ???
  • ??????Web part ? Data source

8
Visual Studio 2008
  • IDE for creating assemblies, server/user controls
    and advanced workflows
  • ???? SharePoint object model
  • ?? IntelliSense
  • ??Team Foundation Server ??????????? (Source
    Control)

9
Visual 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

10
VSeWSS 1.2 Item Templates
  • List Definition
  • Content Type
  • Field Control
  • Web Part
  • Module
  • Template
  • Event Receiver
  • List Instance
  • List Definition from Content Type

11
WSP View Build
  • WSP View
  • View -gt Other Windows
  • Build and Deploy
  • SETUP.BAT
  • Solution Generator

12
Demo
  • SharePoint??
  • Hello World Web Part

13
SPGlobalAdmin
SPWebServer
SPVirtualServer
SPControl
SPSite
SPWeb
SPList
SPListItem
14
?? SharePoint ???? - ???? Object Model
SharePoint Sites
SharePoint ????
WebServices
Web PartsWeb Pages
Smart ??Mobile Clients
15
Demo
  • SharePoint Object Model

16
????
  • ?SharePoint??????
  • ??????? SharePoint Silverlight?
  • Silverlight Blueprint for SharePoint (SL4SP)
  • ?????SharePoint?? AdventureWorks for SharePoint
  • Q A

17
Evolve Baseline Templates
18
???????
19
To this
20
SharePoint Silverlight - Why?
  • ???????????????
  • ???????
  • ????????????
  • XAML Code-behind
  • ??????????
  • ?????? C/VB.Net and dynamic languages (e.g.
    JavaScript, Ruby, Python, etc.)

21
Demo
  • SharePoint Silverlight in Action

22
????
  • ?SharePoint??????
  • ??????? SharePoint Silverlight?
  • Silverlight Blueprint for SharePoint (SL4SP)
  • ?????SharePoint?? AdventureWorks for SharePoint
  • Q A

23
????
  • Silverlight 2
  • SharePoint

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
26
Web 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)

27
Demo
  • Silverlight Content Editor Web Part

28
Demo
  • 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

32
Demo
  • 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
  • ?????????
  • ??????

38
Demo
  • AdventureWorks ???

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????

43
Demo
  • 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

47
Q A
Write a Comment
User Comments (0)
About PowerShow.com