Partager via


How WebSockets and the ASP.Net Web API look in memory

Nelson’s been spelunking around the memory structures of WCF 4.5’s support for WebSockets and the ASP.Net Web API:

I attached windbg to the server process (in this case, w3wp.exe) and loaded sos.

If you’re curious about how either set of object structures looks in memory, go check out his posts on Web Sockets

WCF 4.5 supports websockets which is a bi-directional, full-duplex communication channel over a single TCP connection. This is achieved by NetHttp(s)Binding.

And Web API

Using ASP.NET Web API, we can build scalable HTTP services which can serve wide range of client application\devices.

Note: These are deep dives, and aren’t for those that don’t enjoy spending time with SOS and/or in a debugger.


Posted by Tristan Kington , MSPFE Editor

Comments

  • Anonymous
    September 20, 2012
    Good One.