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 AZR321.

Similar presentations


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

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

2

3

4

5

6

7

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

9

10

11

12 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

13

14

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

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

17 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); … }

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

19

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

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

22 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

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

24

25 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

26

27 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 PUT https://fabrikam.workflow.windows.net/Activity1

28 demo Windows Azure Workflow Help Desk ISV

29

30

31

32 JWillis@microsoft.com

33 Meetwindowsazure.com @WindowsAzure @ms_teched DOWNLOAD Windows Azure Windowsazure.com/ teched Hands-On Labs

34 Connect. Share. Discuss. http://northamerica.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

35 Complete an evaluation on CommNet and enter to win!

36

37

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

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

40

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

42


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

Similar presentations


Ads by Google