SOA Visão Geral das Funcionalidades de Descoberta e Roteamento de Serviços em WCF 4.

Slides:



Advertisements
Similar presentations
JD Edwards Service JD Edwards Service SAP Service SAP Service Java Appl. Service Java Appl. Service.Net Appl. Service.Net Appl. Service CICS Service.
Advertisements

GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
L. Alchaal & al. Page Offering a Multicast Delivery Service in a Programmable Secure IP VPN Environment Lina ALCHAAL Netcelo S.A., Echirolles INRIA.
Applying the SOA RA Utah Public Safety ESB Project Utah Department of Technology Services April 10, 2008 Prepared by Robert Woolley.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Need for SOA database for storing SOA data Divya Gade Rejitha Rajasekhar.
Windows Communication Foundation and Web Services.
Chapter 11 Configuring Dynamic Host Configuration Protocol
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Tesseract A 4D Network Control Plane
Lesson 19: Configuring Windows Firewall
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Module 13: WCF Receive Adapters. Overview Lesson 1: Introduction to WCF Receive Adapters Lesson 2: Configuring a WCF Receive Adapter Lesson 3: Using the.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
C8: Enterprise Integration Patterns in Sonic ™ ESB Stefano Picozzi Solutions Architect.
ESB Guidance 2.0 Kevin Gock
CON 307 Developing Manageable WCF Services Chris Peiris | Avanade Rory Primrose | Avanade
Agenda What Is the Windows Communication Foundation? How Does It Work? How Do I Use and Deploy It? Bindings Addresses Contracts How to host WCF services.
Account Service Contacts Service Contacts Service Client.
Module 8 Configuring and Securing SharePoint Services and Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
UDDI ebXML(?) and such Essential Web Services Directory and Discovery.
Module 12: Routing Fundamentals. Routing Overview Configuring Routing and Remote Access as a Router Quality of Service.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Open Data Protocol * Han Wang 11/30/2012 *
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
DEVELOPING A MESSAGING SOLUTION WITH MICROSOFT BIZTALK 2013 Ed Jones MCT, MCPD, MCTS.
Virtual techdays INDIA │ august 2010 Deep Dive into WCF 4.0 Features Sarath S S V S │ Program Manager, BING, Microsoft India R&D.
Dr. Ian Wang Cardiff University, U.K.. Ian Wang, Cardiff University Peer-to-Peer and Grids What does the Peer-to-Peer paradigm offer Grids? Scalable Decentralized.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
1 UNIT –II Architecting Web Service. 2 Why SOA? – business point of view  Information Technology (IT) workers face many challenges, including: Limited.
Telerik Software Academy Web Services & Cloud.
Introducing the ABCs of Windows Communication Foundation | Feb 2006 rickgaribay.net Windows Communication Foundation Hosting & Endpoints Winter 2006.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Windows Communication Foundation David Anderson Independent Software Developer DCOM Productions.
Presentation 24: Windows Communication Foundation Introduced Objektorienteret Netværkskommunikation.
Agenda What Is the Windows Communication Foundation? How Does It Work? How Do I Use and Deploy It? Bindings Addresses Contracts How to host WCF services.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
How Are Customers Using Opalis? Automate provisioning, resource allocation and retirement Extend virtual machine management to the cloud Virtual Machine.
HNDIT Rapid Application Development
Advanced Web Technologies Lecture # 5 By: Faraz Ahmed.
1 Chapter 8: DHCP in IP Configuration Designs Designs That Include DHCP Essential DHCP Design Concepts Configuration Protection in DHCP Designs DHCP Design.
Overview of SOA and the role of ESB/OSB
1 Service Oriented Architecture SOA. 2 Service Oriented Architecture (SOA) Definition  SOA is an architecture paradigm that is gaining recently a significant.
Christian Stiller Technical Account Manager SOA-23: Enterprise Integration Patterns in Sonic ™ ESB.
1 SERVICE ORIENTED ARCHITECTURE ANTHONY GACHANGO D61/70547/2008 DIS 601.
Dhananjay Kumar MVP-Connected System 1. WCF  Agenda What is WCF ? Why WCF? Address, Binding, Contract End Points Hosting Message Patterns Programming.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312.
Contoso Online services Bing Amazon etc. Enterprise applications Interactive client apps Trading partners.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
BizTalk Damir Dobric Lead Architect. Agenda Microsoft BizTalk RFID Overview Architecture Application models Implementing Event Handlers Sensors.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
Input for issues resolution Antoine Mensch Odonata 16 july 2009.
The best of WCF 4.0 Damir Dobric MVP-Connected System Developer
Windows Communication Foundation and Web Services
WCF 4.0: Routing & Discovery Services
Sabri Kızanlık Ural Emekçi
SOA Visão Geral das Funcionalidades de Descoberta e Roteamento de Serviços em WCF 4.
Windows Communication Foundation and Web Services
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
AbbottLink™ - IP Address Overview
Distributed System using Web Services
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Distributed System using Web Services
Presentation transcript:

SOA Visão Geral das Funcionalidades de Descoberta e Roteamento de Serviços em WCF 4

(MCT) Microsoft Certified Trainer (MCPD) ASP.NET Developer 3.5 (MCTS) Microsoft Office SharePoint Server 2007 – Configuration Formador Rumos Sys Admin DGITA Consultor Analista Programador PG GSI PG Informática LIC Informática

DEMOS Demo : Creating a Calculator Service Demo : Service Routing Demo : Add-hoc Service Discovery Demo : Managed Service Discovery Comunidade Rumos – Webcasts Source Code: MSDN (WCF) Samples

Why SOA? Challenges in Building Business Applications Objectives of Service-Oriented Architecture What Is a Service? The Pillars of SOA Services Communicate Through Edges

Challenges in Building Business Applications We are living in a distributed world Business is agile Efficient integration and interoperability are essential Costs must be reduced Systems have to be scalable, secure, and reliable

Objectives of Service-Oriented Architecture SOA is an architectural style designed for building distributed systems Agility ReuseReduce Cost Productivity

What Is a Service? A service exposes functionality by accepting data (requests) and sometimes returning data (responses)

The Pillars of SOA Services handle data, not objects Services are autonomous Services have explicit boundaries Services expose contract and policy The following properties define a service- oriented architecture:

Services Communicate Through Edges Services expose edges to the outside world— edges can be used for communication with the service All interaction with a service is done through an edge A service can expose multiple edges The edge has an address SOA edges are WCF endpoints

Demo Creating a Calculator Service -The Service -ServiceHost Class -Endpoint ABC (address binding contract) -Metadata behaviour -Endpoint behaviour -The Client -Proxy Pattern

Routing The Benefits of Routing Introduction to the WCF Routing Service Configuring Routing Using Message Filters Configuring Routing Endpoints and Filters Using Custom Filter Types and Content-Based Routing Using Routers for Protocol Bridging Using Routers to Mask Service Unavailability Using Routers for Multicast Messaging

The Benefits of Routing The broker design pattern provides agility and reliability to distributed systems, and enables: Content-based load balancing Automatically use of fallback services Protocol bridging Masking of versioning issues

Introduction to the WCF Routing Service The Routing Service is part of WCF 4, and is implemented in the System.ServiceModel.Routing.RoutingService class Hosted like any other service Supports all messaging patterns Determines the target service by evaluating each incoming message against a set of message filters Implements the ISimplexDatagramRouter, ISimplexSessionRouter, IRequestReplyRoute r, and IDuplexSessionRouter contracts

Configuring Routing Using Message Filters Message filters are specified in code or in the Routing configuration section Message filters are grouped into filter tables The routing configuration contains filter types and a collection of mappings between a message filter and a target endpoint The RoutingBehavior defines the filter table to use

Configuring Routing Endpoints and Filters

Using Custom Filter Types and Content- Based Routing WCF supports a wide range of filter types You can use XPath filters to inspect the content of the incoming messages You can define custom filters (rules) that target messages according to their content You can create custom filter types for advanced routing scenarios

Using Routers for Protocol Bridging The client-to-router and router-to-service bindings do not have to match You can bridge incompatible protocols using a Routing Service as the middle- man The client-to-router and router-to-service messaging patterns must match

Using Routers to Mask Service Unavailability You can configure the router service to route a message to a backup service if the target service fails; this masks service unavailability and improves reliability <add filterName="MatchAllFilter" endpointName="CalcService" backupList="AlternateCalc"/>

Using Routers for Multicast Messaging The Routing Service supports multicast, enabling publish/subscribe and distribution- style messaging If the incoming message matches multiple filters, it will be delivered to each of the target endpoints Multicast only works for one-way or duplex messaging; it does not work for request- response messaging

WCF Discovery Introduction to WCF Discovery Ad-Hoc Discovery Architecture The Process of Ad-Hoc Discovery Configuring Ad-Hoc Discovery Issuing Probe and Resolve Messages Discovery Proxy Architecture The Process of the Discovery Proxy Discovering Services Using a Discovery Proxy

Discovery addresses the question: Where is the service? The service’s location is dynamic Discovery and Service Repository using WS- Discovery Discovery enables agility – choose the service to consume at runtime Introduction to WCF Discovery

Ad-Hoc Discovery Architecture WCF 4 introduces WS-Discovery support that consists of two message categories: Announcements (Hello/Bye messages) Discovery (Probe/Resolve messages)

The Process of Ad-Hoc Discovery Hello Bye Probe Resolve Service is up Service is down Where is the service? Discovery Announcement CLIENT

Configuring Ad-Hoc Discovery...

Issuing Probe and Resolve Messages The DynamicEndpoint class is used by the client to issue probe messages Dynamic endpoints can be defined in code and in the XML configuration file The FindCriteria class enables granular discovery // Discover endpoints when the client is opened. // The contract is used as the FindCriteria. // UdpDiscoveryEndpoint is used to send Probe message. DynamicEndpoint dynamicEndpoint = new DynamicEndpoint( ContractDescription.GetContract( typeof(ICalculatorService)), new WSHttpBinding());

Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.

Demo Add-hoc Service Discovery -The Service -behaviourConfiguration for serviceDiscovery -announcementEndpoints for announcements -Enpoint with kind=“udpDiscoveryEndpoint” for discovery -Calc endpointBehaviorConfiguration behaviour for scope criteria -The Client -Endpoint with kind=“dynamicEndpoint” and dynamicEndpointConfiguration for find scope criteria

Discovery Proxy Architecture The discovery proxy enables discovery support outside the enterprise: Listens for announcements and caches endpoint information internally Forwards “Probe” and “Resolve” messages Can function as a router

The Process of the Discovery Proxy Hello Bye Probe Resolve Service is up Service is down Where is the service? Discovery Announcement PROXY Subnet CLIENT

Discovering Services Using a Discovery Proxy The DiscoveryClient class calls the discovery proxy; it can also be used to issue “Probe” messages inside the subnet // The discovery endpoint points to the discovery proxy Uri probeEndpointAddress = new Uri("net.tcp://localhost:8001/Probe"); DiscoveryEndpoint discoveryEP = new DiscoveryEndpoint( new NetTcpBinding(), new EndpointAddress(probeEndpointAddress)); // Call the discovery proxy DiscoveryClient discoveryClient = new DiscoveryClient(discoveryEP); FindResponse findResponse = discoveryClient.Find( new FindCriteria(typeof(ICalculatorService))); if (findResponse.Endpoints.Count > 0) InvokeCalculatorService(findResponse.Endpoints[0]. Address);

Using Routers for Multicast Messaging The Routing Service supports multicast, enabling publish/subscribe and distribution- style messaging If the incoming message matches multiple filters, it will be delivered to each of the target endpoints Multicast only works for one-way or duplex messaging; it does not work for request- response messaging

Demo 2.2 Managed Service Discovery -The Discovery Proxy Abstract Class -The Service -Announces it’s presence in the proxy’s anouncement endpoint -The Client -Endpoint with kind=“dynamicEndpoint” -And dynamicEndpointConfiguration for -find scope criteria -set it’s discovery address endpoint to the proxy’s probe address