Aplicaciones Distribuidas Manuel Zegarra Sánchez Microsoft Certified Application Developer.

Slides:



Advertisements
Similar presentations
Pablo Michelis Gerente de Relaciones Académicas Microsoft Cono Sur.
Advertisements

SOA conference. Una colección de adaptadores basados en Windows Communication Foundation (WCF) que proporciona acceso programático orientado a servicios.
WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
May 2, 2006Shawn Mulkey - EECS Distributed Computing & Object Oriented Middleware: Part 2 Presented By Shawn Mulkey.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Windows Communication Foundation and Web Services.
Copyright © 2007 CA. All trademarks, trade names, services marks and logos referenced herein belong to their respective companies. 5C The Plex SOA Strategy.
Windows Server 2008 – Windows Communication Foundation Dave Allen ISV Application Architect Developer and Platform Group Microsoft UK.
Darryl Burling Developer Evangelist Microsoft The age of connected applications Whats new in VS2008 WCF Background: WS*,.Net 3.0 and WCF ABC’s & improvments.
Adam Dille CS526 – Spring  Advances in Microsoft’s service offerings  ASMX vs. WCF  Latest WCF Improvements (.NET 4.0)  No in-depth study of.
The Microsoft Technical Roadshow 2006 Windows Communication Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd
Jon Flanders INT303. About Me  Jon Flanders –  Independent consultant/trainer  BizTalk MVP.
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.
Nikola Dudar Program Manager Microsoft Corporation Session Code: DTL 311.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
[Title of the course] WCF
CON 307 Developing Manageable WCF Services Chris Peiris | Avanade Rory Primrose | Avanade
Keith Elder Microsoft MVP INETA Speaker Blog: Demystifying Windows Communication Foundation.
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.
1 Understanding Windows Communication Foundation Nick Page Application Architect Microsoft Ltd.
1 Windows Communication Foundation: Integrating COM+ and MSMQ Applications Andy Milligan COM305 Program Manager Microsoft Corporation.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Intro to WCF From the beginning and uses Steve AppRochester.
Justin Smith
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
Developing Web Services Using ASP.NET and WSE That Interoperate with the Windows Communications Foundation ("Indigo") Mark Fussell COM432 Lead Program.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Telerik Software Academy Web Services & Cloud.
Introducing the ABCs of Windows Communication Foundation | Feb 2006 rickgaribay.net Windows Communication Foundation Hosting & Endpoints Winter 2006.
COM326: Web Services for XML Programmers Doug Purdy Lead Program Manager Connected Systems Division.
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.
DEV332 Programming for the Middle Tier in Visual Basic.NET Billy Hollis Author / Consultant.
Dhananjay Kumar MVP-Connected System 1. WCF  Agenda What is WCF ? Why WCF? Address, Binding, Contract End Points Hosting Message Patterns Programming.
Christian Weyer thinktecture.
Introduction to.NET FX 3.0 (+ sneak preview of.NET FX 3.5) Martin Parry Developer & Platform Group Microsoft Ltd
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
Windows Communication Foundation António Cruz Freelancer (SAPO/PT.COM)
.NET Framework Enterprise. Agenda WCF Overview WCF Solutions WF Overview WF Solutions Card Spaces Bringit it all together: Dinner Now Scenario.
Justin Smith Technical Evangelist Microsoft Corporation CON301.
Shani Raba Team Leader & Software Architect
OE-NIK HP Advanced Programming WCF WCF SOAP service, host, client Exception handling (NOT required)
Windows Communication Foundation Stipe Ivan Latković.
Nati Dobkin
O VERVIEW OF SOA AND WCF Jinaldesai.net – My Thouths And Learnings.
Windows Communication Foundation. Agenda How We Got Here ASMX vs WCF Throwdown WCF Contracts Service Data Message Bindings Security Reliability Declarative.
Windows Communication Foundation Part 1 You can reuse these slides but please mention the original source if you want to do so. Speaker: Nguyễn Bá Quang.
Windows Communication Foundation and Web Services
Windows Communication Foundation
Segments Introduction: slides 2–7 10 minutes
4/12/2018 2:37 PM Windows Communication Foundation: Migration, interop, upgrade, and integration Risman Adnan ISV Lead, Microsoft Indonesia
Windows Communication Foundation
Windows Communication Foundation
Window Communication Foundation
A Lap Around the Windows Communication Foundation
Windows Communication Foundation (WCF)
Windows Communication Foundation and Web Services
Windows Communication Foundation
WCF (Indigo): Under the Hood of the Channel Layer
Building event-driven, long-running apps with Windows workflow
Windows Communication Foundation (WCF)
Distributed Applications on Windows Vista
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Aplicaciones Distribuidas Manuel Zegarra Sánchez Microsoft Certified Application Developer

Microsoft Certified Application Developer -.NET Framework Microsoft Certified Professional 10 Años de experiencia desarrollando soluciones Microsoft en diferentes sectores (Transporte, salud y financiero.) Diseño de aplicacionas SOA, distribuidas y alta disponiblidad. Experiencia

Objetivos Comprender la arquitectura de una aplicación distribuida. Comprender el modelo de programación WCF. Diseñar servicios WCF. Definir contratos WCF.

Agenda ¿Qué son las aplicaciones distribuidas? Arquitectura de WCF Programando con WCF – Demo WCF / SOA – Demo Preguntas

Aplicaciones Distribuidas

Caso - Talma Menzies S.R.L

¿Qué son las aplicaciones distribuidas? Son aplicaciones que trabajan o coordinan con otras aplicaciones para brindar algún servicio. Las diferentes aplicaciones que coordinan entre si, en la mayoría de casos, se encuentran en diferentes plataformas.

Windows Communication Foundation Es un modelo de programación unificado para la construcción de aplicaciones distribuidas en plataforma windows. Unifica Orientado a servicios Integración

Interop with other platforms ASMX DistributedTransactions Enterprise Services WS-*ProtocolSupport WSE MessageQueuing System.Messaging ExtensibilityPerformance.NET Remoting Unified Programming Model Modelo de programación unificado

Inside View - WCF Service Model Service Contracts Data Contracts Message Contracts Messaging Message class Control dispatch

Outside View ClientService Message ABCABC ABC AddressBindingContract (Where)(How)(What) = Endpoint

Runtime Model Proxy/Dispatch and Channel Layers Proxy Client Protocol Encoder Transport Dispatcher Service Protocol Encoder Transport

Agenda Why Windows Communication Foundation? WCF Architecture Programming WCF – Demo WCF and SOA – Demo Questions

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Programming WCF Demo

Hosting Options Windows Form Console Application Windows Service Internet Information Server Windows Activation Services

app/web.config Client Proxy.cs Service Client Configuration CBA CBA A BC GetMetadata WSDL A BC svcutil.exe

Data Contracts, Service Contracts [DataContract] public class Order { [DataMember] public int orderID; [DataMember] public int partNumber; [DataMember] public int price; [DataMember] private string info; } [DataContract] public class Query { [DataMember] public int orderID; } [DataContract] public class Info { [DataMember] public string info; } [ServiceContract] public interface IOrderService { [OperationContract] void Process(Order o); [OperationContract] Info GetInfo(Query q); }

ServiceContract ties together multiple operations OperationContract ties together Message Contract, Action Describing Message Exchanges [ServiceContract] public interface MyContract { [OperationContract( Action="urn:DoIt", ReplyAction="urn:Done")] MyReply DoIt(MyRequest request); wsdl:portType wsdl:operation

Typed Messages [MessageContract] public class MyRequest { [MessageBody] public UnitInfo Info; [MessageBody] public bool IsInUse; } [DataContract] public class UnitInfo { [DataMember] public int ID; [DataMember] public string Name; } wsdl:message wsdl:part xsd:element

Untyped Messages Actions control Dispatch “*” matches all actions [OperationContract( Action = “Foo”, ReplyAction = “FooResponse”)] Message Foo(Message request); [OperationContract(Action = “*”)] void Dispatch(Message request);

Service Configuration <service type=“HelloService" <endpoint address=“ binding=“basicHttpBinding" contract="IHello" />

Standard Bindings Interop Security Session Transactions Duplex Streaming basicHttpBinding BP 1.1 T wsHttpBindingWS T | S XX wsDualHttpBindingWS XXX netTcpBinding.NET XXXO netNamedPipeBinding.NET XXXO netMsmqBinding.NET XX netPeerTcpBinding.NET X T = Transport Security | S = WS-Security | O = One-Way Only

Agenda Why Windows Communication Foundation? WCF Architecture Programming WCF - Demo WCF and SOA – Demo Questions

WCF and SOA API Style Business Services Interfaces look very similar to Object Oriented interfaces Inputs are defined in terms of multiple parameters Outputs are typed as return values Intuitive to design. ServiceContract, OperationContract, DataContract and DataMember are WCF tools for building these types of business services. Message design is implicit

WCF and SOA Activity Style Business Services Inputs are a single message Outputs are a single message ServiceContract, OperationContract, MessageContract, MessageBodyMember, MessageHeader are WCF tools for building these types of business services. Message design is explicit Message design requires some thought. Related activities should use the same messages for efficiency with business processes

WCF and SOA Business Processes The vocabulary of the business Collection of activities which may be local or Activity style business services May be long running May contain human workflow All inputs and all outputs are defined as messages BizTalk Server 2006 and Workflow Foundation are examples of tools that can be used to assemble Business Processes from existing activities

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Message Contract Demo

For More Information ….NET Framework Technology Samples.NET Framework Technology Samples WCF on the Microsoft Developer Network WCF on the Microsoft Developer Network Microsoft.NET Framework Community Microsoft.NET Framework Community Windows Vista Technologies Windows Vista Technologies

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Questions

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Appendix

Inside Bindings Transport IPCMSMQ Custom TCPHTTP Protocol Encoders Binary Text Custom.NETTX Custom SecurityRM Binding HTTP Text TXSecurityRM

ASMX/WSE3 WCF WCF ASMX/WSE3 Integration using Bindings MSMQ WCF WCF MSMQ WS-* Protocols MSMQ Protocol MSMQ Binding Http/WS Binding Java WCF WCF Java WS-* Protocols Http/WS Binding WCF WCF WS-* Protocols * Binding

Client Service Behaviors Client Behavior Service Behavior Be CBA CBA CBA A BC

Client Service Example: Security Be Bindings Insert Claims in Messages Behaviors Implement Security Gates CBA CBA CBA A BC

Client Service Example: Transactions Be Bindings Flow Transactions Behaviors AutoEnlist and AutoComplete CBA CBA CBA A BC

Features Summary AddressBindingBehaviorContract HTTP Transport TCPTransport NamedPipe Transport MSMQ Transport Custom Transport WS-Security Protocol WS-RM Protocol WS-Coord Protocol Duplex Channel Custom Protocol net.tcp://... net.pipe://... net.msmq://... xxx://... ThrottlingBehavior Metadata Behavior Error Behavior Custom Behavior Instancing Behavior Concurrency Behavior Transaction Behavior Security Behavior Request/ Response One-Way Duplex net.p2p://... PeerTransport Externally visible, per-endpoint Opaque, per-service, endpoint, or operation

WCF and SOA System of Record, Business Services and Governance Business Services (all types) XSD Schemas XSLT Transformations Policies (all types) Custom Taxonomy Message Contracts