Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation.

Similar presentations


Presentation on theme: "Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation."— Presentation transcript:

1

2 Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation

3

4

5 VS 2012 RC QFE

6

7

8

9

10

11 QUEUE http://www.thejoyofcode.com/uploads/CommentTasker.zip http://code.msdn.microsoft.com/Windows-Workflow-8697594e

12

13

14

15 IIS/WAS No persistence No bookmarks No instance control No persistence No bookmarks No instance control Interactive (bookmarks) Persistence Tracking Async execution Single instance Interactive (bookmarks) Persistence Tracking Async execution Single instance WCF activities Activation / instance mgmt Config OOB durable timers WCF activities Activation / instance mgmt Config OOB durable timers IIS Extensions: Windows Server AppFabric SQL tracking store IIS tooling add-ins Auto-start IIS Extensions: Windows Server AppFabric SQL tracking store IIS tooling add-ins Auto-start Function invocation Button click handler Activity testing Function invocation Button click handler Activity testing WorkflowInvoker Run WorkflowApplication Run Resume WorkflowServiceHost Receive Send Host application integration WF-driven UI Host application integration WF-driven UI Integrated WCF messaging Message activation Integrated WCF messaging Message activation

16

17

18 WorkflowApplication WorkflowApplication instance = new WorkflowApplication(new Activity1()); instance.Idle = delegate(WorkflowApplicationIdleEventArgs e) { … }; instance.Completed = delegate(WorkflowApplicationCompletedEventArgs e) { … }; instance.Run(); instance.ResumeBookmark("PleaseContinue", someData);

19 demo MVC + WorkflowApplication Web Site Registration Download link: http://wfmvc.codeplex.com/releases/view/89086

20 WorkflowInvoker w/ ServiceBus in Worker public override void Run() { while (true) { using (var receivedMessage = solutionQueueClient.Receive(TimeSpan.FromSeconds(10))) { if (receivedMessage != null) { this.ProcessReceivedMessage(receivedMessage); } private void ProcessReceivedMessage(BrokeredMessage receivedMessage) { var receivedMathProblem = receivedMessage.GetBody (); var arguments = new Dictionary { { "Problem", receivedMathProblem } }; var output = WorkflowInvoker.Invoke(this.processMessageDefinition, arguments); … }

21 demo Service Bus + WorkflowInvoker Math Processing Download link: http://code.msdn.microsoft.com/windowsazure/Simple-ServiceBus- Queue-bc548f79/

22

23 demo Workflow Service Hello World WCF WF Service + IIS in web role Hello World

24 create table [System.Activities.DurableInstancing].[LockOwnersTable] ( … [WorkflowHostType] uniqueidentifier null, … ) e.g.: Deployment(39).ContosoMortgage.ContosoWebRole1.0_Web

25 demo Workflow Service Hello World WCF WF Service + IIS in web role Mortgage Acquisition Article: http://msdn.microsoft.com/en-us/magazine/ff646977.aspxhttp://msdn.microsoft.com/en-us/magazine/ff646977.aspx

26 demo->sample Workflow Service with SB Bindings Download link: http://msdn.microsoft.com/en-us/library/hh709041(v=VS.103).aspx

27

28 Azure Workflow Multi-tenancy High density Artifact management Monitoring & management Service Bus integration Multi-tenancy High density Artifact management Monitoring & management Service Bus integration Workflow as a Service

29

30 Fabrikam.com Help Desk SaaS Application Fabrikam.com Help Desk SaaS Application fabrikam.workflow.windows.net Fabrikam Activities Fabrikam IT Contoso Contoso Activities Contoso IT Contoso Users Contoso Workflows

31 demo Windows Azure Workflow Help Desk ISV

32

33

34

35 Breakout Sessions: WSV414 - Advanced Automation Using Windows PowerShell 3.0 Fri, 8:30 AM - 9:45 AM Find Me Later At… Ask the Experts Windows Azure For ISVs booth (11:30-1:30 Friday) jwillis@microsoft.com TechEd North America WF 4.5 presentation

36 JWillis@microsoft.com

37 Connect. Share. Discuss. http://europe.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn

38 Evaluations http://europe.msteched.com/sessions Submit your evals online

39

40 Examples: -Applications -Tenants in a SaaS ISV application Examples: -Applications -Tenants in a SaaS ISV application

41 Scope Activities Workflows Config Instances Notifications Scope Scope properties: Name / Description Access Claims Status

42

43 Long Running Long Running Composition & Coordination Composition & Coordination Application Visibility Application Visibility Custom Authoring Custom Authoring


Download ppt "Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation."

Similar presentations


Ads by Google