Windows Communication Foundation (WCF)

Slides:



Advertisements
Similar presentations
Ive got WCF Now What? Tech Valley Code Camp 2008 Andrew Badera
Advertisements

3/25/2017 8:53 AM Windows Communication Foundation (“Indigo”): A Deep Dive Into Extending The Channel Layer Kenny Wolf, Software Development Engineer.
Indigo Jonathan Turnbull Nick Cartwright Ivan Konontsev Chris Bright.
Matthew Kubicina CIS 764 Kansas State University.
WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
SOAP.
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.
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Windows Communication Foundation and Web Services.
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
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
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 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#:
Enabling Embedded Systems to access Internet Resources.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Intro to WCF From the beginning and uses Steve AppRochester.
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.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Telerik Software Academy Web Services & Cloud.
Kemal Baykal Rasim Ismayilov
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.
Dhananjay Kumar MVP-Connected System 1. WCF  Agenda What is WCF ? Why WCF? Address, Binding, Contract End Points Hosting Message Patterns Programming.
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
Windows Communication Foundation António Cruz Freelancer (SAPO/PT.COM)
Justin Smith Technical Evangelist Microsoft Corporation CON301.
Shani Raba Team Leader & Software Architect
Windows Communication Foundation Stipe Ivan Latković.
O VERVIEW OF SOA AND WCF Jinaldesai.net – My Thouths And Learnings.
Windows Communication Foundation and Web Services
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
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
Sabri Kızanlık Ural Emekçi
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
Window Communication Foundation
WEB SERVICES.
WCF.
Windows Communication Foundation
Windows Communication Foundation (WCF)
Introduction How to combine and use services in different security domains? How to take into account privacy aspects? How to enable single sign on (SSO)
Distribution of functionality Webservice using WCF
Windows Communication Foundation and Web Services
Windows Communication Foundation
WCF (Indigo): Under the Hood of the Channel Layer
The future of distributed systems architecture
WSE 3.0 的网络服务安全 Security in WSE 3.0 Hongmei Ge Con321
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
WEB SERVICES From Chapter 19, Distributed Systems
Distributed Applications on Windows Vista
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
Jim Fawcett CSE791 – Distributed Objects Spring 2002
WCF Data Services and Silverlight
Message Passing Systems Version 2
Message Passing Systems
Presentation transcript:

Windows Communication Foundation (WCF) Jim Fawcett CSE775 – Distributed Objects Spring 2007

References Introducing WCF, David Chappell, www.davidchappell.com/IntroducingWCFv1.2.1.pdf Using three diagrams from this reference Programming Indigo, David Pallmann, Microsoft Press, 2005 Pro WCF, Peiris and Mulder, Apress, 2007

What is WCF? Integration of several Microsoft Technologies: Web services (ASMX) Web service extensions (WSE) WS-Security WS-Reliability WS-Addressing .Net Remoting MSMQ messaging COM+ Transactions

Chappell, ibid, pg 14

Channel Model WCF supports three types of channel activity: Asysnchronous one-way Request, wait for reply Full duplex two-way

Structure Service Contract Binding Address Service contract – RPC Interface Data contract – Type serialization Message contract – Soap message Binding Transport – HTTP, TCP, MSMQ, … Channel type – one-way, duplex, request-reply Encoding – XML, binary, MTOM (msg trans optim mech) WS-* protocols – WS-Security, … Address http://someURI net.tcp://someOtherURI net.msmq://stillAnotherURI

Chappell, ibid, pg 25

Channel Interfaces public interface IOutputChannel : IChannel { void Send(Message msg); } public interface IInputChannel : IChannel { Message Receive(); } public interface IDuplexChannel : IOutputChannel, IInputChannel {} public interface IRequestChannel : IChannel { Message Request(Message msg); } public interface IReplyChannel : IChannel { IRequestContext ReceiveRequest(); } public interface IRequestContext : Idisposable { Message RequestMessage { get; } void Reply(Message msg); }

Service Contract <%@ ServiceHost Language=“C#” Service=“MyService” %> [ServiceContract] public interface IMyService { [OperationContract] string Hello( string name); } public class MyService : IMyService { public string Hello(string name) { return “Hello “ + name; } }

Hosts WCF Services can be hosted in: Internet Information Services (IIS) Very similar to web services Windows services Exposing windows service in style of WS Console and Winform applications New style for socket like functionality

Monitoring Services Message Logging WCF Performance counters Calls, CallsOutsantding, CallsErrored, … SecurityCallsNotAuthenticated, … TxCommitted, TxAborted, … RMSessionsStarted, RMSessionsFaulted, … Windows Management Instrumentation (WMI), a COM technology

Other Topics WCF Security Credentials and claims (evidence) Transport-level security Message-level security Federated security model Authorization Auditing

Reliable Messaging ReliableSession enabled MSMQ Binding Implemented at the SOAP level not TCP packet Very similar to TCP functionality Messages not sent are held in a Transfer Window cache Will have problems with large messages MSMQ Binding Needs microsoft platforms on both ends Supports store and forward

Other Features WCF Supports transactions ACID properties Atomicity composite operations treated as a unit Consistency Operations succeed or the system is returned to prior state Isolation Each transaction is independent and isolated from other transactions Durability If an operation succeeds it becomes durable, e.g., committed to a database or other persistant store

Conclusion Convergence of programming models Flexible hosting options Desktop Application Web Application Windows Services Flexible hosting options Flexible abstractions