I want to set maxArrayLength in basichtttpbiding.
But the only way to do this, with out configuration file, is to create a XmlDictionaryReaderQuotas, that doesnt not exsist in System.xml, and put it in BasicHttpBinding1.ReaderQuotas.
What can I do to set the maxArrayLength with out using configuration file ?
EDIT:
I cant do that: basichtttpbiding1.ReaderQuotas.MaxArrayLength = 1000000; becouse I dont have any options to choose after this: basichtttpbiding1.ReaderQuotas.[Options to choose]
Solved.
Need to add manually the reference:
System.Runtime.Serializationand then the class
XmlDictionaryReaderQuotaswill be showen inSystem.Xml