Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.supinfo.com Copyright © SUPINFO. All rights reserved.

Similar presentations


Presentation on theme: "Www.supinfo.com Copyright © SUPINFO. All rights reserved."— Presentation transcript:

1 www.supinfo.com Copyright © SUPINFO. All rights reserved

2 Agenda Introduction & Installation for developers SharePoint Designer 2010 VS2010 Tools List & Event Handler DashBoard Developer Visual WebParts How to use the ribbon Dialog framework & Status bar

3 Agenda (suite) Linq To SharePoint Client Object Model Rest Services SandBoxed Applications Workflows novelties

4 Introduction & Installation

5 5 Become a super developer with SharePoint 2010

6 The SharePoint Platform SharePoint Server Capabilities Pages and User Interface Web UI Framework Silverlight Server APIs LINQ Connected Client APIs REST Client OM Application Lifecycle Application Model (Sites) External Lists Data Model Lists Content Management

7 Installation Windows Server 2008, 2008 R2, 7 X64 bits (VMWare, Virtualisation, Natif) VHD Boot (BCDEdit UI codeplex): http://blogs.dotnet- france.com/juliend/post/SharePoint2010-Creer-une- machine-pour-developpeur.aspx

8 A new master page and new Technologies

9 Demo Introduction

10 SharePoint Designer 2010

11 Free product, Web expression range New tools XSLT View List schema … Improvements Workflow Designer Page Editor A better integration in Pages

12 Demo SharePoint Designer

13 Visual 2010 Tools

14 14 Visual Studio 2010 SharePoint Tools Develop/Unfold and debug SP projects Packaging Explorer Web Part Designer Workflow Designer (WF) and Web Part Package et Unfold your Sharepoint Projects Generate WSP files for your sites in production Use Server Explorer Integrate your development in TFS

15 With VS2008 for SP2007 Visual Studio experience was limited Visual Studio Extensions for WSS 1.3 March Many tools coming from community (and so support problems, globalization…) It was necessary to manage: Manually CAML files Know the arborescence of file “12” Edit himself manifest.xml files Generate his.wsp files

16 With VS2010 for SP2010 Developer experience increased SharePoint Explorer No need to have SharePoint on his computer Basic integrated Tools Migration tools of your project VS2008/WSS 3.0 Extensible Benefits: Abstraction of directory “14” Abstraction of WSP generation Less external utilities

17 SharePoint Explorer Add-in for “Server Explorer” window Easy to use Practical for launching browser on the right page

18 F5 Key What does it really do ? 1.Creation of.wsp file 2.Feature Disable/Uninstall 3.Old.wsp files removal 4.Deployment of.wsp file 5.Feature activation 6.Automatic bond to the process W3WP.EXE

19 Demo Visual Studio 2010 Tools

20 List & Event Handler

21 Novelties New events MSF 4.0 WebAdding & WebProvisioned ListAdding & ListAdded ListDeleting & ListDeleted MSF 4.0 can take up to 50 millions of elements in a list

22 Rational Lists & Joints MSF 4.0 introduces reinforced relations with a “Lookup” field Novelties : Projected fields in “children” lists Joints Data’s integrity

23 Projected fields Passage of list’s data from a parent one to a child one The way to achieve this is the same as a “lookup” with WSS 3.0

24 Joints Joints are tolerated Available with API(s), CAML and SharePoint Designer New properties for SPQuery: SPQuery.Join SPQuery.ProjectedFields Use SPLinq

25 Demo Sharepoint List

26 Dashboard Developer

27 DashBoard Developer Allows you to know your code’s performances : How long does it take to execute ? Which events are raised ? …

28 Demo Dashboard Developer

29 Visual WebParts

30 Allows to load an “usercontrol” in a “webpart” in an automatic way

31 Demo Visual WebParts

32 How to use the ribbon & the dialog framework

33 33 The ribbon :

34 Ribbon's controls Basic Button Split button Combobox Checkbox Toggle Button Label Textbox Combo box Spinner Table control Color picker But also  “Drop Down” to have a subset

35 35 Status Bar and Notification bar Status Bar Notification

36 36 The dialog framework

37 Demo Manipulation Ribbon

38 Demo Dialog Framework & Status Bar

39 Client Object Model

40 The OM Client Subset of the Server OM Bases to manipulate SharePoint Foundation: Webs, Lists, ListItems, etc. An unified API JavaScript.net CLR Silverlight CLR

41 Tolerated objects Sites’ collection and Sites Lists, List Items, Views, et list schema. Files and directories Web Parts Security / Users Content Types Sites’ Templates …

42 Linq-to- SharePoint Customer side (.NET/Silverlight/JavaS cript) Server side (WebParts, Event Handlers, Workflows…) Access to objects and/or data SharePoint 2010 Server Object Model Web Services REST APIs Client Object Model

43 Server Object Model SharePoint Service JavaScript Client Silverlight Client.NET Client.NET Client Exchanges XML/JSON Client Object Model of SharePoint 2010

44 Demo OM Client

45 JavaScript OM SP.js 380ko SP.Core.js 13ko SP.Runtime.js 68ko Or

46 Linq To Sharepoint

47 SQL Query string cs =“Data Source=localhost;…..“; using (SqlConnection c = new SqlConnection(cs)) { c.Open(); SqlCommand cmd = c.CreateCommand(cs); cmd.CommandType = CommandType.Text; cmd.CommandText = “SELECT * FROM…..”; SqlDataReader r = cmd.ExecuteReader(); ….

48 XML Query XmlTextReader r = new XmlTextReader(“c:\data.xml”); While(r.Read()) { XmlNodeType nt = r.NodeType; switch(nt) { case XmlNodeType.Element: …. case XmlNodeType.Attribute: ….

49 2007-Style CAML Query

50 What is LINQ? Language Integrated Query Simple, Object - oriented Relational data Check at compiling Advantages of IntelliSense Unified syntax for all kinds of data

51 Demo Linq

52 LINQ to SharePoint No CAML Strongly typed Microsoft.SharePoint.Linq.dll

53 Interlist Relations Interlist requests Model generation

54 Data modification Pseudo mode “transactional” with method SubmitChanges()

55 Demo Linq to Sharepoint

56 REST Services

57 REST APIs Use of REST on: Data lists SharePoint WCF Data Services REST Architecture Atom or JSON Sérialization As a matter of fact, compatible with: ASP.NET AJAX PowerPivot Java Silverlight Flash …

58 ADO.NET Data Services LINQ to SP doesn’t exist in Silverlight (even though the OM Client exists) ListData.svc allows a total access in CRUD

59 Demo Astoria

60 SandBoxed Applications

61 61 Take notice of non-secured features

62 SandBoxed Applications The code supports all basic templates: Web Part Event Receivers Workflows But limited to Microsoft.SharePoint

63 Restrictions SPSite SPWeb SPList SPListItem Limitation of resources (memory, SQL, CPU) No SPSite construction No access possibilities to SPSecurity

64 Workflow Novelties

65 Workflow Novelties Display inside the browser Workflows “out of the box” are personalizable

66 Demo Workflows

67 Silverlight & Sharepoint

68 Silverlight Silverlight Web Part Object Model Client in Silverlight Silverlight is present almost everywhere

69 Demo Silverlight

70 70 Questions / Answers (?) Speech is yours

71 Thank you


Download ppt "Www.supinfo.com Copyright © SUPINFO. All rights reserved."

Similar presentations


Ads by Google