SlideShare uma empresa Scribd logo
1 de 23
Cai Zonghe / NCS Pte Ltd
t: @caizonghe
e: caizonghe@gmail.com
w: studiohub.wordpress.com
   Introduction to WF
   Context of WF in Azure
   Migration/development options
   Quick Dive Demo (Basic WF)
   Quick Dive Demo (Advanced WF)
   Partial Demo (Azure Composite Application)
   Introduction to WF
   Context of WF in Azure
   Migration/development options
   Quick Dive Demo (Basic WF)
   Quick Dive Demo (Advanced WF)
   Partial Demo (Azure Composite Application)
   Long running processes
    ◦ Seconds / Minutes / Days / Months / Years
    ◦ System / Human
    ◦ Unreliable external world
      Systems fail
      People forget


   Complex processes
    ◦ Declarative representation of a process
    ◦ Easy to validate
    ◦ Increase maintainability
   Versions:
    ◦   .Net 3.0 / 3.5 – Sequence / State Machines
    ◦   .Net 4.0 – Sequence / Flowchart
    ◦   .Net 4.0 Update 1 – State Machines
    ◦   .Net 4.5 (Upcoming) – Contract First WF / Version
        Handling / C# Support

   Hosting
    ◦ Self Host – Windows Service / Exe
    ◦ IIS / WAS – [Windows Workflow Service Application]
   Introduction to WF
   Context of WF in Azure
   Migration/development options
   Quick Dive Demo (Basic WF)
   Quick Dive Demo (Advanced WF)
   Partial Demo (Azure Composite Application)
   Handled by Batchjobs on premise
    ◦ Mainframe concept, batch window / duration
    ◦ “Free”
    ◦ BJ mapped to worker roles in Azure
      Not feasible to spin up workers / effective polling
      Responsible for framework level stuff
        Multi-threading, lock management, etc
        Recovery from errors
        Monitoring
   WF is built to be used by multiple systems
    ◦   Simple process workflow / complex business processes
    ◦   Resource queuing / lock mangement etc
    ◦   Recovery from errors
    ◦   Monitoring (with AppFabric)


   Azure provides elastic scale

   Azure AppFabric Composite Application
    ◦ Monitoring
    ◦ Recovery
   Introduction to WF
   Context of WF in Azure
   Migration/development options
   Quick Dive Demo (Basic WF)
   Quick Dive Demo (Advanced WF)
   Partial Demo (Azure Composite Application)
   Prerequisites
    ◦   Microsoft .Net 4.0
    ◦   Microsoft .Net 4.0 Update 1
    ◦   Azure SDK 1.6 (Nov)
    ◦   Azure AppFabric Tools (June CTP)
    ◦   Azure / AzureSQL / CompApp Accounts
    ◦   Persistence scripts
         <WinDir>Microsoft.NETFrameworkv4.0.30319SQL
          en
   Current State
    ◦ On-Premise WF Application with on-premise DB
        .Net 4.0 Sequence WF
        .Net 4.0 Update 1 State Machine WF
        Requires WF Persistence
        Requires Custom Property Persistance
        References external WCF / Web services
        Requires ability to suspend/resume/terminate running
         workflows
   Cloud Option
    ◦ On-Premise WF Application with Azure SQL DB
      Run Schema.sql (Run this to clear DB for dev purpose)
      Run Logic.sql

      - High Overhead to configure Firewalls / Security /
       Network
      - High Latency
   Cloud Option
    ◦ Azure Web Role hosting WF Application
   Cloud Option
    ◦ Azure Web Accelerator Project
      Using Web Deploy

      X Unable to publish endpoint [ WIP ]
   Cloud Option
    ◦ Azure AppFabric Composite Application
      Different approach to looking at application
      No more handling ServiceModel Client configuration
       for endpoints
      Uses a service locator pattern to register and resolve
       deployed applications
      Applications can be dynamically redeployed to scale
      Provides representation of how the various
       components work together.
   Cloud Option
    ◦ Azure AppFabric Composite Application
      Different approach to looking at application
      No more handling ServiceModel Client configuration
       for endpoints
      Uses a service locator pattern to register and resolve
       deployed applications
      Applications can be dynamically redeployed to scale
      Provides representation of how the various
       components work together.
   Cloud Option
    ◦ Azure AppFabric Composite Application
      X CTP only
      X Only if you can get an account
      X A lot of configurations for Workflow
   Quick Dive Demo (Basic WF)
    ◦ Web App to place order via WF
      service
    ◦ WF Service records order
    ◦ WF Service checks inventory
    ◦ WF Service calls payment service
    ◦ WF Service calls shipping service
    ◦ WF Service waits for shipping
      update
    ◦ WF Service completes when item
      delivered
   Quick Dive Demo (Advanced WF)
    ◦ How WF persistence is done
    ◦ How WF custom property persistence is done
    ◦ How to recover from WF errors
   Partial Demo (Azure Composite Application)
Moving wf applications to the cloud

Mais conteúdo relacionado

Mais procurados

vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoring
Alan Renouf
 
HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Express
dean1609
 
02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure
Bat Programmer
 

Mais procurados (20)

Cnam azure ze cloud resource manager
Cnam azure ze cloud  resource managerCnam azure ze cloud  resource manager
Cnam azure ze cloud resource manager
 
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud EnvironmentsAutomation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
 
A deep dive into supporting xen desktop
A deep dive into supporting xen desktopA deep dive into supporting xen desktop
A deep dive into supporting xen desktop
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft Azure
 
Microsoft Azure Websites Webjobs
Microsoft Azure Websites WebjobsMicrosoft Azure Websites Webjobs
Microsoft Azure Websites Webjobs
 
Azure and web sites hackaton deck
Azure and web sites hackaton deckAzure and web sites hackaton deck
Azure and web sites hackaton deck
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoring
 
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
 
Windows Azure Web Sites - Things they don’t teach kids in school - Comunity D...
Windows Azure Web Sites- Things they don’t teach kids in school - Comunity D...Windows Azure Web Sites- Things they don’t teach kids in school - Comunity D...
Windows Azure Web Sites - Things they don’t teach kids in school - Comunity D...
 
Immutable infrastructure isn’t the answer
Immutable infrastructure isn’t the answerImmutable infrastructure isn’t the answer
Immutable infrastructure isn’t the answer
 
HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Express
 
"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей Моренец"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей Моренец
 
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConfWindows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
 
Container management with docker & kubernetes
Container management with docker & kubernetesContainer management with docker & kubernetes
Container management with docker & kubernetes
 
Cnam cours azure cloud services
Cnam cours azure  cloud servicesCnam cours azure  cloud services
Cnam cours azure cloud services
 
Creating CentOS Template For CloudStack
Creating CentOS Template For CloudStackCreating CentOS Template For CloudStack
Creating CentOS Template For CloudStack
 
azure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep diveazure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep dive
 
NDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
 
Service Management Automation (SMA) from zero to hero
Service Management Automation (SMA) from zero to heroService Management Automation (SMA) from zero to hero
Service Management Automation (SMA) from zero to hero
 
02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure
 

Destaque (6)

Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
 
Producing an OData feed in 10 minutes
Producing an OData feed in 10 minutesProducing an OData feed in 10 minutes
Producing an OData feed in 10 minutes
 
CDW Overview
CDW OverviewCDW Overview
CDW Overview
 
Verrex Global Portfolio
Verrex Global PortfolioVerrex Global Portfolio
Verrex Global Portfolio
 
ILMP Technologies - Your Software solutions provider
ILMP Technologies - Your Software solutions providerILMP Technologies - Your Software solutions provider
ILMP Technologies - Your Software solutions provider
 
IRGC 2013 presentation
IRGC 2013 presentationIRGC 2013 presentation
IRGC 2013 presentation
 

Semelhante a Moving wf applications to the cloud

Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
Manish Corriea
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
George Kanellopoulos
 
MS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applicationsMS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applications
Spiffy
 
Overview of Azure and Cloud Computing
Overview of Azure and Cloud ComputingOverview of Azure and Cloud Computing
Overview of Azure and Cloud Computing
Abhishek Sur
 

Semelhante a Moving wf applications to the cloud (20)

Using windows azure to develop secure and deploy cloud applications Santiago ...
Using windows azure to develop secure and deploy cloud applications Santiago ...Using windows azure to develop secure and deploy cloud applications Santiago ...
Using windows azure to develop secure and deploy cloud applications Santiago ...
 
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesGIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
Migrate an Existing Application to Microsoft Azure
Migrate an Existing Application to Microsoft AzureMigrate an Existing Application to Microsoft Azure
Migrate an Existing Application to Microsoft Azure
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
 
MS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applicationsMS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applications
 
5 Simple Steps to Migrate to AWS – Zerto
  5 Simple Steps to Migrate to AWS – Zerto  5 Simple Steps to Migrate to AWS – Zerto
5 Simple Steps to Migrate to AWS – Zerto
 
Azure Site Recovery and System Center
Azure Site Recovery and System Center Azure Site Recovery and System Center
Azure Site Recovery and System Center
 
Deploying couchbaseserverazure cihanbiyikoglu_microsoft
Deploying couchbaseserverazure cihanbiyikoglu_microsoftDeploying couchbaseserverazure cihanbiyikoglu_microsoft
Deploying couchbaseserverazure cihanbiyikoglu_microsoft
 
Azure in Developer Perspective
Azure in Developer PerspectiveAzure in Developer Perspective
Azure in Developer Perspective
 
A journey to the cloud: Getting started migrating your on-premises service to...
A journey to the cloud: Getting started migrating your on-premises service to...A journey to the cloud: Getting started migrating your on-premises service to...
A journey to the cloud: Getting started migrating your on-premises service to...
 
Apache cloud stack 4.1 new features deep dive
Apache cloud stack 4.1 new features deep diveApache cloud stack 4.1 new features deep dive
Apache cloud stack 4.1 new features deep dive
 
V mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitV mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kit
 
5 simple steps to migrate to AWS
5 simple steps to migrate to AWS5 simple steps to migrate to AWS
5 simple steps to migrate to AWS
 
Sudheer d desertcodecamp_11_05_2011
Sudheer d desertcodecamp_11_05_2011Sudheer d desertcodecamp_11_05_2011
Sudheer d desertcodecamp_11_05_2011
 
Nakivo overview
Nakivo overviewNakivo overview
Nakivo overview
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
Overview of Azure and Cloud Computing
Overview of Azure and Cloud ComputingOverview of Azure and Cloud Computing
Overview of Azure and Cloud Computing
 
Spring: Your Next Java Micro-Framework
Spring: Your Next Java Micro-FrameworkSpring: Your Next Java Micro-Framework
Spring: Your Next Java Micro-Framework
 
Put Your Existing Application On Windows Azure
Put Your Existing Application On Windows AzurePut Your Existing Application On Windows Azure
Put Your Existing Application On Windows Azure
 

Último

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Moving wf applications to the cloud

  • 1. Cai Zonghe / NCS Pte Ltd t: @caizonghe e: caizonghe@gmail.com w: studiohub.wordpress.com
  • 2. Introduction to WF  Context of WF in Azure  Migration/development options  Quick Dive Demo (Basic WF)  Quick Dive Demo (Advanced WF)  Partial Demo (Azure Composite Application)
  • 3. Introduction to WF  Context of WF in Azure  Migration/development options  Quick Dive Demo (Basic WF)  Quick Dive Demo (Advanced WF)  Partial Demo (Azure Composite Application)
  • 4. Long running processes ◦ Seconds / Minutes / Days / Months / Years ◦ System / Human ◦ Unreliable external world  Systems fail  People forget  Complex processes ◦ Declarative representation of a process ◦ Easy to validate ◦ Increase maintainability
  • 5.
  • 6.
  • 7. Versions: ◦ .Net 3.0 / 3.5 – Sequence / State Machines ◦ .Net 4.0 – Sequence / Flowchart ◦ .Net 4.0 Update 1 – State Machines ◦ .Net 4.5 (Upcoming) – Contract First WF / Version Handling / C# Support  Hosting ◦ Self Host – Windows Service / Exe ◦ IIS / WAS – [Windows Workflow Service Application]
  • 8. Introduction to WF  Context of WF in Azure  Migration/development options  Quick Dive Demo (Basic WF)  Quick Dive Demo (Advanced WF)  Partial Demo (Azure Composite Application)
  • 9. Handled by Batchjobs on premise ◦ Mainframe concept, batch window / duration ◦ “Free” ◦ BJ mapped to worker roles in Azure  Not feasible to spin up workers / effective polling  Responsible for framework level stuff  Multi-threading, lock management, etc  Recovery from errors  Monitoring
  • 10. WF is built to be used by multiple systems ◦ Simple process workflow / complex business processes ◦ Resource queuing / lock mangement etc ◦ Recovery from errors ◦ Monitoring (with AppFabric)  Azure provides elastic scale  Azure AppFabric Composite Application ◦ Monitoring ◦ Recovery
  • 11. Introduction to WF  Context of WF in Azure  Migration/development options  Quick Dive Demo (Basic WF)  Quick Dive Demo (Advanced WF)  Partial Demo (Azure Composite Application)
  • 12. Prerequisites ◦ Microsoft .Net 4.0 ◦ Microsoft .Net 4.0 Update 1 ◦ Azure SDK 1.6 (Nov) ◦ Azure AppFabric Tools (June CTP) ◦ Azure / AzureSQL / CompApp Accounts ◦ Persistence scripts  <WinDir>Microsoft.NETFrameworkv4.0.30319SQL en
  • 13. Current State ◦ On-Premise WF Application with on-premise DB  .Net 4.0 Sequence WF  .Net 4.0 Update 1 State Machine WF  Requires WF Persistence  Requires Custom Property Persistance  References external WCF / Web services  Requires ability to suspend/resume/terminate running workflows
  • 14. Cloud Option ◦ On-Premise WF Application with Azure SQL DB  Run Schema.sql (Run this to clear DB for dev purpose)  Run Logic.sql  - High Overhead to configure Firewalls / Security / Network  - High Latency
  • 15. Cloud Option ◦ Azure Web Role hosting WF Application
  • 16. Cloud Option ◦ Azure Web Accelerator Project  Using Web Deploy  X Unable to publish endpoint [ WIP ]
  • 17. Cloud Option ◦ Azure AppFabric Composite Application  Different approach to looking at application  No more handling ServiceModel Client configuration for endpoints  Uses a service locator pattern to register and resolve deployed applications  Applications can be dynamically redeployed to scale  Provides representation of how the various components work together.
  • 18. Cloud Option ◦ Azure AppFabric Composite Application  Different approach to looking at application  No more handling ServiceModel Client configuration for endpoints  Uses a service locator pattern to register and resolve deployed applications  Applications can be dynamically redeployed to scale  Provides representation of how the various components work together.
  • 19. Cloud Option ◦ Azure AppFabric Composite Application  X CTP only  X Only if you can get an account  X A lot of configurations for Workflow
  • 20. Quick Dive Demo (Basic WF) ◦ Web App to place order via WF service ◦ WF Service records order ◦ WF Service checks inventory ◦ WF Service calls payment service ◦ WF Service calls shipping service ◦ WF Service waits for shipping update ◦ WF Service completes when item delivered
  • 21. Quick Dive Demo (Advanced WF) ◦ How WF persistence is done ◦ How WF custom property persistence is done ◦ How to recover from WF errors
  • 22. Partial Demo (Azure Composite Application)