Windows Communication Foundation Using C# MVP 253 Duración: 15 horas Introducción Windows Communication Foundation (WCF) is Microsoft’s new framework for building distributed systems. It unifies and builds on the diverse set of existing distribution mechanisms, which include ASP.NET Web services and .NET remoting. WCF enables developers to produce highly configurable, secure, reliable and transactional services using a single simplified programming model. And since WCF supports the WS-* series of Web service standards, it enables simple interoperation with other platforms and technologies. This 3-day course provides a thorough grounding in this important technology. The first chapter covers the essential concepts and shows how to implement WCF services and clients. The ABC” of address, binding and contracts are covered in detail. Service contracts and data contracts are elaborated, and instance management is covered. The course includes a discussion of error handling and security and concludes with coverage of the WCF Routing Service. The course uses Visual Studio 2013 with .NET 4.5.1. The course discusses new features of WCF 4.5, including new bindings and support for the taskbased asynchronous pattern and WebSockets. A large number of working examples and lab exercises are provided. Requisitos previos Students should have a good working knowledge of building .NET applications with C#. Knowledge of building distributed systems and Web services will also be an advantage. Contenidos 1. WCF Essentials What is WCF? WCF and Web API Address, Binding and Contract WCF Services and Clients WCF Service Libraries WCF Test Host and Test Client Barcelona Carrer Almogàvers 123, 08018 Barcelona / T. +34 933 041 720 / F. +34 933 041 722 Madrid Plaza de Carlos Trías Bertrán 7, 1ª Planta (Edificio Sollube), 28020 Madrid / T. +34 914 427 703 Bilbao San Vicente 8, 6ª Planta (Edificio Albia I), 48001 Bilbao / T. +34 944 354 982 [email protected] | www.netmind.es Self-Hosting WCF Clients Channel Factories Creating Proxies Configuration Files Metadata Standard Endpoints WCF Architecture 2. Addresses and Bindings Addresses Bindings Message Exchange Patterns Configuring Bindings Interoperating with ASMX Web Services Default Endpoints and Bindings Service Descriptions Multiple Endpoint 3. Service Contracts Defining Service Contracts Defining Operation Contracts Services with Multiple Contracts Contract Inheritance Operation Overloading 4. Instance Management Using Per-Call Services Using Per-Session Services Using Singleton Services Configuring Behaviors Windows Forms WCF Clients 5. Data Contracts Implementing Data Contracts Mapping Data Contracts to XSD Schema Serialization Barcelona Carrer Almogàvers 123, 08018 Barcelona / T. +34 933 041 720 / F. +34 933 041 722 Madrid Plaza de Carlos Trías Bertrán 7, 1ª Planta (Edificio Sollube), 28020 Madrid / T. +34 914 427 703 Bilbao San Vicente 8, 6ª Planta (Edificio Albia I), 48001 Bilbao / T. +34 944 354 982 [email protected] | www.netmind.es Arrays and Generic Collections Enums Versioning Data Contracts 6. More about Service Contracts Versioning Service Contracts Implementing Message Exchange Patterns Oneway Contracts Duplex Contracts Asynchronous Proxies Task-Based Asynchronous Pattern WebSockets 7. Handling Errors Faults and Exceptions Generating and Handling Faults Fault Contracts Faults and Sessions 8. WCF Security Security Aspects of Services Transport Security Message Security Certificates Credentials 9. WCF Routing WCF Routing Service Routing Configuration Routing Contracts Message Filters Error Handling Routing Scenarios Appendix A: Learning Resources Chapter section Barcelona Carrer Almogàvers 123, 08018 Barcelona / T. +34 933 041 720 / F. +34 933 041 722 Madrid Plaza de Carlos Trías Bertrán 7, 1ª Planta (Edificio Sollube), 28020 Madrid / T. +34 914 427 703 Bilbao San Vicente 8, 6ª Planta (Edificio Albia I), 48001 Bilbao / T. +34 944 354 982 [email protected] | www.netmind.es Chapter section Chapter section Appendix B: Hosting in IIS 7.5 Internet Information Services Installing IIS 7.5 WCF with IIS 7.5 .NET Framework Version Registering ASP.NET A Service Contract WCF Service Template Referencing the Class Library Barcelona Carrer Almogàvers 123, 08018 Barcelona / T. +34 933 041 720 / F. +34 933 041 722 Madrid Plaza de Carlos Trías Bertrán 7, 1ª Planta (Edificio Sollube), 28020 Madrid / T. +34 914 427 703 Bilbao San Vicente 8, 6ª Planta (Edificio Albia I), 48001 Bilbao / T. +34 944 354 982 [email protected] | www.netmind.es Powered by TCPDF (www.tcpdf.org)