Windows Communication Foundation

I recorded an hour and a half presentation on Windows Communication Foundation yesterday that you can view on YouTube here. The video is recorded in 1920x1080, and is uploaded at that quality. The presentation covers everything from what WCF is, to creating your first service and client, as well as a few other advanced subjects.

PowerPoint: Windows Communication Foundation.pptx
Source Code: Routing


  1. Ivy

    Can I clarify that removing dependencies from client does not need to recompile it when WCF service is updated or republished?

  2. Jayesh

    In the app.config of RoutingService Application the Contract value should be RoutingService.Common.IConnectionStringService (previous it was RoutingService.IConnectionStringService)
    The endpoint should be

  3. Joe

    I have not had success getting the test service to run. Can you shed some light on this issue? When i attempt to run the RoutingService in the debugger I observe a failure in the WCF Service Host:

    System.InvalidOperationException: The contract name ‘RoutingService.IConnectionStringService’ could not be found in the list of contracts implemented by the service ‘StoredConnectionStringService’.
    at System.ServiceModel.Description.ConfigLoader.LookupContract(String contractName, String serviceName)
    at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress, Boolean skipHost)
    at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
    at System.ServiceModel.ServiceHost.ApplyConfiguration()
    at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
    at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
    at Microsoft.Tools.SvcHost.ServiceHostHelper.CreateServiceHost(Type type, ServiceKind kind)

Leave a Comment