So far, in tutorials, blogs, and official documentation, I've seen:
- Microsoft.Web.WebSockets
- Obtained from NuGet
- The assembly is Microsoft.WebSockets, but the Namespace is Microsoft.Web.WebSockets
- Last updated 14 Sept 2011
- Contains WebSocketHandler, WebSocketCollections, WebSocketExtensions
- System.Web.WebSockets
- Part of .NET 4.5 and available in Visual Studio 11 Developer Preview
- Contains AspNetWebSocket, AspNetWebSocketContext, AspNetWebSocketOptions classes
- Documentation on MSDN
- System.Net.WebSockets
- Thanks Ladislav Mrnka for pointing this one out
- Part of .NET 4.5 and available in Visual Studio 11 Developer Preview
- Contains WebSocket, HttpListenerWebSocketContext and more
- Documentation on MSDN
- System.ServiceModel.WebSockets
- I must have imagined I'd seen this one somewhere, can't find it now
- Microsoft.ServiceModel.WebSockets
- Obtained from html5labs.interoperabilitybridges.com/....
- Installed into [Program Files]\Microsoft SDKs\WCF WebSockets\11.06.22\bin
- Contains WebSocketHost, WebSocketService, WebSocketsService classes, plus interfaces and collections
- Last updated 22 June 2011
are these somehow different? Are some older versions?
I've always assumed the 'Microsoft.Web' namespace was used for pre-release code, but even the demos at the Build conference use this namespace, despite