Skip to main content

Posts

Showing posts from June, 2013

WCF Exception - The maximum message size quota for incoming messages (65536)

The WCF service error 'maximum message size quota for incoming messages (65536) has been exceeded generally occurs, if the message size is larger than the "maxReceivedMessageSize" configured parameter value in the binding.   By default the parameter "maxReceivedMessageSize" value is set to 65536, if you encounter this error change the default configuration parameter value as per the message size and also ensure the "maxBufferSize" and "maxReceivedMessageSize" values are set to same value.   < binding name = " BindingName " closeTimeout = " 00:10:00 " openTimeout = " 00:10:00 " receiveTimeout = " 00:10:00 " sendTimeout = " 00:10:00 " allowCookies = " false " bypassProxyOnLocal = " false " hostNameComparisonMode = " StrongWildcard " messageEncoding = " Text " textEncoding = " utf-8 " maxBufferSize = " 9999999 " maxRec...

AngularJS

AngularJS is an open-source JavaScript framework, maintained by Google. Its goal is to augment browser-based applications with model–view–controller (MVC) capability, in an effort to make both development and testing easier. Why AngularJS: HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets to extend HTML vocabulary for the application. The resulting environment is extraordinarily expressive, readable, and quick to develop. AngularJS is a toolset for building the framework most suited to application development. It is fully extensible and works well with other libraries. Benefits: Uses primitive JavaScript types instead of function wrappers Don't need to write all the event listening and event triggering, loaded with functionality Decouple the client side of an application from the server side. This allows development work to progress in parallel, and allows for reuse of b...

WCF Service Exception PlainXmlWriter+MaxSizeExceededException

For a WCF service the exception 'System.ServiceModel.Diagnostics.PlainXmlWriter+MaxSizeExceededException' generally occurs when we switched on logging and tracing.   A message was not logged. Exception: System.InvalidOperationException: There was an error generating the XML document. ---> System.ServiceModel.Diagnostics.PlainXmlWriter+MaxSizeExceededException: Exception of type 'System.ServiceModel.Diagnostics.PlainXmlWriter+MaxSizeExceededException' was thrown.   The reason is that "maxSizeOfMessageToLog" configuration parameter value is set to a value lower than the size of the message to log. < system.serviceModel>   < diagnostics > <!-- log all messages received or sent at the transport or service model levels --> < messageLogging logEntireMessage = " true " logMessagesAtServiceLevel = " true " logMalformedMessages = " true " logMessagesAtTransportLevel = " true "    maxMessa...