Tech Ed North America 2010 5/27/ :46 PM SESSION CODE: ASI203

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation Session Code: WSV304.
Advertisements

David Chappell Chappell & Associates Workflow in Windows SharePoint: Technology for Web 2.0? Copyright © 2007 David Chappell.
Платформа 2010 Understanding the SharePoint 2010 Developer Platform An Introduction for ASP.NET Solution Architects Chappell.
Chandrika Shankarnarayan Senior Program Manager Microsoft Corporation SESSION CODE: ASI301.
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed  North America /11/ :01 AM SESSION CODE: DEV405
6/12/ :53 PM DEV311 Deep Dive into Microsoft Visual Studio Team Foundation Server 2010 Reporting Steven Borg, Principal ALM Consultant Northwest.
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech Ed North America /13/ :13 AM Required Slide
Tech·Ed North America /14/2018 7:13 PM
Introducing the Windows Azure Platform
Overview of Social Computing in Microsoft SharePoint 2010
Customer Experiences With Business Intelligence
Implementing RESTful Services Using the Microsoft .NET Framework
TechEd /14/2018 6:26 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Sysinternals Tutorials
T-SQL Power! The OVER Clause: Your Key to No-Sweat Problem Solving
Tech·Ed North America /19/ :44 PM
Architecture of Master Data Services in Microsoft SQL Server 2008 R2
SESSION CODE: ASI313 Windows Server AppFabric Caching: What It Is and When You Should Use It Jon Flanders.
What’s New In ASP.NET MVC 2
Tech Ed North America /22/2018 4:52 PM SESSION CODE: SIA201
Matt Masson Software Development Engineer Microsoft Corporation
The Windows Azure Platform: When and Why to Use It
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
Jason Zander Unplugged
Branching and Merging Practices
Tech Ed North America /1/2018 4:27 PM Required Slide
High Availability: A Contrarian View
Business Intelligence Overview: Decisions, Decisions, Decisions
TechEd /4/2018 3:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Manage Your Enterprise from a Single Seat: Windows PowerShell Remoting
Code Walkthrough of a Cloud Application Running on the Windows Azure Platform
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Best Practices: Creating OData Services using WCF Data Services
Tech·Ed North America /7/2018 2:51 PM
Team Foundation Server 2010 for Everyone
Tiberiu Covaci Senior Technical Trainer Many-core
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Introducing Microsoft SQL Server 2008 R2 Master Data Services
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Tech Ed North America /1/ :36 AM Required Slide
Tech Ed North America /1/2019 2:58 AM Required Slide
Intro to Workflow Services and Windows Server AppFabric
Tech·Ed North America /2/2019 4:47 PM
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Visual Studio 2010 for Web Deployment
TechEd /18/2019 2:43 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft SharePoint Conference 2009 Jon Flanders
2010 Microsoft BI Conference
Vittorio Bertocci Principal Technical Evangelist Microsoft
Building Silverlight Apps with RIA Services
Migrating your applications to Azure
Building Business Applications in LightSwitch
Creating and Consuming OData Services for Business Applications
Sayed Ibrahim Hashimi Program Manager Microsoft Corporation
Tech Ed North America /12/2019 6:45 AM Required Slide
A Lap Around Internet Explorer 9 For Developers
2010 Microsoft BI Conference
Hack-proofing your Clients using Windows 7 Security!
How and When to Use MEF: Too Much Is Never Enough
Building RESTful services using OData
Lap Around the Windows Azure Platform
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Building BI applications using PowerPivot for Excel
Tech·Ed North America /6/2019 7:10 PM
Tech·Ed North America /17/2019 4:14 PM
Tech Ed North America /6/2019 2:07 PM Required Slide
TechEd /5/2019 2:08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Tech Ed North America 2010 5/27/2018 12:46 PM SESSION CODE: ASI203 Understanding the Microsoft Application Server: AppFabric, WF, WCF, and More David Chappell Principal Chappell & Associates © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Server AppFabric does this What’s the Problem? Who should create application infrastructure? Possible solutions: Application developers Software vendors, e.g., Microsoft Windows Server AppFabric does this

What Is Windows Server AppFabric? It’s application infrastructure technology with two parts: AppFabric Caching Services Provides a distributed cache AppFabric Hosting Services Provides hosting and management services for applications built using Windows Communication Foundation (WCF) 4 Especially WCF applications built using Windows Workflow Foundation (WF) 4 An application can use these two parts separately or together

AppFabric Caching Services Tech Ed North America 2010 5/27/2018 12:46 PM AppFabric Caching Services © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

AppFabric Caching Services does this (mostly) What’s the Problem? How can I increase the speed and scalability of applications that access data? Possible solutions: Buy a bigger database machine Cache repeatedly accessed data on the same computer as the application logic Cache repeatedly accessed data on one or more shared computers AppFabric Caching Services does this (mostly)

Illustrating AppFabric Caching Cache Cluster AppFabric Caching Services Cache Server Cached Data Cache Client AppFabric Caching Services Cache Server Cached Data Local Cache Cached Data AppFabric Caching Services Cache Server Cached Data

How Data Gets In and Out of the Cache All data in the cache is explicitly put there by a cache client AppFabric Caching Services provides an API Your code can be written to use the cache The ASP.NET Session object can store its state in AppFabric Caching Services via a config option Your code can use the cache with no changes The cache can delete data: After a configurable timeout To make room for other data that’s accessed more often

Using AppFabric Caching Services with ASP.NET Scenario Web Server Cache Cluster 1) Provide data that’s stored in the Session object ASP.NET Pages 2) Store Session object data in cache AppFabric Caching Services Web Server ASP.NET Pages 4) Retrieve Session object data from cache 3) Make request that relies on data stored in the Session object Web Server ASP.NET Pages Application Database

What Kinds of Data Can Be Cached? Changing data that’s accessed by a single client Such as the information in an ASP.NET Session object Unchanging data that’s accessed by multiple clients Such as catalog information for an online retailer Changing data that’s accessed by multiple clients AppFabric Caching Services provides both optimistic and pessimistic (lock-based) concurrency control

Using AppFabric Caching Services for High Availability Scenario Cache Cluster Cache Server AppFabric Caching Services 3) Return value of data item X from secondary copy Cache Client Primary copies X Secondary copies X Cached Data Cache Server 2) Access data item X AppFabric Caching Services 1) Cache server holding primary copy of data item X fails or is shut down Cached Data

Windows Server AppFabric Caching Services Tech Ed North America 2010 5/27/2018 12:46 PM Windows Server AppFabric Caching Services Ron Jacobs Technical Evangelist Microsoft DEMO © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

AppFabric Hosting Services Tech Ed North America 2010 5/27/2018 12:46 PM AppFabric Hosting Services © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

AppFabric Hosting Services adds to this What’s the Problem? Where should I run WCF services? Especially those built using WF? And how can I manage them? Possible solutions: Build my own host process Use the IIS/WAS hosting and management infrastructure AppFabric Hosting Services adds to this

Illustrating WCF WCF provides a common foundation for building and consuming services RESTful, SOAP, and others Endpoint Visual Studio WCF Service Client HTTP, SOAP, Others

Illustrating WF Visual Studio Workflow WF Workflow Designer Activities Other Activities Workflow Activities Base Activity Library WF Runtime

Why Use WF? (1) It allows creating scalable applications With built-in state management (perhaps over a long period of time) It allows creating application logic in a unified way Rather than spreading it across, say, multiple ASP.NET pages It provides built-in tracking of an application’s execution Such as recording when each activity is entered and exited

Why Use WF? (2) It can make programming parallel work easier With the Base Activity Library’s Parallel activity It can help create re-usable logic With custom activities It allows defining logic graphically With the Workflow Designer

Illustrating a Workflow Service A WCF service whose logic is implemented as a WF workflow is called a workflow service WF Runtime WCF Client

Illustrating AppFabric Hosting Services IIS Worker Process Workflow Service WF IIS Manager Client AppFabric Hosting Services WCF Service WCF

Hosting a Workflow Service WF WCF IIS Worker Process IIS Manager AppFabric Extensions Client Persistence Store Monitoring Database

Windows Server AppFabric Hosting Services Tech Ed North America 2010 5/27/2018 12:46 PM Windows Server AppFabric Hosting Services Ron Jacobs Technical Evangelist Microsoft DEMO © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Scaling a Workflow Service with AppFabric Hosting Services Scenario Web Server 1) Make first request to application ASP.NET Pages 2) Invoke workflow service 3) Persist workflow state after handling request Web Server ASP.NET Pages Persistence Store AppFabric Hosting Services 4) Make second request to application 6) Load workflow state and handle request Web Server ASP.NET Pages 5) Invoke workflow service

AppFabric Hosting Services and BizTalk Server Scenario Workflow Service Client BizTalk Server Adapters Orchestration ERP Application

AppFabric Hosting Services or BizTalk Server? Making the choice AppFabric Hosting Services and BizTalk Server have some technical similarities, such as: Both use workflow/orchestration Both can use WCF-based communication Deciding which one to use is usually easy: AppFabric Hosting Services is for applications BizTalk Server is for integration Building your own integration server using AppFabric Hosting Services probably won’t make financial sense

AppFabric Hosting Services and Service Bus Scenario 3) Discover Service Bus endpoint 2) Expose Service Bus endpoint 4) Invoke operation on Service Bus endpoint 5) Invoke operation on service endpoint 1) Register service endpoint Organization Y Client Organization X AppFabric Hosting Services Service WCF

A Tale of Two AppFabrics Windows Azure AppFabric provides: Service Bus Access Control Windows Server AppFabric provides: Caching Services Hosting Services Microsoft tells us that Caching and Hosting will both appear in Windows Azure AppFabric sometime fairly soon

Creating Composite Applications Scenario Purchasing Application Business Partner Service Bus AppFabric Hosting Services Workflow Service CRM Application Client BizTalk Server ERP Application

Using Hosting and Caching Together Scenario AppFabric Caching Services Cache Cluster Cache requests spread across cache servers Web Server User requests spread across Web servers AppFabric Hosting Services Service requests spread across middle-tier servers

Conclusions Windows Server AppFabric provides supporting services for applications Caching services for ASP.NET applications and others Hosting services for WCF services, especially workflow services The goal is to let application developers spend more time building application logic And less building infrastructure

About the Speaker David Chappell is Principal of Chappell & Associates (www.davidchappell.com) in San Francisco, California. Through his speaking, writing, and consulting, he helps people around the world understand, use, and make better decisions about new technology. David has been the keynote speaker for many events and conferences on five continents, and his seminars have been attended by tens of thousands of IT decision makers, architects, and developers in more than forty countries. His books have been published in a dozen languages and used regularly in courses at MIT, ETH Zurich, and other universities. In his consulting practice, he has helped clients such as Hewlett-Packard, IBM, Microsoft, Stanford University, and Target Corporation adopt new technologies, market new products, train their sales staffs, and create business plans. Earlier in his career, David wrote networking software, chaired a U.S. national standards working group, and played keyboards with the Peabody-award-winning Children’s Radio Theater. He holds a B.S. in Economics and an M.S. in Computer Science, both from the University of Wisconsin-Madison.

For Further Reading Introducing Windows Server AppFabric http://download.microsoft.com/download/7/F/8/7F8BD8A0-EB05-4DB5-A5A4-DD1D3C909A0A/Introducing_Windows_Server_AppFabric.pdf The Workflow Way: Understanding Windows Workflow Foundation http://download.microsoft.com/download/C/2/5/C2549372-D37D-4F55-939A-74F1790D4963/The_Workflow_Way.pdf

ASI Track Resources Website – www.Microsoft.com/WindowsAzure/AppFabric Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Tech Ed North America 2010 5/27/2018 12:46 PM ASI Track Resources Website – www.Microsoft.com/WindowsAzure/AppFabric MSDN Developer Center – http://msdn.microsoft.com/en-us/azure/netservices.aspx Blog – http://blogs.msdn.com/b/netservices/ Twitter – http://twitter.com/azure_appfabric Website – http://www.microsoft.com/biztalk/ Website – http://msdn.microsoft.com/biztalk/ Blog – http://blogs.msdn.com/biztalk_server_team_blog Blog – http://www.biztalkblogs.com/ Application Infrastructure Virtual Launch Event – www.appinfrastructure.com AppFabric on Microsoft.com – http://www.microsoft.com/appfabric Developer Center – http://msdn.microsoft.com/appfabric © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Learning Required Slide www.microsoft.com/teched Tech Ed North America 2010 5/27/2018 12:46 PM Required Slide Resources Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Complete an evaluation on CommNet and enter to win! Tech Ed North America 2010 5/27/2018 12:46 PM Required Slide Complete an evaluation on CommNet and enter to win! © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration   You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year

Tech Ed North America 2010 5/27/2018 12:46 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tech Ed North America 2010 5/27/2018 12:46 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.