Upload
grant-thornton
View
218
Download
0
Embed Size (px)
Citation preview
AppFabric andWindow Workflow 4
Ron JacobsSr. Technical EvangelistMicrosofthttp://blogs.msdn.com/rjacobs
Host (.exe, Dublin-IIS/WAS, .NET Services, …)
WF Runtime Extensions
Tracking
Persistence
…
What is WF4?
WF4 provides declarative authoring of programs that coordinate work
ActivitiesRuntimeTooling
Tooling
VS Designer
VS Debugger
Rehosted Designer
WorkflowActivity Library
WF4 is a Runtime
CLR CLR
WF4Instructio
n
Object
Activity
Why?
CLR CLR
WF4
SafetyMemory
Declarative
Agility
Why Declarative?
Focus on What not HowHow do I allocate memory?How do I avoid race conditions?
“…a leading computer scientist has warned that an easy solution to programming chips with dozens of processors has not yet been discovered.”- New York Times
80 cores in 2011?
Why Agile?
Work should happen when data is ready where resources are availableWork must be agile across 4 dimensions
ThreadProcessMachineTime
Customize The Vocabulary
You decide what operations are allowedProvide high level operations Assemble into a workflow
Customize Design
WF4
ASP.NET
WF4
AppFabric
WF4
Workflow Everywhere
Client
Developer Tools
Programming Model
Application Services
Relational Database
Operating System
Systems Management
Applications
SERV ICESSERVERS
Application Server Concepts
Activity Model & Runtime
Control Flow Activities
Flowchart SequentialState
Machine
Base Activity Library
Messaging Custom
Activities
Primitives
Rules
Error Handling
Hello Workflow
Demo
While
If-Else
Flowchart vs. Procedural Style
DevelopQuote
SendQuote
ManagerReview
DevelopQuote
SendQuote
ManagerReview
Hello Flowchart
Demo
Workflow Services
Service
Service
Service
Activity
Activity
Activity
Services provide communication among application nodes
Activities provide implementation of application nodes
Applicant
Applicant Service
EducationService
Reviewer
1
2
3
4
5
HR Data
Persistence
HR Application Process
Workflow Services
Demo
Windows Server AppFabric
Windows Server
.NET Framework
Windows Server AppFabric
Services
Management Tools
IIS/WAS
Workflows
Runtime DatabasesPersistence Monitoring
HostingPersistenc
eCachingMonitoring
IIS Manager Modules
PowerShell
> Evolution of WAS/IIS and Windows Application Server role to run and manage WCF and WF services
> Ships as part of 2010 Wave
AppFabricWindows Server and Windows Azure platform
AppFabric
CACHING
SERVICE BUS ACCESS CONTROL
MONITORINGWORKFLOW HOSTING
SERVICE HOSTING
SCALE OUTHIGH AVAILABILITY MULTI-TENANT MANAGEMENT
AppFabric
Demo
… Web Tier(ASP.Net)
Users
Database Cloud Data Tier
Application Application Application
Caching Access Layer
Caching Access Layer
Caching Access Layer
Cach
ing
Serv
ice
Cach
ing
Serv
ice
Cach
ing
Serv
ice
Cache Tier
Windows AppFabric Caching
Summary
WF4 allows you to model business processes and can be used in any .NET processWorkflow Services and AppFabric allow you to create highly scalable and manageable services
For More Information
MSDN Workflow Dev Centerhttp://msdn.microsoft.com/wf
MSDN WCF Dev Centerhttp://msdn.microsoft.com/wcf
MSDN AppFabric Dev Centerhttp://msdn.microsoft.com/appfabric