How to Redirect WCF SOAP Services using WCF Routing Service

09. June 2015 Tutorial, WCF 0
There are scenarios where you want to forward calls to a service to another service based on its contents, the action invoked, the address, or etc. For more info on WCF Routing Service you can refer to the following links: https://msdn.microsoft.com/en-us/library/ee517423(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/ee517422(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/ee517424(v=vs.110).aspx This example demonstrates how you can forward all calls coming to, let’s ...

WCF Duplex Communication Security Configurations

01. December 2013 WCF 1
Consider the scenario where the WCF Service has been hosted on Server A where it provides call back contracts for clients to be registered with and get notifications. In order to make the communication works some security settings must be considered. Without defining these configurations the server will be blocking the creation of any channel ...

How to implement and configure two contracts on one WCF service

01. December 2013 WCF 4
In this article demonstrates how you can implement two WCF Service Contracts on one Service and how to configure the service to support it. This became useful in duplex communications where the service needs to expose two different bindings. Consider the following scenario: The Service exposes two endpoints: wsDualHttpBinding and basicHttpBinding. Clients will be create ...

WCF: Increase the maximum message size quota

01. December 2013 WCF 0
When too much data is transferring via WCF service you need to adjust the maximum message size in the web/app.config of the running application. Example: <system.serviceModel> <bindings> <basicHttpBinding> <binding name=\"basicHttpUserService\" maxBufferPoolSize=\"2147483647\" maxReceivedMessageSize=\"2147483647\"> <readerQuotas maxDepth=\"2147483647\" maxStringContentLength=\"2147483647\" maxArrayLength=\"2147483647\" maxBytesPerRead=\"2147483647\" maxNameTableCharCount=\"2147483647\"/> </binding> <binding name=\"basicHttpBroadcastLogService\" maxBufferPoolSize=\"2147483647\" maxReceivedMessageSize=\"2147483647\"> <readerQuotas maxDepth=\"2147483647\" maxStringContentLength=\"2147483647\" maxArrayLength=\"2147483647\" maxBytesPerRead=\"2147483647\" maxNameTableCharCount=\"2147483647\"/> </binding> </basicHttpBinding> </bindings> </nsystem.serviceModel>