Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Windows Communication Foundation Hosting & Endpoints Winter 2006 PowerPoint Presentation
Download Presentation
Windows Communication Foundation Hosting & Endpoints Winter 2006

Windows Communication Foundation Hosting & Endpoints Winter 2006

118 Vues Download Presentation
Télécharger la présentation

Windows Communication Foundation Hosting & Endpoints Winter 2006

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Windows Communication Foundation Hosting & Endpoints Winter 2006 Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  2. WCF Hosting & Endpoints • Agenda • Address, Binding, Contract & Hosting • WCF Endpoints • Architecture • Hosting Options • basicHttpBinding Demo • netTcpBinding & netMsmqBinding Demo Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  3. About Me • Microsoft Certified Professional .NET, MCAD, .NET • 7+ years professional experience developing Microsoft solutions for the retail, financial services and environmental, health & safety industries. • Primary focus on Enterprise Application Integration architectures: • .NET Framework • BizTalk Server • Host Integration Server Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  4. Address, Binding, Contract & Hosting • The ABCs of Windows Communication Foundation: An Addressuniquely identifies a service. Provides the transport protocol, name of target machine (host) and port if applicable. Expressed as an explicit path or URI: [transport]://[machine][:optional port] http://localhost http://localhost:8081 http://localhost:8081/Service net.tcp://localhost:8082/Service net.pipe://localhost/Pipe Bindings provide “canned” policies that implement the WCF features required to support the design goals of the service. Some common bindings include: basicHttpBinding netTcpBinding wsHttpBinding netMsqmqBinding WCF services must be hosted by a Windows Process (host process). Hosting options include: IIS 5 & 6 IIS 7 & Windows Activation Service (WAS) SmartClient, Console or Windows Service (also called “Self-Hosting”) All services expose a Contract. WCF uses 3 types of contracts: Service Contract – Exposes the service. Operation Contract- Exposes the service members. Data Contract – Describes service parameters. Fault Contracts – Defines error handling semantics. Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  5. WCF Endpoints • WCF Services are deployed, discovered and consumed as endpoints. Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  6. Architecture Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  7. Hosting Options Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  8. Demos • IIS Hosting with basicHttpBinding • Self Hosting with multiple endpoints Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net

  9. Questions? • References • IDesign WCF Master Class, Microsoft Silicon Valley Campus, San Jose, CA. June 2006. • IDesign WCF Standard • Programming WCF Services, Juval Lowy, 2007 O’Reilly Press. Introducing the ABCs of Windows Communication Foundation |Feb 2006 rickgaribay.net