Shani Raba Team Leader & Software Architect

Slides:



Advertisements
Similar presentations
Indigo Jonathan Turnbull Nick Cartwright Ivan Konontsev Chris Bright.
Advertisements

Michael S. Chan xLM Solutions, LLC
WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
.NET Remoting in Delphi and C# Alain “Lino” Tadros President & CEO Falafel Software Inc. ComponentScience Inc. BORCON 2004.
Henrico Dolfing Business Segment Partners. Océ Document Technologies GmbH2 June, NET Framework Version 3.0.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Windows Communication Foundation and Web Services.
© 2007 Charteris plc20 June Extending Web Service Security with WS-* Presented by Chris Seary MVP Charteris plc, Bartholomew Close, London.
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.
X.509 support in WCF Exploring support for X.509 Certificates in Microsoft’s Windows Communication Foundation Paul Cormier UCCS CS591 Fall 2009.
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
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.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
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#:
1 “Indigo”: Services And The Future Of Distributed Applications Don Box Architect Microsoft Corporation here –
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Intro to WCF From the beginning and uses Steve AppRochester.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
A Deep Dive into Best Practices with the Windows Communication Foundation John Justice COM415 Program Manager Microsoft Corporation.
Developing Web Services Using ASP.NET and WSE That Interoperate with the Windows Communications Foundation ("Indigo") Mark Fussell COM432 Lead Program.
Virtual techdays INDIA │ august 2010 Deep Dive into WCF 4.0 Features Sarath S S V S │ Program Manager, BING, Microsoft India R&D.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Telerik Software Academy Web Services & Cloud.
2 Productive Windows Communication Foundation Jeremy Boyd Mindscape MSDN Regional Director – New Zealand SOA315.
Microsoft Windows® Communication Foundation “In the Channel Layer”
Kemal Baykal Rasim Ismayilov
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.
Satisfy Your Technical Curiosity Beyond ABC: WCF practices from the field Christian Weyer thinktecture Co-Founder & Solution Architect
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
1 “Indigo” & Web Services Roadmap David Gristwood.
Windows Communication Foundation António Cruz Freelancer (SAPO/PT.COM)
Justin Smith Technical Evangelist Microsoft Corporation CON301.
Vladan Strigo CTO NETmedia ASP.NET Web Api Tips & Tricks.
A Web Service Software Factory Introduction Don Smith Product Manager patterns & practices.
OE-NIK HP Advanced Programming WCF WCF SOAP service, host, client Exception handling (NOT required)
Nati Dobkin
Windows Communication Foundation. Agenda How We Got Here ASMX vs WCF Throwdown WCF Contracts Service Data Message Bindings Security Reliability Declarative.
Windows Communication Foundation and Web Services
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
Windows Communication Foundation
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
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Windows Communication Foundation (WCF)
Windows Communication Foundation and Web Services
Windows Communication Foundation
WSE 3.0 的网络服务安全 Security in WSE 3.0 Hongmei Ge Con321
Windows Communication Foundation (WCF)
Distributed Applications on Windows Vista
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
WCF Data Services and Silverlight
Presentation transcript:

Shani Raba Team Leader & Software Architect

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Still need to solve  Technology & Platform  Transactions  Communication (Protocols & patterns)  Versioning

We will talk in a minute

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

What is a Service (or web service)? Some functionality exposed via a structured messaging scheme

Focus: messages sent and received Moves from a Client/Server model to a Sender/Receiver model Rich communication patterns and functionality Big Win – versioning independence

One-way (datagram) Message send, no response Request / Reply from the same receiver Message send with one reply Sender Receiver Sender Receiver Duplex Sender and Receiver can exchange multiple messages Sender Receiver

Sender Receiver Intermediary  Invisible to the sender, promises to not materially change the message  A received message triggers a send to another service  Request / Reply from another Receiver  Message sent, one or more replies from a receiver other than the original recipient Sender ReceiverIntermediary Sender Receiver

Peer To Peer (P2P)  A mesh of partially connected nodes  Can scale to infinite size  Cool to think about, traditionally hard to do ABC D E

One-stop-shop for services Consistent object model Great features 1 st released with.NET Framework 3.0 Vista, WinSrvr 2003, Win XP SP2 Focus on the functionality, WCF takes care of the plumbing

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

.NET Fx 3.0 / 3.5 Runtime Components Windows Software Development Kit Includes C++ compilers, FxCop, Debugging Tools for Windows and WCF, and Documentation VS 2005 or VS 2008 VS 2008 has more advanced tooling support

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Sender Endpoint Sender and the Receiver expose Endpoint(s) Receiver Meta Endpoint CB A C BA Endpoint CB A WCF ’ s ABC – Address(Where) Binding(How) & Contract(What)

The unit of communication The ABC of WCF Address – where to expose Binding – how to expose Contract – what to expose Defined in code or in configuration Service CBA CBA A BC CBA

Receiver: Uri Scheme important (net.tcp, http, net.msmq, etc.) Sender: EndpointAddress URI + WS-Addressing info

Transport, protocol, and encoding options Transports: TCP, NamedPipes, HTTP, Peer- To-Peer, and MSMQ Protocols: WS-ReliableMessaging, WS- AtomicTransaction, WS-Security, etc Encodings (format): Binary, MTOM, and Text Even more… Customizations are easy

Binding Name Transport Encoding Interop Security Session Transaction Duplex Streaming BasicHttpBindingHTTP/SText.MTOMBP 1.1 TX WsHttpBindingHTTP/SText.MTOMWST | SXXX WsDualHttpBindingHTTP/SText.MTOMWST | SXXXX NetTcpBindingTCPBinary.NETT | SXXXX NetNamedPipesBindingIPCBinary.NETT | SXXXX NetMsmqBindingMSMQBinary.NETT | SX NetPeerTcpBindingP2PBinary.NETT | SX MsmqIntegrationBindingMSMQBinaryMSMQ TX

Define the shape of the service & messages DataContracts Message ServiceContracts Operations [ServiceContract] internal interface ISomeContract { [OperationContract(Name=“Op1”)] Message Op1(Message msg); [OperationContract(Name=“Op2”)] Int32 Op2(Widget widget); } [DataContract] internal sealed class Widget { [DataMember(Order=1)] private String Name; [DataMember(Order=2)] private String Description; [DataMember(Order=3)] private Int32 Identifier; }

Define the shape of the service & messages DataContracts Message ServiceContracts Operations Service Contract Operations Behaviors communication shapes method signature Data Contract Parameters of data Scheme Versioning Strategy

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Any process that can load an AppDomain can host an endpoint Each has ramifications (startup, monitoring, etc.) System.ServiceModel.ServiceHost central in hosting endpoints NOTE: Hosting model is completely disconnected from the ASP.NET pipeline (unlike ASMX and WSE)

Each app domain can have zero or more service host instances each service host instance is dedicated to a particular service type

Addresses, Bindings, and contracts can be setup imperatively or in a configuration file web.config or.exe.config Which one: config or imperative Tough question, depends on preference and requirements

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Brief History Definitions Quick-start WCF Basics (ABC) WCF Basics (Hosting) WCF Tools Let’s Code… More on Architecture

Bindings Bindings configure the Channel Layer Easy to use, pluggable, extensible, big part of the universal OM Channels Channels do the actual work of messaging Channel layer tasks include WS-* choreographies, MEPs, encodings, and security Contracts Contracts define services and message schemas Contracts simplify the development experience Behaviors Behaviors impact local processing

Managing the instance Involving Transactions in code How does WCF work? How do I extend WCF? How do I control the threading model? …

Receiver Channels Sender Proxy Sender App Dispatcher Receiver App Channel Layer ServiceModel Layer Channels

Summary What is a service? What the hell is ABC? Which Hosts we have? What is fault? Name Binding Types

Related Resources (You are not alone out there) WCF Sites IDesign x=3 Microsoft.net Frameworks Bloggers Israeli Bloggers

Related Resources (You are not alone out there) On my Book Shelf Programming WCF Services Microsoft® Windows® Communication Foundation Hands-on! Inside Microsoft Windows Communication Foundation Programming “Indigo”

Shani’s contact information Blog: Thank you Nati’s contact information Blog: