Created
February 27, 2019 13:02
-
-
Save PatrickKalkman/8f4121b96f144cfc0b0b10a5c988fd0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Configuration | |
{ | |
public static Binding CreateBinding() | |
{ | |
NetTcpBinding binding = new NetTcpBinding(); | |
binding.MaxReceivedMessageSize = 25 * 1024 * 1024; | |
binding.ReceiveTimeout = new TimeSpan(0, 2, 0); | |
return new NetTcpBinding(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment