SlideShare a Scribd company logo
1 of 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

More Related Content

Viewers also liked

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
 

Viewers also liked (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
 

More from 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
 

More from 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
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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.pptxHampshireHUG
 
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...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

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

Editor's Notes

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