SlideShare una empresa de Scribd logo
1 de 24
WF 4.5
   What’s New in Windows Workflow 4.5?

Eran Stiller
Senior Software Architect,
Founder
March 20, 2013
About Me
•   Software architect, consultant and instructor
•   Technology addict
•   10 years of experience
•   .NET and Native Windows Programming
•   Specializes in large-scale, server-side, highly-concurrent systems
•   Co-Founder at CodeValue Ltd.
•   http://stiller.co.il/blog
Agenda
• What is WF?
• New in WF 4.5
  – Workflow Identity & Versioning
  – Contract-First Workflow Service
  – Dynamic Update
  – C# Expressions
  – Activity Delegates
  – Misc.
• Code! Code!! Code!!!
What is WF?
What is a Workflow?



                                       http://bit.ly/mNv50R




                http://bit.ly/l3ghxT
What is a Workflow?
• A sequence of connected steps
• Often an abstraction of real work
• Can usually be depicted in a graphic manner

            Step 1


                          Step 2


                                         Step 3
Windows Workflow Foundation
• Microsoft technology released as part of the .NET Framework
  – WF 3 as part of .NET 3.0 (2007)
  – WF 3.5 as part of .NET 3.5 (2008)
  – WF 4 as part of .NET 4.0 (2009)
     • WF 4 Update as part of .NET 4.0 Platform Update 1 (2011)
  – WF 4.5 as part of .NET 4.5 (2012)
• Provides a way to model software workflows
  – API
  – Workflow Engine
  – Workflow Designer
The Challenge
New in WF 4.5
Workflow Identity & Versioning
• Workflows are long-running
• Workflows are dynamic
• What happens when workflows change?
  – Major caveat in WF 4.0
  – No built-in solution to handle any versioning scenario
  – Self made solutions are difficult
• WF 4.5 ships with a built-in way to handle versioning
  – WorkflowIdentity
Workflow Identity & Versioning
• New workflows are created with a new version
  – Older workflows keep using the old versions
  – Side-by-side
• Suitable for all hosting scenarios
  – Workflow Applications
  – Workflow Services
     • Self-Host
     • Web Applications
Workflow Identity & Versioning
Contract-First Workflows
• Workflow Services implement WCF service contracts
  – In WF 4.0 contracts are defined within the workflow itself
     • Receive & Send Activities
  – Implemented contracts must match existing service contracts for
    compatibility
• WF 4.5 provides a limited ability to implement existing contracts
  – Only from WCF Web Applications
     • Workaround available
Contract-First Workflows
Dynamic Update
• Workflow side-by-side versioning operates on new workflow
  instances
  – Old instances maintain old versions
• Dynamic updates allow us to transform active instances into a
  newer version
  – Step 1 – Prepare an update map
  – Step 2 – Apply update map on required instances
  – Step 3 – Load instances with new WF definition
Dynamic Update
C# Expressions
• WF 4 only allowed VB expressions
• WF 4.5 allows both VB and C# expressions
• By default:
  – VB projects use VB expressions
  – C# projects use C# expressions
• Loading dynamic workflows with expressions from XAML
  requires compilation
• The re-hosted designer does not support C# expressions
C# Expressions
Activity Delegates
• In WF 4 designing activities which take Activity Delegates took
  a lot of code
• WF 4.5 has built-in designer support
Activity Delegates
Miscellaneous Improvements
• Activities
   – NoPersist Scope
   – New Flowchart Capabilities
   – State machine workflows
• Designer
   –   Designer Search
   –   Auto surround with sequence
   –   Pan mode
   –   Multi-select
   –   Outline view
   –   Auto-connect and auto-insert in Flowchart and State-Machine
   –   Designer Annotations
• Design time background validation
• View State in separate location in XAML
Summary
• Workflow Foundation (WF) is Microsoft’s implementation of a
  workflow solution
• Targets authoring long-running, dynamic, scalable & unified
  applications
• WF 4.5 brings many improvements to the table
  –   Workflow Identity & Versioning
  –   Contract-First Workflow Service
  –   Dynamic Update
  –   C# Expressions
  –   Activity Delegates
  –   And more…
Resources
• My Blog
  – http://stiller.co.il/blog
• Workflow Foundation
  – http://msdn.microsoft.com/en-us/vstudio/jj684582.aspx
• What’s new in WF 4.5
  – http://msdn.microsoft.com/en-us/library/hh305677.aspx
Presenter contact details
c: +972-54-6160646
e: erans@codevalue.net
b: stiller.co.il/blog
w: www.codevalue.net

Más contenido relacionado

Destacado

Your Passions & Your Profession
Your Passions & Your ProfessionYour Passions & Your Profession
Your Passions & Your ProfessionJullien Gordon
 
Como fazer cocada simples
Como fazer cocada simplesComo fazer cocada simples
Como fazer cocada simplesIsabela Silva
 
Edvie Online Live Classes for Class 6 to 10
Edvie Online Live Classes for Class 6 to 10Edvie Online Live Classes for Class 6 to 10
Edvie Online Live Classes for Class 6 to 10edvie online
 
JILIOW ASSIGNMENT
JILIOW ASSIGNMENTJILIOW ASSIGNMENT
JILIOW ASSIGNMENTAli jili'ow
 
A Study of Advertising Effectiveness Final
A Study of Advertising Effectiveness FinalA Study of Advertising Effectiveness Final
A Study of Advertising Effectiveness Finalkrishna bhatt
 
Ankur research report marketing
Ankur  research report marketingAnkur  research report marketing
Ankur research report marketingAnkur pratap singh
 
Oratie Jack van der Veen voor de EVO-leerstoel
Oratie Jack van der Veen voor de EVO-leerstoelOratie Jack van der Veen voor de EVO-leerstoel
Oratie Jack van der Veen voor de EVO-leerstoelevofenedex
 
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...Rio Afdhala
 
PLC (Programmable Logic Controller) S.M.54
PLC (Programmable Logic Controller) S.M.54PLC (Programmable Logic Controller) S.M.54
PLC (Programmable Logic Controller) S.M.54Subhash Mahla
 
Testimonial Letter for Angi Baleta
Testimonial Letter for Angi BaletaTestimonial Letter for Angi Baleta
Testimonial Letter for Angi BaletaAngi Baleta
 
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...GEF.FUTURE
 
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...CA Technologies
 
Rasulullah SAW as A Role Model (Great Leader)
Rasulullah SAW as A Role Model (Great Leader)Rasulullah SAW as A Role Model (Great Leader)
Rasulullah SAW as A Role Model (Great Leader)Eval Wari
 
Ji Ohsong – Skills for Economic Development
Ji Ohsong – Skills for Economic DevelopmentJi Ohsong – Skills for Economic Development
Ji Ohsong – Skills for Economic DevelopmentGlobal Education Futures
 
A Tour of Ruby On Rails
A Tour of Ruby On RailsA Tour of Ruby On Rails
A Tour of Ruby On RailsDavid Keener
 

Destacado (19)

Your Passions & Your Profession
Your Passions & Your ProfessionYour Passions & Your Profession
Your Passions & Your Profession
 
Resumen 1
Resumen 1Resumen 1
Resumen 1
 
Como fazer cocada simples
Como fazer cocada simplesComo fazer cocada simples
Como fazer cocada simples
 
Edvie Online Live Classes for Class 6 to 10
Edvie Online Live Classes for Class 6 to 10Edvie Online Live Classes for Class 6 to 10
Edvie Online Live Classes for Class 6 to 10
 
Verbs with adverbs and prepositions
Verbs with adverbs and prepositionsVerbs with adverbs and prepositions
Verbs with adverbs and prepositions
 
JILIOW ASSIGNMENT
JILIOW ASSIGNMENTJILIOW ASSIGNMENT
JILIOW ASSIGNMENT
 
A Study of Advertising Effectiveness Final
A Study of Advertising Effectiveness FinalA Study of Advertising Effectiveness Final
A Study of Advertising Effectiveness Final
 
Ankur research report marketing
Ankur  research report marketingAnkur  research report marketing
Ankur research report marketing
 
Oratie Jack van der Veen voor de EVO-leerstoel
Oratie Jack van der Veen voor de EVO-leerstoelOratie Jack van der Veen voor de EVO-leerstoel
Oratie Jack van der Veen voor de EVO-leerstoel
 
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...
Tugas Kelompok 4 - Teknik Tegangan Tinggi - Prof.Ir. Syamsir Abduh , MM, Ph.D...
 
NamSor for GEOINT
NamSor for GEOINTNamSor for GEOINT
NamSor for GEOINT
 
PLC (Programmable Logic Controller) S.M.54
PLC (Programmable Logic Controller) S.M.54PLC (Programmable Logic Controller) S.M.54
PLC (Programmable Logic Controller) S.M.54
 
Testimonial Letter for Angi Baleta
Testimonial Letter for Angi BaletaTestimonial Letter for Angi Baleta
Testimonial Letter for Angi Baleta
 
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...
ОСОБЕННОСТИ ОРГАНИЗАЦИИ СПОРТИВНЫХ МЕРОПРИЯТИЙ НА ПРИМЕРЕ ЭСТАФЕТЫ ОЛИМПИЙСКО...
 
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...
Case Study: Al Jazeera Extends its Business and Consumer Reach With Robust, W...
 
Free sex
Free sexFree sex
Free sex
 
Rasulullah SAW as A Role Model (Great Leader)
Rasulullah SAW as A Role Model (Great Leader)Rasulullah SAW as A Role Model (Great Leader)
Rasulullah SAW as A Role Model (Great Leader)
 
Ji Ohsong – Skills for Economic Development
Ji Ohsong – Skills for Economic DevelopmentJi Ohsong – Skills for Economic Development
Ji Ohsong – Skills for Economic Development
 
A Tour of Ruby On Rails
A Tour of Ruby On RailsA Tour of Ruby On Rails
A Tour of Ruby On Rails
 

Más de Eran Stiller

Architecting at Scale with the Advice Process
Architecting at Scale with the Advice ProcessArchitecting at Scale with the Advice Process
Architecting at Scale with the Advice ProcessEran Stiller
 
Application Evolution Strategy
Application Evolution StrategyApplication Evolution Strategy
Application Evolution StrategyEran Stiller
 
Developing and Deploying Microservices with Project Tye
Developing and Deploying Microservices with Project TyeDeveloping and Deploying Microservices with Project Tye
Developing and Deploying Microservices with Project TyeEran Stiller
 
API Design in the Modern Era - Architecture Next 2020
API Design in the Modern Era - Architecture Next 2020API Design in the Modern Era - Architecture Next 2020
API Design in the Modern Era - Architecture Next 2020Eran Stiller
 
Bot-Tender: A Chat Bot Walks into a Bar (2020)
Bot-Tender: A Chat Bot Walks into a Bar (2020)Bot-Tender: A Chat Bot Walks into a Bar (2020)
Bot-Tender: A Chat Bot Walks into a Bar (2020)Eran Stiller
 
Why Don’t You Understand Me? Build Intelligence into Your Apps
Why Don’t You Understand Me? Build Intelligence into Your AppsWhy Don’t You Understand Me? Build Intelligence into Your Apps
Why Don’t You Understand Me? Build Intelligence into Your AppsEran Stiller
 
Modern Microservices Architecture with Docker
Modern Microservices Architecture with DockerModern Microservices Architecture with Docker
Modern Microservices Architecture with DockerEran Stiller
 
Windows Containers - Microsoft Ignite The Tour
Windows Containers - Microsoft Ignite The TourWindows Containers - Microsoft Ignite The Tour
Windows Containers - Microsoft Ignite The TourEran Stiller
 
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...Eran Stiller
 
Bot Framework - Microsoft Ignite The Tour
Bot Framework - Microsoft Ignite The TourBot Framework - Microsoft Ignite The Tour
Bot Framework - Microsoft Ignite The TourEran Stiller
 
It's a Serverless World
It's a Serverless WorldIt's a Serverless World
It's a Serverless WorldEran Stiller
 
Keynote - From Monolith to Microservices - Lessons Learned in the Real World
Keynote - From Monolith to Microservices - Lessons Learned in the Real WorldKeynote - From Monolith to Microservices - Lessons Learned in the Real World
Keynote - From Monolith to Microservices - Lessons Learned in the Real WorldEran Stiller
 
Architecting a Serverless IoT System in the Cloud
Architecting a Serverless IoT System in the CloudArchitecting a Serverless IoT System in the Cloud
Architecting a Serverless IoT System in the CloudEran Stiller
 
6 Lessons I Learned on my Journey from Monolith to Microservices
6 Lessons I Learned on my Journey from Monolith to Microservices6 Lessons I Learned on my Journey from Monolith to Microservices
6 Lessons I Learned on my Journey from Monolith to MicroservicesEran Stiller
 
IoT in Action Keynote - CodeValue
IoT in Action Keynote - CodeValueIoT in Action Keynote - CodeValue
IoT in Action Keynote - CodeValueEran Stiller
 
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...Eran Stiller
 
Create Your Own Serverless PKI with .NET & Azure Key Vault
Create Your Own Serverless PKI with .NET & Azure Key VaultCreate Your Own Serverless PKI with .NET & Azure Key Vault
Create Your Own Serverless PKI with .NET & Azure Key VaultEran Stiller
 
Cloud Native Development on Azure
Cloud Native Development on AzureCloud Native Development on Azure
Cloud Native Development on AzureEran Stiller
 
Today, the Cloud Is Your Advantage
Today, the Cloud Is Your AdvantageToday, the Cloud Is Your Advantage
Today, the Cloud Is Your AdvantageEran Stiller
 

Más de Eran Stiller (20)

Architecting at Scale with the Advice Process
Architecting at Scale with the Advice ProcessArchitecting at Scale with the Advice Process
Architecting at Scale with the Advice Process
 
Application Evolution Strategy
Application Evolution StrategyApplication Evolution Strategy
Application Evolution Strategy
 
Developing and Deploying Microservices with Project Tye
Developing and Deploying Microservices with Project TyeDeveloping and Deploying Microservices with Project Tye
Developing and Deploying Microservices with Project Tye
 
API Design in the Modern Era - Architecture Next 2020
API Design in the Modern Era - Architecture Next 2020API Design in the Modern Era - Architecture Next 2020
API Design in the Modern Era - Architecture Next 2020
 
Bot-Tender: A Chat Bot Walks into a Bar (2020)
Bot-Tender: A Chat Bot Walks into a Bar (2020)Bot-Tender: A Chat Bot Walks into a Bar (2020)
Bot-Tender: A Chat Bot Walks into a Bar (2020)
 
Why Don’t You Understand Me? Build Intelligence into Your Apps
Why Don’t You Understand Me? Build Intelligence into Your AppsWhy Don’t You Understand Me? Build Intelligence into Your Apps
Why Don’t You Understand Me? Build Intelligence into Your Apps
 
Modern Microservices Architecture with Docker
Modern Microservices Architecture with DockerModern Microservices Architecture with Docker
Modern Microservices Architecture with Docker
 
Windows Containers - Microsoft Ignite The Tour
Windows Containers - Microsoft Ignite The TourWindows Containers - Microsoft Ignite The Tour
Windows Containers - Microsoft Ignite The Tour
 
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
 
Bot Framework - Microsoft Ignite The Tour
Bot Framework - Microsoft Ignite The TourBot Framework - Microsoft Ignite The Tour
Bot Framework - Microsoft Ignite The Tour
 
It's a Serverless World
It's a Serverless WorldIt's a Serverless World
It's a Serverless World
 
Keynote - From Monolith to Microservices - Lessons Learned in the Real World
Keynote - From Monolith to Microservices - Lessons Learned in the Real WorldKeynote - From Monolith to Microservices - Lessons Learned in the Real World
Keynote - From Monolith to Microservices - Lessons Learned in the Real World
 
Architecting a Serverless IoT System in the Cloud
Architecting a Serverless IoT System in the CloudArchitecting a Serverless IoT System in the Cloud
Architecting a Serverless IoT System in the Cloud
 
6 Lessons I Learned on my Journey from Monolith to Microservices
6 Lessons I Learned on my Journey from Monolith to Microservices6 Lessons I Learned on my Journey from Monolith to Microservices
6 Lessons I Learned on my Journey from Monolith to Microservices
 
IoT in Action Keynote - CodeValue
IoT in Action Keynote - CodeValueIoT in Action Keynote - CodeValue
IoT in Action Keynote - CodeValue
 
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
 
Create Your Own Serverless PKI with .NET & Azure Key Vault
Create Your Own Serverless PKI with .NET & Azure Key VaultCreate Your Own Serverless PKI with .NET & Azure Key Vault
Create Your Own Serverless PKI with .NET & Azure Key Vault
 
Cloud Native Development on Azure
Cloud Native Development on AzureCloud Native Development on Azure
Cloud Native Development on Azure
 
Today, the Cloud Is Your Advantage
Today, the Cloud Is Your AdvantageToday, the Cloud Is Your Advantage
Today, the Cloud Is Your Advantage
 
Build 2019 Recap
Build 2019 RecapBuild 2019 Recap
Build 2019 Recap
 

Último

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...DianaGray10
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Último (20)

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...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

What’s New in Windows Workflow Foundation (WF) 4.5?

  • 1. WF 4.5 What’s New in Windows Workflow 4.5? Eran Stiller Senior Software Architect, Founder March 20, 2013
  • 2. About Me • Software architect, consultant and instructor • Technology addict • 10 years of experience • .NET and Native Windows Programming • Specializes in large-scale, server-side, highly-concurrent systems • Co-Founder at CodeValue Ltd. • http://stiller.co.il/blog
  • 3. Agenda • What is WF? • New in WF 4.5 – Workflow Identity & Versioning – Contract-First Workflow Service – Dynamic Update – C# Expressions – Activity Delegates – Misc. • Code! Code!! Code!!!
  • 5. What is a Workflow? http://bit.ly/mNv50R http://bit.ly/l3ghxT
  • 6. What is a Workflow? • A sequence of connected steps • Often an abstraction of real work • Can usually be depicted in a graphic manner Step 1 Step 2 Step 3
  • 7. Windows Workflow Foundation • Microsoft technology released as part of the .NET Framework – WF 3 as part of .NET 3.0 (2007) – WF 3.5 as part of .NET 3.5 (2008) – WF 4 as part of .NET 4.0 (2009) • WF 4 Update as part of .NET 4.0 Platform Update 1 (2011) – WF 4.5 as part of .NET 4.5 (2012) • Provides a way to model software workflows – API – Workflow Engine – Workflow Designer
  • 9. New in WF 4.5
  • 10. Workflow Identity & Versioning • Workflows are long-running • Workflows are dynamic • What happens when workflows change? – Major caveat in WF 4.0 – No built-in solution to handle any versioning scenario – Self made solutions are difficult • WF 4.5 ships with a built-in way to handle versioning – WorkflowIdentity
  • 11. Workflow Identity & Versioning • New workflows are created with a new version – Older workflows keep using the old versions – Side-by-side • Suitable for all hosting scenarios – Workflow Applications – Workflow Services • Self-Host • Web Applications
  • 12. Workflow Identity & Versioning
  • 13. Contract-First Workflows • Workflow Services implement WCF service contracts – In WF 4.0 contracts are defined within the workflow itself • Receive & Send Activities – Implemented contracts must match existing service contracts for compatibility • WF 4.5 provides a limited ability to implement existing contracts – Only from WCF Web Applications • Workaround available
  • 15. Dynamic Update • Workflow side-by-side versioning operates on new workflow instances – Old instances maintain old versions • Dynamic updates allow us to transform active instances into a newer version – Step 1 – Prepare an update map – Step 2 – Apply update map on required instances – Step 3 – Load instances with new WF definition
  • 17. C# Expressions • WF 4 only allowed VB expressions • WF 4.5 allows both VB and C# expressions • By default: – VB projects use VB expressions – C# projects use C# expressions • Loading dynamic workflows with expressions from XAML requires compilation • The re-hosted designer does not support C# expressions
  • 19. Activity Delegates • In WF 4 designing activities which take Activity Delegates took a lot of code • WF 4.5 has built-in designer support
  • 21. Miscellaneous Improvements • Activities – NoPersist Scope – New Flowchart Capabilities – State machine workflows • Designer – Designer Search – Auto surround with sequence – Pan mode – Multi-select – Outline view – Auto-connect and auto-insert in Flowchart and State-Machine – Designer Annotations • Design time background validation • View State in separate location in XAML
  • 22. Summary • Workflow Foundation (WF) is Microsoft’s implementation of a workflow solution • Targets authoring long-running, dynamic, scalable & unified applications • WF 4.5 brings many improvements to the table – Workflow Identity & Versioning – Contract-First Workflow Service – Dynamic Update – C# Expressions – Activity Delegates – And more…
  • 23. Resources • My Blog – http://stiller.co.il/blog • Workflow Foundation – http://msdn.microsoft.com/en-us/vstudio/jj684582.aspx • What’s new in WF 4.5 – http://msdn.microsoft.com/en-us/library/hh305677.aspx
  • 24. Presenter contact details c: +972-54-6160646 e: erans@codevalue.net b: stiller.co.il/blog w: www.codevalue.net

Notas del editor

  1. Ask the crowd what do they think is the contract