Download presentation
Presentation is loading. Please wait.
Published byMya Claydon Modified over 9 years ago
1
What’s New in Windows Communication Foundation in Microsoft.NET 4.5 Daniel Roth Senior Program Manager Microsoft Corporation DEV326
4
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:59.4383964'. 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
5
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 16384 elementsInt32.MaxValue (text) MaxBytesPerRead 4096 bytesInt32.MaxValue (text) MaxDepth 32 nodes deep128 MaxNameTableCharCount 16384 charactersInt32.MaxValue (text) MaxStringContentLength8192 charactersInt32.MaxValue (text)
7
demo Daniel Roth Senior Program Manager Microsoft Corporation Host integration
9
demo Daniel Roth Senior Program Manager Microsoft Corporation Working with WCF config
12
demo Daniel Roth Senior Program Manager Microsoft Corporation Task-based async
15
demo Daniel Roth Senior Program Manager Microsoft Corporation UDP stock ticker
17
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://example.com HTTP Upgrade Request
18
HTTP Client HTTP Server HTTP Client HTTP Server HTTP Switching Protocols Response 1 2 TCP HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo= HTTP Upgrade Request
19
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
22
Browser app Pick a winner! MVC Controller WCF WebSocket Service WCF UDP Service Azure VM Windows Server 2012 Windows 8 Metro Watch the race
23
demo Daniel Roth Senior Program Manager Microsoft Corporation WCF horse race
26
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
27
Visual Studio Home Page :: http://www.microsoft.com/visualstudio/en-ushttp://www.microsoft.com/visualstudio/en-us Jason Zander’s Blog :: http://blogs.msdn.com/b/jasonz/http://blogs.msdn.com/b/jasonz/ Facebook :: http://www.facebook.com/visualstudiohttp://www.facebook.com/visualstudio Twitter :: http://twitter.com/#!/visualstudiohttp://twitter.com/#!/visualstudio Somasegar’s Blog :: http://blogs.msdn.com/b/somasegar/http://blogs.msdn.com/b/somasegar/
28
Connect. Share. Discuss. http://northamerica.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn
29
Complete an evaluation on CommNet and enter to win!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.