170 likes | 341 Views
Overview. Front-End Clients. General Services Architecture. Web Browser & RIA. WPF & WinForms. AJAX. Mobile Clients. Silverlight. Services provide functionality to a host of clients RIA's require services to support their UI Data now indirectly accessed now via services
E N D
Front-End Clients General Services Architecture Web Browser & RIA WPF & WinForms AJAX Mobile Clients Silverlight Services provide functionality to a host of clients RIA's require services to support their UI Data now indirectly accessed now via services Service ModelsEntity: CustomerTask: Invoice ApprovalUtility: Tax Calculation Call Directly Middle Tier Clients ASP.NET Pages Other Services Back-End Services • WCF Services • Implement Entity, Task & Utility service models • Provide Access to Data • Expose Application Logic
Service Implementation Options Front-End Clients Call Directly Each has distinct advantages that help accomplish the goal of building service logic Services of one implementation type can easily call services of the other type Middle Tier Clients Back-End Services • WCF SOAP Services • Defined with code • Entity & utility service models • WCF Workflow Services • Visual definition • Support for long running processes • Task service models
AppFabric …and a more under the hood
Peeking under the hoodAppFabric& Related Features Visual Studio IIS Manager Project Deployment WF & WCF Management Modules WF & WCF Project Templates Mgmt PowerShell cmdlets Configuration Wizard System Center Server Manager Management Pack AppFabric Role Service of Application Server Role IIS 7.x/WAS Hosting Persistence Monitoring Caching In Memory, Distributed Cache Availability, Deployment, Control Reliablility, Scalablity Application Monitoring .NET 4 WCF & WF Frameworks Instance Restart Web Deploy Service Discovery SQL Persistence Provider WF ETW Tracking WCF ETW Tracking Messaging Activation Routing Service AutoStart Service Workflow Mgmt Lock Mgmt Event Collector Runtime Databases Persistence schema Monitoring schema Windows 7, Windows Server 2008 & 2008 R2
Release and Requirements • The new middle tier is available to the following platforms: • Production (domain joined) • Windows Server 2008 w/SP2 • Windows Server 2008 R2 • Development • Workgroup supported for Windows Server 2008 (R2) • Vista w/SP2 • Windows 7 • Intended for .NET 4 WCF SOAP and WF services • Can host .NET 3.5 services, limited features • AppFabric production license included with Windows Server 2008 • Eventually part of the operating system
Web Platform Installer Click Here
AppFabric Setup Key Points Installing the Windows Server AppFabric Hosting components
AppFabric Setup Key Points Configuring Monitoring and Persistence features of AppFabric Hosting
AppFabric Setup Key Points Configure SQL Monitoring store
AppFabric Setup Key Points Configure SQL persistence store
Introducing Fourth Coffee Order Fulfillment Service Submit Order Client Web App Order State ASP.NET Form WCF Reserve Inventory Inventory WFS Labeling Create Label WFS Approve Label Silverlight Application Check Credit Credit Card Processing WFS Workflow Service ASMX WCF WCF SOAP Service Finalize Order ASMX ASMX Web Service WFS
Lab 1 • Overview