The document discusses new features and capabilities in Microsoft technologies including Windows Communication Foundation (WCF), Windows Server App Fabric, Windows Workflow Foundation (WF), and Silverlight. Key points include:
- WCF 4.0 includes improvements to configuration, monitoring, routing, and discovery. Windows Server App Fabric provides hosting and management of WCF and WF services.
- App Fabric supports WCF and WF services through runtime databases and capabilities for monitoring, persistence, hosting, caching and management tooling.
- Workflow services are well-suited for business processes. App Fabric supports durable workflows through persistence of instance state and recovery.
- Silverlight 4 beta includes new media and interaction features such as printing, dragging
7. Default Bindings Web. config Echo. svc http://host vdir2 vdir1 Endpoint using BasicHttpBinding picks up default binding configuration from higher in the config hierarchy <system.serviceModel> <bindings> <basicHttpBinding> <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/> </basicHttpBinding> </bindings> </system.serviceModel> A B C vdir2
8. Default Behaviors Web. config Echo. svc http://host vdir2 vdir1 A Service or Endpoint picks up default behaviors from higher in the config hierarchy Web. config <system.serviceModel> <behaviors> <serviceBehaviors> <behavior> <serviceThrottling maxConcurrentCalls="32"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> A B C Bv vdir2
9. Default Behaviors Web. config http://host Behaviors from higher in the config hierarchy are merged with behaviors in a local config file Echo. svc vdir2 vdir1 Web. config <system.serviceModel> <behaviors> <serviceBehaviors> <behavior> <serviceMetadata httpGetEnabled="true"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> A B C Bv Bv vdir2
10.
11. Message Routing Client Time Service Routing Service Echo IRequestReplyRouter BasicHttp http://routinghost/router A B C Supported Message Exchange Patterns Multicast Interface Request Reply, Sessionful Request Reply No IRequestReplyRouter OneWay Yes ISimplexDatagramRouter Sessionful OneWay Yes ISimplexSessionRouter Sessionful Duplex Yes IDuplexSessionRouter
12. Message Routing MessageFilter Endpoint action == http://PDC/Echo Echo action == http://PDC/GetCurrentTime TimeService Client Time Service Routing Service Echo Filter On MessageFilter Action ActionMessageFilter Address header AddressMessageFilter Address header – longest prefix matching AddressPrefixMessageFilter Endpoint Name EndpointNameMessageFilter No Filter – matches everything MatchAllMessageFilter Logical And of two filters StrictAndMessageFilter XPath expression XPathMessageFilter Custom Custom
14. Security Message sent using Client Identity Message sent using Routing Service Identity Message sent using Client Identity Impersonation using WindowsIdentityToken Client Service Routing Service
15. Error Handling Client Backup Echo Service Routing Service Echo Service MessageFilter Endpoint Alternate Endpoints action == http://PDC/Echo Echo Backup EchoService
26. WCF and WF in .NET 4 Persistence (Instances) Monitoring Activity Library Receive Send ... Workflow Service Host Management Endpoint Persistence Behavior Tracking Behavior
27.
28. Coordination of Work Asynchronous Messaging Add/Remove Item Calculate Best Price Get Price Get Price Supplier One Service Supplier Two Service Best Price Workflow Service Purchase Service
29.
30. Message Correlation The mechanism for relating messages to each other or to application instance state Persistence DB (Instances) Instance 123 | data 456 | data 789 | data A11 | data Key 123 | userid 1 456 | userid 2 789 | userid 3 A11 | userid4 1. Add item (userId 3) 3. View items (userId 3) 5. Best Price (userId 3) Receive Receive Receive 2. Save (userId 3) 4. Load (userId 3) 6. Load (userId 3) create correlation
31. Monitoring Runtime Databases Windows Server .NET Framework Windows Server AppFabric Services Management Tools IIS/WAS Workflows Persistence Monitoring Hosting Persistence Caching Monitoring IIS Manager Modules PowerShell
32.
33. Persistence Runtime Databases Windows Server .NET Framework Windows Server AppFabric Services Management Tools IIS/WAS Workflows Persistence Monitoring Hosting Persistence Caching Monitoring IIS Manager Modules PowerShell
34.
35.
36. Instance Availability in a Farm Windows Server AppFabric Windows Server AppFabric Load Balancer Workflow Service Workflow Service Windows Server AppFabric Workflow Service Instance 123 | data 456 | data 789 | data 011 | data Persistence DB Workflow Management Service Workflow Management Service Workflow Management Service