Basel · Baden Bern · Brugg · Lausanne Zurich Düsseldorf · Frankfurt/M. · Freiburg i. Br. Hamburg · Munich · Stuttgart · Vienna Entwicklung von SharePoint.

Slides:



Advertisements
Similar presentations
SharePoint 2010 Overview Presented by: Oscar Garcia
Advertisements

2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Effiziente Data.
What is all about and how does it work? Client Application.
SearchSearch User Profiles SearchSearchExcelExcelUserProfilesUserProfiles Managed Metadata.
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna SharePoint 2010 Composites (Teil II) Simon Amrein Consultant.
Microsoft SharePoint 2010 technology for Developers
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Microsoft SharePoint® Online: Extensibility and Customization
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
SharePoint 2010: BCS m Business Connectivity Services.
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET, MCTS
Becky Bertram SharePoint MVP
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
SharePoint Development 101: Feature Design By Becky Isserman
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
SharePoint Design Tools Office Applications.
SHARE POINT 2010 TRINAY TECHNOLOGY SOLUTIONS © Copyright Trinay Technology Solutions, 39 Buckland St, #5321 Manchester, CT
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Copyright © SUPINFO. All rights reserved.
SharePoint 2010 and Office 2010 Development Randy Williams Senior Consultant & Trainer Synergy Corporate Technologies.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Microsoft Confidential Office as a Development Platform Tim Heuer
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
19 May 2012 Business Connectivity Services (BCS) Brett Lonsdale – Lightning #SPSJHB The first ever all green SharePoint event on earth.
Upgrading Projects to Visual Studio 2010 Upgrading Projects to SharePoint 2010 Integrating with SharePoint 2010.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Office Business Applications Workshop Defining Business Process and Workflows.
SharePoint Online – Developing Solutions for the Cloud Chris Mayo Microsoft Corporation
Business Connectivity Services (BCS) Primer Creating BCS Applications Creating.NET Assembly Connectors in Visual Studio 2010 support BCS Security.
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Michael Hofer Senior Consultant Microsoft Corporation.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Rolando Jimenez Sr. Lead Program Manager Microsoft Corporation.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Overview Silverlight Client Object Model JavaScript Client Object Model Calling SharePoint Web Services Summary.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN WELCOME The SharePoint 2013 App Model.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
TRINAY TECHNOLOGY SOLUTIONS
Introduction ITEC 420.
Introducing the Microsoft® .NET Framework
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development
INF230 Basics in C# Programming
Integrating SharePoint 2010 with Office 2010
Beyond the BDC\BCS Model
Upgrading from BDC to BCS
Building Dynamic Applications with the SharePoint Client Object Model
Business Connectivity Services in SharePoint 2010 and Office 2010
Visual Studio Tools for Office 2005
Accessing and Surfacing LOB Data in SharePoint 2010
SharePoint Server 2010 Introduction for Developers
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Visual Studio 2010 SharePoint Development Tools Overview
Visual Studio 2008.
Windows Forms in Visual Studio 2005: An Overview
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Basel · Baden Bern · Brugg · Lausanne Zurich Düsseldorf · Frankfurt/M. · Freiburg i. Br. Hamburg · Munich · Stuttgart · Vienna Entwicklung von SharePoint 2010 Anwendungen Simon Amrein Consultant Zürich,

© 2010 Speaker  NameSimon Amrein  CompanyTrivadis AG  MSDN TechTalk - SharePoint 2010 für Entwickler2

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler3 Agenda Data are always part of the game.  Visual Studio 2010 Support  LINQ to SharePoint  Client Object Model  Business Connectivity Service

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler4  Better support for SharePoint development  Support only for SharePoint 2010 (no extended SharePoint 2007 support)  Easy way to Debug Feature/Solution  F5 – Deployment Visual Studio 2010

© 2010 Templates  Event Receivers  Web Parts incl Visual WebPart (no more SmartParts)  Workflows  Content Type  List / Site Definition  BCS Model  Empty Projext MSDN TechTalk - SharePoint 2010 für Entwickler5

© 2010 SharePoint 2010 Project Templates  All Projects built using standard structure  Common Project Properties  Project File  Project Folder  Assembly Deployment Target  Sandboxed Solution  Site URL  Startup Item MSDN TechTalk - SharePoint 2010 für Entwickler6

© 2010 SharePoint 2010 Project Structure  Standard Project Nodes  Properties  References  Features  Package  SharePoint Project Items (optionally added by dev using SharePoint 2010 Developer Tools) MSDN TechTalk - SharePoint 2010 für Entwickler7

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler8  Add-in for Server Explorer window  Easy way to examine site artifacts  Quick way to launch browser into site  SharePoint Explorer extensibility  Developers can write add-ins to populate nodes and provide contextual menu commands  Local machines only Server Explorer

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler9  Configure Feature with VS Support  Define Scope (Farm, Site, Web, WebApplication) Feature Designer

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler10  Define features and additional files for WSP-Package  Edit Manifest manually if required  The way to build your WSP File – No WSPBuilder needed anymore Package Explorer

© 2010 Deployment  F5 deployment on testsystem  STSADM / Powershell  … but Solution Installer is still a good opportunity… MSDN TechTalk - SharePoint 2010 für Entwickler11

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler12 Demo Data are always part of the game. Visual Studio 2010

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler13 Agenda Data are always part of the game.  Visual Studio 2010 Support  LINQ to SharePoint  Client Object Model  Business Connectivity Service

© 2010 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(); …. 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(); ….

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

© Style CAML Query

© 2010 What is LINQ?  Language Integrated Query  Simplified, object-oriented way to query  Bridges OOP and relational data  Compile-time checked queries  Provides IntelliSense inside Visual Studio  Unified syntax for querying any data source MSDN TechTalk - SharePoint 2010 für Entwickler17

© 2010 LINQ to SharePoint  No CAML Required  Entity classes form Business Layer  Strongly-typed queries, compile-time check  Intellisense helps query construction  Microsoft.SharePoint.Linq.dll  Encapsulates the SharePoint object model queries based on the created entity classes MSDN TechTalk - SharePoint 2010 für Entwickler18

© 2010 Using LINQ to SharePoint Create Entity Classes Create DataContext Writer Queries MSDN TechTalk - SharePoint 2010 für Entwickler19

© 2010 Creating Entity Classes  Generated from spmetal utility spmetal /web: /code:Projects.cs  Create classes and add them to project MSDN TechTalk - SharePoint 2010 für Entwickler20

© 2010 DataContext Object  DataContext class allows access to list data MSDN TechTalk - SharePoint 2010 für Entwickler21

© 2010 Modifying List Data  Changes to entity objects are tracked by Linq provider  Changes submitted SubmitChanges() method is called MSDN TechTalk - SharePoint 2010 für Entwickler22

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler23 Demo Data are always part of the game. LINQ to SharePoint

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler24 Agenda Data are always part of the game.  Visual Studio 2010 Support  LINQ to SharePoint  Client Object Model  Business Connectivity Service

© 2010 Why Client Object Model?  More SharePoint Web services is a major request  Client Object Model provides complete API instead of more services  Provides an abstraction layer to return results as recognizable SharePoint objects  Consistent developer experience across platforms (.NET, ECMAScript, Silverlight) MSDN TechTalk - SharePoint 2010 für Entwickler25

© 2010 Supported Areas  Site Collections and Sites  Lists, List Items, Views, and List Schemas  Files and Folders  Web, List, and List Item Property Bags  Web Parts  Security  Content Types  Site Templates and Site Collection Operations MSDN TechTalk - SharePoint 2010 für Entwickler26

© 2010 Equivalent Objects Member names mostly the same from server to client (e. g., SPWeb.QuickLaunchEnabled = Web.QuickLaunchEnabled) MSDN TechTalk - SharePoint 2010 für Entwickler27

© 2010 Using the Client Object Model MSDN TechTalk - SharePoint 2010 für Entwickler28

© 2010.NET Client OM ClientContext clientContext = new ClientContext(" //Load method clientContext.Load(clientContext.Web); clientContext.Load(clientContext.Web.Lists); //LoadQuery method var q1 = from list in context.Web.Lists where list.Title != null select list; var r1 = context.LoadQuery(q1); ClientContext clientContext = new ClientContext(" //Load method clientContext.Load(clientContext.Web); clientContext.Load(clientContext.Web.Lists); //LoadQuery method var q1 = from list in context.Web.Lists where list.Title != null select list; var r1 = context.LoadQuery(q1);

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler30 Demo Data are always part of the game..net Client Object Model

© 2010 Silverlight Client OM  Silverlight Development Enabled by Client OM  Can use Silverlight in separate ASPX page or in Web Part  Can utilize Client OM in Silverlight to create SharePoint apps MSDN TechTalk - SharePoint 2010 für Entwickler31

© 2010 Creating Silverlight Web Parts  A Web Part can be a host for Silverlight  SharePoint ships with Silverlight web part  The web part can contain custom properties that are sent to Silverlight via the InitParameters property  The XAP file can be deployed to LAYOUTS and loaded at run time  The Silverlight application can then make use of the Client OM. MSDN TechTalk - SharePoint 2010 für Entwickler32

© 2010 Silverlight Client OM MSDN TechTalk - SharePoint 2010 für Entwickler33

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler34 Demo Data are always part of the game. Silverlight WebPart

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler35 Agenda Data are always part of the game.  Visual Studio 2010 Support  LINQ to SharePoint  Client Object Model  Business Connectivity Service

© 2010 Business Connectivity Services  Provide connectivity support to the following types of external systems:  Databases  Web/WCF services  Microsoft.NET Framework connectivity assemblies  Custom data sources  Read and Write  Provides rich cache, offline work features and supports cache-based operations.  Batch and Bulk Operation Support MSDN TechTalk - SharePoint 2010 für Entwickler36

© 2010 BCS Architecture CustomSQL External Data WCF Cache Business Connectivity Services Client Runtime SharePoint Server 2010 Business Connectivity Services Secure Store Service (SSS) Search, Workflow, Web Parts External Content Types (ECT) Server Runtime SharePoint Site VSTO Package VSTO Package External List External List Office Client Office Integration External Business Parts Custom Code.NET Connector MSDN TechTalk - SharePoint 2010 für Entwickler37

© 2010 Solution Types, Personas and Tools Power User / No code RAD Dev OOB UX on thin and rich clients (Outlook and Groove) based on External Lists Custom Forms in SharePoint and Groove Connect to existing back-end integration services or simple databases Simple BDC Models (few ECTs, simple associations) Transparent packaging (managed by BCS) Advanced Advanced Dev Custom Code Custom UX and data integration on thin and rich clients (apps that support VSTO add-ins) Through Office, SharePoint and BCS Object Models Custom back-end connectivity through.Net objects Complex BDC models (many ECTs, complex associations) Explicit packaging (managed by dev) SharePoint Designer Simple MSDN TechTalk - SharePoint 2010 für Entwickler38

© 2010 Development Approaches SharePoint Server (Prod / Dev) IT Admin Import & Configure WSP/BDC SI/IT Devs “Live” connection SharePoint Designer  No code, discover and configure existing back-end integration end-points  Connect to (existing) WCF, ADO.Net and.Net Objects  Simultaneously author thin and rich client UX for External List and InfoPath Forms Pro Dev Produce WSP/ClickOnce Package w/BDC Model WSP/ ClickOnce Package  Create custom back- end integration logic using.Net code  Author thin and rich client UX (independently) as SharePoint and VSTO customization projects MSDN TechTalk - SharePoint 2010 für Entwickler39

© 2010 SharePoint Designer  Connecting to an external datasource – Just a few clicks to go… MSDN TechTalk - SharePoint 2010 für Entwickler40

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler41 Agenda Data are always part of the game. External List – SharePoint Designer

© 2010 Visual Studio 2010 Support  The tool for creating “.NET Connectors” MSDN TechTalk - SharePoint 2010 für Entwickler42

© 2010 MSDN TechTalk - SharePoint 2010 für Entwickler43 Agenda Data are always part of the game. External List – Visual Studio

© 2010 Courses / Events  Microsoft Ignite Training SharePoint 2010 for developers (4Tg)  in Zürich  in Basel  SharePoint 2010 – Was ist neu für Administratoren und IT Professionals (5Tg)  in München  in Zürich MSDN TechTalk - SharePoint 2010 für Entwickler44

Basel · Baden Bern · Brugg · Lausanne Zurich Düsseldorf · Frankfurt/M. · Freiburg i. Br. Hamburg · Munich · Stuttgart · Vienna Thank you! ?