Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203.

Slides:



Advertisements
Similar presentations
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
 Alexander Malek Lead Program Manager SharePoint Microsoft Corporation BB47.
Feature: OLE Notes Migration Utility
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Dan Parish Program Manager Microsoft Session Code: OFC 304.
Robert LevyDoug Kramer Program ManagerDevelopment Lead DTL337.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
Eric Carter Development Manager Microsoft Corporation OFC324.
demo Demo.
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Pieter Hancke Senior Consultant Microsoft Consulting Services Session Code: WCL303.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Arend-Jan Speksnijder Solutions Architect Microsoft Dynamics Lighthouse team Dynamics AX2009 Technical Overview and Demo (DYN301)
Sara Ford Program Manager Microsoft Corporation DPR301.

Patrick Ortiz Global SQL Solution Architect Dell Inc. BIN209.
OFC308 Hilton Giesenow Development Manager - 3fifteen Host –
Ben Robb MVP, SharePoint Server cScape Ltd OFC204.
Luke Hoban Senior Program Manager Microsoft Session Code: DTL319.
David B. Cross Product Unit Manager Microsoft Corporation Session Code: SIA303 Donny Rose Senior Program Manager.
Scott Morrison Program Manager Microsoft Corporation Session Code: WUX308.
Ian Griffiths Principle Interact Software Ltd. Brian A. Randell Senior Consultant MCW Technologies DEV302.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Tech·Ed  North America /11/ :01 AM SESSION CODE: DEV405
6/12/ :53 PM DEV311 Deep Dive into Microsoft Visual Studio Team Foundation Server 2010 Reporting Steven Borg, Principal ALM Consultant Northwest.
6/13/2018 1:23 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
2010 Microsoft BI Conference
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /14/2018 7:13 PM
Sysinternals Tutorials
Tech·Ed North America /19/ :44 PM
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
Jason Zander Unplugged
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /7/2018 2:51 PM
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Tech·Ed North America /17/2019 1:47 AM
Tech·Ed North America /17/2019 6:01 PM
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Tech·Ed North America /22/2019 7:40 PM
Building Silverlight Apps with RIA Services
Tech Ed North America /12/2019 6:45 AM Required Slide
A Lap Around Internet Explorer 9 For Developers
2010 Microsoft BI Conference
Hack-proofing your Clients using Windows 7 Security!
How and When to Use MEF: Too Much Is Never Enough
Lap Around the Windows Azure Platform
Code First Development in Microsoft ADO.NET Entity Framework 4.1
5/24/ :22 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203

Session objectives Have an understanding of how SharePoint can be used for application composition Overview of SharePoint 2010 workflow features Overview of building workflows in SharePoint 2010

Agenda The problem with legacy migrated systems Using SharePoint for end to end integration Workflow and application composition What’s new with Workflows in SharePoint Server 2010? Support for.NET 3.5 SPD -> Export -> Visual Studio -> Import Site Workflows Custom Local Services Workflow Event Receivers

Migration Without Integration

SharePoint Integration Points Why use SharePoint for Integration? Already commonly used by Microsoft enterprise customers What types of applications can be brought together with SharePoint? Just about anything from legacy applications and applicatins to the cloud What’s Missing? Workflow capabilities of WF!

SharePoint Workflow Composition SharePoint Workflow Services SharePoint Portal WCF Services Legacy Programs Legacy Programs Cloud Applicatoins.NET Services Windows Azure BizTalk Server Other Enterprise Applications

Mainframe integration Approach Presentation layer BATCH DWH CICSTSO HIS Migated CICS

.NET framework version SharePoint 2010 has a dependency on.NET 3.5 Workflows in SharePoint Server 2010 are *not* WF 4.0 Workflows.NET Framework release schedule doesn’t align with SharePoint Server 2010 Would have delayed SharePoint Server 2010 significantly to take a dependency on WF 4.0

File system SPD Workflow Import SPD has a new reusable declarative Workflow template Once deployed it can be saved to a template (.wsp) Template can be imported into Visual Studio 2010 and modified WSP

SPD Export – Visual Studio 2010 Import

Site Workflows In SP 2010, Workflows don’t have to be associated with a List instance No need to create a “dummy” list just to get a workflow to run Potential uses Accessing External Data - BCS General Business Logic Managing Site permissions Managing Site or Item (across Lists) creation

Creating a Site Workflow Pick “Site” when creating Workflow in Visual Studio 2010 Manage via “Site Workflows” under “Site Actions” Workflow must be started manually Requires instantiation form

Workflow Forms Visual Studio 2010 SharePoint tools have templates for Workflow Initiation Form Workflow Association Form Add them at Workflow node level in Solution Explorer and the Elements.xml is automatically modified

Building and Deploying a Site Workflow

SPS/Workflow communication Workflow communication in SharePoint is done via ExternalDataExchange (EDS) Built on top of Workflow Queue Infrastructure EDS uses an interface definition for workflow/host communication “Local Service” implements interface HandleExternalEvent triggered by firing interface event CallExternalMethod calls interface method SPS communication Activities are strongly-typed versions of HEE, CEM

WF Communication HostHost WF Runtime LocalServiceLocalService WorkflowWorkflow Activity MSG Queue MSG

Local Service extensibility Before SP 2010, only the SP-defined Local Service could be used SPS 2010 enables adding custom Local Services Can use CEM/HEE or wca.exe tool to create strongly-typed Activities (e.g. OnWorkflowActivated/CreateTask)

Building a custom Local Service Define an EDS interface Create a class that derives from the SPWorkflowExternalDataExchangeService base class Implement the EDS interface Need to add an entry to the web.config WorkflowServices configuration section

Using Local Services Configure Activities that use Local Service HandleExternalEvent/CallExternalMethod Or use WCA.exe to generate strongly-typed versions

Building and Deploying a Custom Local Service for Legacy & External Integration

Workflow Event Receivers SharePoint’s WorkflowRuntime is “closed” No way to hook into WorkflowRuntime events Workflow Event Receives in SharePoint Server 2010 are code-based Event Receivers Similar to List Event Receivers Support built into Visual Studio 2010 SharePoint tools EventReceiver Project or Item template

SPWorkflowEventReceiver New SPEventReceiverBase-derived class for 2010 Derived and override methods for needed functionality Starting Started Postponed Completed Register as EventReceiver for a list Associates with list workflows automatically

Workflow Event Receiver public class MyWorkflowEventReceiver : SPWorkflowEventReceiver { public override void WorkflowStarting(SPWorkflowEventProperties p) { base.WorkflowStarting(properties); } public override void WorkflowStarted(SPWorkflowEventProperties p) { base.WorkflowStarted(properties); } public override void WorkflowPostponed(SPWorkflowEventProperties p) { base.WorkflowPostponed(properties); } public override void WorkflowCompleted(SPWorkflowEventProperties p) { base.WorkflowCompleted(properties); }

Building and Deploying a Workflow Event Receiver

Summary Workflows are (have been) a powerful way to model functionality in SharePoint Improvements to the engine and tools in SharePoint Server 2010/Visual Studio 2010 make Workflow an even more attractive way to develop in SharePoint SPD Export EventReceivers Local Services Visual Studio

Related Content Workflow in SharePoint 2010: Overview Overview: Creating Workflows With SharePoint Designer 2010, InfoPath, And Visio Introduction To SharePoint Designer 2010: Top 10 great things to know

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide

Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.

Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide