《AppFabric和工作流.pptx》由会员分享,可在线阅读,更多相关《AppFabric和工作流.pptx(25页珍藏版)》请在三一文库上搜索。
1、AppFabricand Windows Workflow 4 Ron Jacobs Sr. Technical Evangelist Microsoft http:/ Host (.exe, Dublin-IIS/WAS, .NET Services, ) WF Runtime Extensions Tracking Persistence What is WF4? WF4 provides declarative authoring of programs that coordinate work Activities Runtime Tooling Tooling VS Designer
2、 VS Debugger Rehosted Designer Workflow Activity Library WF4 is a Runtime CLRCLR WF4 Instruction Object Activity Why? CLRCLR WF4 Safety Memory Declarative Agility Why Declarative? Focus on What not How How do I allocate memory? How do I avoid race conditions? “a leading computer scientist has warned
3、 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 available Work must be agile across 4 dimensions Thread Process Machine Time Customize The Voca
4、bulary You decide what operations are allowed Provide high level operations Assemble into a workflow Customize Design WF4WF4 ASP.NETASP.NET WF4WF4 AppFabricAppFabric WF4WF4 Workflow Everywhere ClientClient Developer Tools Programming Model Application Services Relational Database Operating System Sy
5、stems Management Applications SERVICESSERVERS Application Server Concepts Activity Model & Runtime Control Flow Activities Flowchart SequentialState Machine Base Activity Library MessagingCustom Activities Primitives Rules Error Handling Hello Workflow Demo WhileWhile If-ElseIf-Else Flowchart vs. Pr
6、ocedural Style DevelopDevelop QuoteQuote SendSend QuoteQuote ManagerManager ReviewReview DevelopDevelop QuoteQuote SendSend QuoteQuote ManagerManager ReviewReview Hello Flowchart Demo Workflow Services Service Service Service Activity Activity Activity Services provide communication among applicatio
7、n nodes Activities provide implementation of application nodes Applicant Applicant Service Education Service 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
8、IIS/WAS Workflows Runtime DatabasesPersistenceMonitoring HostingPersistenceCachingMonitoring IIS Manager Modules PowerShell Evolution of Evolution of WAS/IIS and WAS/IIS and Windows Windows Application Server Application Server role to run and role to run and manage WCF and manage WCF and WF service
9、sWF services Ships as part of Ships as part of 2010 Wave2010 Wave AppFabric Windows Server and Windows Azure platform AppFabric CACHING SERVICE BUSACCESS CONTROL MONITORINGWORKFLOW HOSTING SERVICE HOSTING SCALE OUTHIGH AVAILABILITY MULTI-TENANT MANAGEMENT AppFabric Demo Web TierWeb Tier ( (ASP.NetAS
10、P.Net) ) UsersUsers DatabaseDatabaseCloudCloudData TierData Tier Application Application Application Caching Access Layer Caching Access Layer Caching Access Layer Caching Caching ServiceService Caching Caching ServiceService Caching Caching ServiceService Cache Tier Windows AppFabric Caching Summary WF4 allows you to model business processes and can be used in any .NET process Workflow Services and AppFabric allow you to create highly scalable and manageable services For More Information MSDN Workflow Dev Center http:/ MSDN WCF Dev Center http:/ MSDN AppFabricDev Center http:/