1 / 27

Intro to Workflow Services and Windows Server AppFabric

SESSION CODE: ASI201. Intro to Workflow Services and Windows Server AppFabric. Matt Milner Instructor Pluralsight. Overview. Declarative programming with WF4 Creating declarative workflow services Understanding Windows Server AppFabric

ford
Download Presentation

Intro to Workflow Services and Windows Server AppFabric

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SESSION CODE: ASI201 Intro to Workflow Servicesand Windows Server AppFabric Matt Milner Instructor Pluralsight

  2. Overview • Declarative programming with WF4 • Creating declarative workflow services • Understanding Windows Server AppFabric • Deploying and configuring services in Windows Server AppFabric • Managing services with Windows Server AppFabric

  3. What is Windows Workflow Foundation? • A framework for declarative programming • Tools for creating program definitions • A runtime for executing program logic

  4. Programming frameworks

  5. DEMO: Declarative programming with WF

  6. Declarative workflow services • Services (WCF) extend the reach of workflows • WF = declarative service authoring and composition • Write services as workflows • Consume services from workflows

  7. Benefits of declarative service authoring • Declarative flow control – parallel / async / compensation • Automatic state management • Tracking / visibility • Ideal for: • Long running, multi-interaction processes (e.g. approvals, applications) • Coordinating multiple interactions (e.g. aggregation, composition)

  8. Workflow services in WF 4 • Messaging activities • Model communications (e.g. receive, reply, send) • WorkflowServiceHost • Customized WCF host for workflow services • Integrates WCF with WF • Message correlation • Enables long running, multi-exchange messaging

  9. Content based correlation 1. Start Task123 Application 2. Store Task123 3. Send Submit TaskTaskID= 123 Task789 Task456 Task123 4. Receive 5. Lookup Task123 Task Complete TaskID= 123 6. Task123 Complete Application State

  10. Demo: Declarative workflow services

  11. Windows Server AppFabric • Most WCF services are hosted in IIS / WAS • IIS tooling designed for managing web applications • Windows Server AppFabric = service management • Simplified configuration of services and workflows • Operations dashboard • Workflow service management • GUI and PowerShell tools

  12. AppFabric hosting architecture Tools System Center Operations Manager IIS Manager PowerShell Visual Studio Runtime services Workflow management service Runtime databases Monitoring State .NET Fx Persistence Monitoring Lock Retry Durable Timer WCF Tracking WF Tracking Routing Service SQL provider WCF message logging IIS / Windows

  13. AppFabric deployment and configuration • Simplified configuration and deployment • Default connection strings for persistence and tracking enables xcopy deploy • Many WCF configuration settings surfaced in API and UI • Graphical configuration window • Persistence, diagnostics, WCF throttles, workflow host settings • Easier operations management • Switch tracing levels through API and UI as needed • Enable more detailed tracking of WF events at runtime

  14. Demo: Deploying and configuring services Simplified configuration of services in IIS

  15. AppFabric operations dashboard • Health overview provides information about services • Exceptions / completed call count / throttling limits reached • Workflow instances (active / suspended) • Recent history – activations / failures • Access to workflow information • List of persisted workflows • Tracked workflow data and events • Tools are based on tool scope (site / application / service) • Custom queries also possible

  16. Workflow instance management • Workflow management service • Windows NT Service running in the background • Monitors persistence store for workflows with work to be done • Ready to run, expired timers, abandoned instances • IIS tooling enables manual service management • Find suspended instance easily • Suspend, resume, or terminate instances

  17. Instance recovery Id=456 Id=789 Id=123 WMS WMS WMS State Id=789 Id=456 Id=123 Id=123

  18. PowerShell support • PowerShell is THE modern scripting environment on Windows • Most commands and data available as PowerShell cmdlets • Get and set configuration settings • Enable application messaging • Instance management – resume, suspend, terminate • Combine with other web modules • Web Administration PowerShell module for managing IIS • MSDeploy – synch or deploy local or remote services

  19. Demo: Managing services Operational management of services

  20. Summary • WF provides tools for writing declarative programs and services • AppFabric gives you the tools to configure and manage services • Use IIS Manager or PowerShell • Provides additional services beyond .NET Framework • Scalable, manageable solution for hosting services on Windows

  21. Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Related Content • Breakout Sessions (session codes and titles) • ASI203: Undersanding the Microsoft Application Server • Windows Server AppFabric Caching: What it is and when you should use it • Interactive Sessions • ASI103-INT | Windows Server AppFabric Application Lifecycle in the Real World • Hands-on Labs • ASI04-HOL: Getting Started with Workflows, Services and Windows Server AppFabric

  22. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. ASI Track Resources • Website – www.Microsoft.com/WindowsAzure/AppFabric • MSDN Developer Center – http://msdn.microsoft.com/en-us/azure/netservices.aspx • Blog – http://blogs.msdn.com/b/netservices/ • Twitter – http://twitter.com/azure_appfabric • Website – http://www.microsoft.com/biztalk/ • Website – http://msdn.microsoft.com/biztalk/ • Blog – http://blogs.msdn.com/biztalk_server_team_blog • Blog – http://www.biztalkblogs.com/ • Application Infrastructure Virtual Launch Event – www.appinfrastructure.com • AppFabric on Microsoft.com – http://www.microsoft.com/appfabric • Developer Center – http://msdn.microsoft.com/appfabric

  23. Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn

  24. Required Slide Complete an evaluation on CommNet and enter to win!

  25. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

  26. © 2010 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.

More Related