| Course Description | |
| In this course, you will learn how to use Windows Communication Foundation (WCF) and you will see how it is a unified programming model for building service-oriented distributed applications. You will see how to build, host and call WCF services and you will gain a deep understanding of the basic building blocks of WCF, including endpoints, bindings and contracts. In addition, see how to handle exceptions, maintain state between calls to a service and use transactions. Subsequent topics include and basics of WCF security, integrating WCF with Windows Workflow Foundation and building WCF services that support Representational State Transfer (REST) and syndication. By the time you have completed the course, you will have a good understanding of how to build and use WCF services in your distributed applications.
Course Length: 2 Days Course Tuition: $790 (US) |
|
| Prerequisites | |
| This course is designed for individuals with an intermediate knowledge of Visual C#, of building Windows and Console applications using Visual Studio 2008, and a familiarity with building and calling Web Services. Students should also have a strong programming background. | |
| Course Outline |
|
• Introduction to Windows Communication Foundation What is Windows Communication Foundation? Distributed Applications Service-Oriented Applications Windows Communication Foundation Create Your First WCF Service WCF Building Blocks Service Contracts Data Contracts Endpoints Bindings Host and Call a WCF Service Create the WCF Service Host the WCF Service on a Web Server Call the WCF Service from a Client • Hosting and Calling WCF Services Hosting a WCF Service The Service Host Options for Hosting a WCF Service Host a WCF Service Using Internet Information Services Explore the WCF Service Host the WCF Service Call the WCF Service Self-host WCF Services Create the Host Application Call the Service from the Client Define Multiple Endpoints for a Service Host More than One Service Use Configuration Files to Define Endpoints Create Configuration Files Add a Service Reference to a Self-hosted Service Host a WCF Service Using a Windows Service Create the Windows Service Host Install the Windows Service Host a WCF Service Using Windows Process Activation Service Install WAS and WCF Communication Host the Service Using WAS and HTTP Call the WCF Service from the Client Host the Service Using WAS and TCP • Bindings and Contracts Channels and Bindings Channels Bindings Contracts Service Contracts Set Properties of the ServiceContract Attribute Modify Methods in a Service Data Contracts Modify a Data Contract • Exceptions, Diagnostics, and Message Patterns Handling Exceptions Throw Unhandled Exceptions Throw FaultExceptions Use FaultCodes and FaultReasons Throw Strongly Typed SOAP Faults Tracing and Message Logging Configure Tracing and Message Logging View the Message Logs View the Trace Logs One-way and Duplex Operations One-way Operations Duplex Operations |
• Sessions and Transactions Sessions Sessions and Instancing Control Sessions Sessions and Concurrency Transactions Explore the WCF Service Add Transaction Support to a WCF Service Create a Transaction in the Client Transactions and Sessions • Security WCF Security Basics Transport Security and Message Security Default Security Settings Encryption Authentication Default Authentication Windows Authentication Using the BasicHttpBinding Binding Basic Authentication over HTTP Authentication Using ASP.NET Membership Membership Management in ASP.NET Authenticate Using the ASP.NET Membership Provider Configure the Binding Call the Service from the Client Authorization Role-bases Security Authorize Using the Windows Identity Authorize Using a Generic Identity Authorization Using ASP.NET Roles Authenticate Using the ASP.NET Role Provider • Workflow Services Windows Workflow Foundation What Types of Applications Might Benefit from Workflow Support? Workflow Architecture Two Types of Workflows Workflow Services The ReceiveActivity Activity Hosting Workflow Services The SendActivity Activiy Use a Send Activity Use the Receive and Send Activity Together Stateful Workflow Services State Machine Activities Workflow Persistence Create a Stateful Workflow Service • Restful Services and Syndication Building RESTful WCF Service WCF and REST Uploading Data WCF Syndication WCF and Syndication Try It Out! Contact us for course schedules or more information. |


