Click here to Skip to main content
14,869,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have create a wcf service for my three web site that runs on same server and service also. what type of binding i should use. and why?
and i have one method in service that return data size is more than 65536, and client side default size is maxReceivedMessageSize="65536" , so how can i increase default size also.
Updated 20-Jun-12 23:57pm
Prasad_Kulkarni 21-Jun-12 6:41am
Glad it helps!
Thank you for 'Accepting Solution'

1 solution

Depends on where the services are located.

If they're on the same machine, NetNamedPipeBinding should give you the maximum performance.

Otherwise you'll have to choose depending on where they are located, if they have to communicate over the internet, interopability etc.
Ref.: WCF Binding Performance[^]

Refer Rick Rainey's Blog:
Which WCF Binding Is Best?[^]

Similar discussion:
Which Binding Protocol is best for binding the service with WCF application[^]
chhatrapati sharma 22-Jun-12 12:30pm
can you tell that how can i increase maxReceivedMessageSize="65536" at client end point

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900