WCF

50 %
50 %
Information about WCF
Education
net

Published on March 12, 2008

Author: TechMind

Source: authorstream.com

Slide1:  HARJEET SINGH Agenda:  Agenda WCF is:  WCF is .NET at the core:  .NET at the core The Unified Framework For Rapidly Building Service-Oriented Applications Windows Communication Foundation:  Windows Communication Foundation Unified Programming Model:  Unified Programming Model Interop with other platforms ASMX Attribute- Based Programming Enterprise Services WS-* Protocol Support WSE Message- Oriented Programming System.Messaging Extensibility Location transparency .NET Remoting Agenda:  Agenda How does it work?Endpoints:  How does it work? Endpoints Client Service Message How does it work?Address, Binding, Contract:  How does it work? Address, Binding, Contract Client Service Message Address Binding Contract (Where) (How) (What) How does it work?Behaviours and Metadata:  How does it work? Behaviours and Metadata Client Service Message Metadata Bv Bv Bv Bv Proxy ServiceHost() Agenda:  Agenda How do I use it?:  How do I use it? Client Service How do I deploy it?:  How do I deploy it? For HTTP services on Windows XP® SP2 & WS2K3 For any service on Windows Vista® and Windows Server® “Longhorn” Proven reliability, scalability, and security Requires a .svc file to identify the Service Type Web Host within IIS: Self-Host within any .NET process: Available for any service Console apps, windowed apps, .NET NT Services … Agenda:  Agenda All About BindingsYou can choose a pre-defined binding::  All About Bindings You can choose a pre-defined binding: <endpoint name=“MyService” address=“MyAddress” binding=“netTcpBinding” contract=“IMyInterface” /> All About BindingsYou can customize a pre-defined binding::  All About Bindings You can customize a pre-defined binding: <services> <service name=“MyService”> <endpoint address=“MyAddress” binding=“wsHttpBinding” bindingConfiguration=“MyReliableBinding” contract=“IMyInterface” /> <service/> </services> <bindings> <wsHttpBinding> <binding name=“MyReliableBinding”> <reliableSession enabled=“true” ordered=“true” </binding> </wsHttpBinding> </bindings> All About BindingsYou can define custom bindings::  All About Bindings You can define custom bindings: <services> <service name=“MyService”> <endpoint address=“MyAddress” binding=“wsHttpBinding” bindingConfiguration=“MyReliableBinding” contract=“IMyInterface” /> <service/> </services> <bindings> <wsHttpBinding> <binding name=“MyReliableBinding”> <reliableSession enabled=“true” ordered=“true” </binding> </wsHttpBinding> </bindings> Agenda:  Agenda All about Addresses:  All about Addresses An endpoint address is relative to a base address: For a Web-Hosted service, the base address is that of its virtual directory <services> <host> <baseAddresses> <add baseAddress="http://localhost:8000/MyBaseAddress"/> </baseAddresses> </host> <service name=“MyService”> <endpoint address=“MyEndpointAddress” binding=“wsHttpBinding” bindingConfiguration=“MyReliableBinding” contract=“IMyInterface” /> <service/> </services> Agenda:  Agenda All About Contracts:  All About Contracts Service Contract: Describes the operations a service can perform. Maps CLR types to WSDL. Data Contract: Describes a data structure. Maps CLR types to XSD. Message Contract: Defines the structure of the message on the wire. Maps CLR types to SOAP messages. Agenda:  Agenda Hosting Services in ASP.NET:  Hosting Services in ASP.NET Where can I put my service code?:  Where can I put my service code? Which project type should I use?:  Which project type should I use? Agenda:  Agenda Slide29:  IIS Worker Process (w3wp.exe) Slide30:  w3wp.exe ASP.NET Slide31:  w3wp.exe ASP.NET Managed Hosting Layer (System.Web.Hosting, System.Web.Compilation) ASP.NET Page Framework, UI, Controls, HTTP Runtime (System.Web, System.Web.UI) Slide32:  w3wp.exe ASP.NET Managed Hosting Layer (System.Web.Hosting, System.Web.Compilation) ASP.NET Page Framework, UI, Controls, HTTP Runtime (System.Web, System.Web.UI) WCF and the HTTP Pipeline:  WCF and the HTTP Pipeline IIS ASP.NET WCF Why the split?:  Why the split? Implications:  Implications Summary:  Summary

Add a comment

Related presentations

Related pages

Windows Communication Foundation – Wikipedia

Die Windows Communication Foundation (WCF, früherer Codename Indigo) ist eine dienstorientierte Kommunikationsplattform für verteilte Anwendungen in ...
Read more

Was ist die Windows Communication Foundation?

Windows Communication Foundation (WCF) ist ein Framework zur Erstellung dienstorientierter Anwendungen. Mit WCF können Sie Daten als asynchrone ...
Read more

WCF - World Cat Federation

Offizielle Internet-Seite der World Cat Federation WCF. Sie enthält die Rassestandards, Richter, Mitgliedsvereine, aktuelle Informationen für Mitglieder ...
Read more

WCF – Wikipedia

Die Abkürzung WCF steht für. Windows Communication Foundation, eine von Microsoft entworfene dienstorientierte Kommunikationsplattform für verteilte ...
Read more

What Is Windows Communication Foundation - msdn.microsoft.com

Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages ...
Read more

Windows Communication Foundation - Wikipedia, the free ...

The Windows Communication Foundation (or WCF), previously known as "Indigo", is a runtime and a set of APIs in the .NET Framework for building connected ...
Read more

Wir erhöhen Ihre Liquidität | WCF Finetrading

WCF ist Deutschlands erster Finetrader. Erweitern Sie durch Finetrading flexibel Ihre Liquidität beim Waren- und Rohstoffeinkauf.
Read more

WCF tutorial

saravanakumar's WCF Tutorial. An elaborate tutorial about the Windows Communication Foundation with hundreds of samples.
Read more

Download WCF Data Services 5.0 für OData v3 from Official ...

Durch WCF Data Services 5.0 wird die Erstellung und Nutzung von Webdatendiensten gemäß Version 3 des OData-Protokolls (Open Data Protocol) ermöglicht ...
Read more

World Curling Federation - Home

The official website of the World Curling Federation - the world governing body of the Olympic sport of curling and Paralympic sport of wheelchair curling.
Read more