What’s New in Windows Communication Foundation in Microsoft.NET 4.5 Daniel Roth Senior Program Manager Microsoft Corporation DEV326
There is an error in the XML document. The maximum nametable character count quota (16384) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader. The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00: '. The maximum array length quota (16384) has been exceeded while reading XMLXML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'SubmitQuery'. The 'maximum bytes per Read operation' quota (4096) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas
PropertyOnOld ValueNew Value ChannelInitializationTimeout NetTcpBinding5 sec30 seconds ListenBacklog NetTcpBinding, SMSvcHost.exe1016 * processor count MaxPendingAcceptsNetTcpBinding, NamedPipeBinding12 * processor count MaxPendingAcceptsSMSvcHost.exe24 * processor count MaxPendingConnectionsNetTcpBinding, NamedPipeBinding 1012 * processor count ReceiveTimeoutSMSvcHost.exe10 sec30 seconds NameOld ValueNew Value MaxArrayLength elementsInt32.MaxValue (text) MaxBytesPerRead 4096 bytesInt32.MaxValue (text) MaxDepth 32 nodes deep128 MaxNameTableCharCount charactersInt32.MaxValue (text) MaxStringContentLength8192 charactersInt32.MaxValue (text)
demo Daniel Roth Senior Program Manager Microsoft Corporation Host integration
demo Daniel Roth Senior Program Manager Microsoft Corporation Working with WCF config
demo Daniel Roth Senior Program Manager Microsoft Corporation Task-based async
demo Daniel Roth Senior Program Manager Microsoft Corporation UDP stock ticker
HTTP Client HTTP Server 1 TCP GET /chat HTTP/1.1 Host: example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ== Sec-WebSocket-Origin: HTTP Upgrade Request
HTTP Client HTTP Server HTTP Client HTTP Server HTTP Switching Protocols Response 1 2 TCP HTTP/ Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo= HTTP Upgrade Request
HTTP Client HTTP Server HTTP Upgrade Request HTTP Client HTTP Server HTTP Switching Protocols Response 1 2 Web Socket 3 WebSocket Messages TCP Binary or UTF8 Messages or streams
Browser app Pick a winner! MVC Controller WCF WebSocket Service WCF UDP Service Azure VM Windows Server 2012 Windows 8 Metro Watch the race
demo Daniel Roth Senior Program Manager Microsoft Corporation WCF horse race
DEV331 What’s New in Microsoft.NET Framework 4.5 SIA321 What's New in Windows Identity Foundation in Microsoft.NET Framework 4.5 DEV329 What's New in Windows Workflow Foundation 4.5 DEV358 Building Windows 8 Apps for the Enterprise DEV309 Building HTTP Services with ASP.NET Web API
Visual Studio Home Page :: Jason Zander’s Blog :: Facebook :: Twitter :: Somasegar’s Blog ::
Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
Complete an evaluation on CommNet and enter to win!