Created
October 30, 2015 21:50
-
-
Save musoftware/76ff78552c6fba7533eb to your computer and use it in GitHub Desktop.
Use WCF Service ON Dll file
This file contains hidden or 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
| var binding = new WSHttpBinding(); | |
| binding.SendTimeout = new TimeSpan(0, 0, 0, 0, 100000); | |
| binding.OpenTimeout = new TimeSpan(0, 0, 0, 0, 100000); | |
| binding.MaxReceivedMessageSize = 10000; | |
| binding.ReaderQuotas.MaxStringContentLength = 10000; | |
| binding.ReaderQuotas.MaxDepth = 10000; | |
| binding.ReaderQuotas.MaxArrayLength = 10000; | |
| var endpoint = new EndpointAddress("http://localhost:57102/MyService.svc"); | |
| var myClient = new WebServiceclient(binding, endpoint); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment