
Master WCF 4.0 from scratch using C# with a 13-section course outline covering basic service creation, hosting options, config-based endpoints, and patterns like request-response, duplex, session management, and transactions.
Trace the evolution of WCF from single-tier applications through COM, DCOM, COM+, NET Remoting, and Web Services to a unified, multi-protocol model supporting HTTP, NET TCP, named pipes, and MSMQ.
Mastering WCF explains how the Windows Communication Foundation provides a unified programming model for building interoperable service-oriented applications across http, net tcp, and msmq, hosted on IIS or self-hosted.
Explore how WCF uses service contracts and data contracts to define client-facing functionality and data structures exchanged in service-oriented applications.
Explore service oriented architecture for building distributed, loosely coupled systems in WCF 4.0 from scratch. Learn how clients and services exchange XML messages by exposing public methods and parameter structures.
Develop a full WCF service application by building the service, hosting it using various techniques, and creating a client to consume the hosted service with different project templates.
Create your first WCF service application in Visual Studio, define a service and data contract, implement add and subtract, and test with the WCF test client via IIS Express.
Create a WinForms client to consume a WCF service by adding a service reference, generating a MathService proxy, and invoking add and subtract operations via a simple UI.
Explore how app.config and web.config define wcf endpoints, bindings, and contracts, using basicHttpBinding by default, and how service references expose IMathService with Add and Subtract.
Create a WCF service library in Visual Studio, compare it with WCF service application, and learn to host it on IIS using web hosting and the WCF test client.
Host the wcf service by adding a wcf service application and configuring its web.config endpoint with basicHttpBinding for MathService. Verify via the svc in browser on port 4260.
Develop a WinForms client for your WCF service by adding a service reference, using the MathService proxy, and invoking Add and Subtract methods with a data contract object.
Discover self hosting a wcf service by creating a console app that hosts the mathservice library with multiple endpoints using basicshttpbinding and nettcpbinding on ports 4444, 5555, and 6666.
Develop three Windows clients to consume a self-hosted WCF service at three endpoints using basicHttpBinding and NetTcpBinding, leveraging a channel factory, a proxy-like channel, and math service data contracts.
Test the WinForms client by running a self-hosted WCF MathService on ports 4444 (basicHttpBinding), 5555 (basicHttpBinding), and 6666 (netTcpBinding), then proceed to create the Windows client.
Host multiple WCF services in one self-hosting application by adding two service libraries (math and calc) and configuring distinct endpoints on ports 4444 and 5555 with basic HTTPBinding.
Develop and test a winforms client that talks to WCF services, including math service library and calc service library, via channels using BasicHttpBinding in a hosted setup on port 5555.
Learn to self-host a WCF service library by configuring endpoints and bindings in app.config, replacing hardcoded values with a config-driven service host.
Configure the wcf service endpoints in app.config using system.serviceModel, detailing three endpoints for the math service with basicHttpBinding, wsHttpBinding, and netTcpBinding, including address, binding, and contract.
Explore how to use the Microsoft service configuration editor to add and manage WCF endpoints in app.config, including setting the address, basic HTTP binding, and IMathService contract.
Learn how to consume a WCF service from a Windows client by moving endpoint information from code to app.config, and wire three endpoints using basicHttp, wsHttp, and netTcp bindings.
Host a WCF service with a Windows service by creating a blank solution, reusing the Math Service Library, and adding a Windows client and a Windows service project.
Create a Windows service host for a WCF service by configuring app.config endpoints with NetTcpBinding, implementing OnStart and OnStop to manage the ServiceHost, then install the service with installers.
Host a WCF service in a Windows service, configure a WinForms client with NetTcp binding, and test end-to-end communication by starting, stopping, and rebuilding the service.
Host a self-hosted WCF service library with a netTcp endpoint on port 6666 and a mex endpoint on 6667, enabling a Windows client to add a service reference.
Demonstrates self-hosting a WCF service and consuming it from a Windows client via a service reference, configuring NetTcpBinding and MexTcpBinding on a port.
Instantiate a WCF service proxy in a WinForms client, configure NetTcpBinding endpoint 6666 in app.config, and invoke add and subtract via the service reference in a self-hosted setup.
Learn to host a WCF service as a Windows Process Activation Service using a WCF service library and a Windows client, enabling nettcp, name pipes, and MSNQ.
Install required roles and features via server manager to enable Windows process activation service for hosting WCF services, including HTTP activation and non-HTTP activation.
Create a WAS-hosted WCF service on IIS by building a web site, referencing the Math Service Library, and configuring endpoints for WSHttpBinding and NetTcpBinding in web.config.
Run appcmd.exe to enable nettcp binding on the WASHOSTSite, configuring http and nettcp protocols in the Web.Config.
Develop a WinForms client to consume a WCF service hosted on IIS, configuring WSHttpBinding and NetTcpBinding endpoints, adding a service reference, and invoking methods through generated proxies.
Explore message exchange patterns in WCF by building a demo with a library, web host, and Windows client, illustrating request replay pattern, one-way pattern, and duplex patterns.
Learn to implement the one way pattern in WCF service by adding SignIn and SignOut with isOneWay = true, and log login/logout events to a text file from WinForms client.
Learn to implement the duplex message exchange pattern in a WCF 4.0 service using ws dual http binding and a callback contract to notify the client when printing completes.
Implement duplex methods in a WCF service and test part II by building the WCF service library, wiring a new callback interface, and updating the client to support bi-directional communication.
Windows Communication Foundation (WCF), which was released as part of the .NET Framework (3.0 and 3.5), is a platform developers can use to build Service-Oriented Applications.
This course provides developers with a thorough knowledge in developing WCF Services using C#.
In this course by development expert Kameswara Sarma Uppuluri, you'll learn essential concepts that you need to know to get started building WCF Services using C#.
This course provides step-by-step walk-throughs and coding demos that you're encouraged to code along with to enhance the learning process.
This course is broken down into 13 Modules with each module providing source code so that you can follow along with Kameswara Sarma Uppuluri. Some of the modules can be seen in the below list.
Section 1 : Developing a Simple WCF Service Application
Section 2 : Developing and Hosting a WCF Service Onto IIS
Section 3 : Learn How to Self Host a Service
Section 4 : Learn How to Self Host Multiple WCF Services
Section 5 : Learn How to Self Host a WCF Service Using Config Files
Section 6: Learn How to Host a WCF Service Using Windows Services
Section 7 : Learn How to Self Host a WCF Service Using a Service Reference
Section 8 : Learn How to Host a WCF Service Using WAS
Section 9 : Learning Message Exchange Patterns of WCF
Section 10 : Learn How to Implement Exception Handling for WCF Services
Section 11 : Learn How to Implement Session Management in WCF Services
Section 12 : Learn How to Implement Transactions in WCF Services
Section 13 :Learn to Implement Session Management and Transactions together in WCF Services