HTML5 Labs Launched and WebSocket Update
2010-12-29 14:07
309 查看
Last week Microsoft launched HTML5 Labs where they intend to post early prototypes of applications running on unstable web standard specifications for .NET developers. The intent is to create an early dialogue with the developer communities and higher fidelity implementations of draft specifications. The first two prototypes made available are IndexDB, an application based on the draft web specification for the storage of large amounts of structured data in the browser and an example WebSocket implementation.
Microsoft Implementation
The download from Microsoft contains a .NET implementation including:
A WCF 4.0 server-side implementation
A Prototype of the WCF Model for WebSocket
A Silverlight 4 client implementation
A .NET 4.0 client implementation
An HTML bridge from Silverlight to JavaScript
A web chat sample
A stock quote sample
WebSocket Draft
WebSocket is a draft protocol intending to define a bi-directional full-duplex communication protocol to allow web browsers and web servers to communicate without the HTTP protocol overhead. It is designed to be implemented in both web browsers and web servers. The communication begins once an initial connection has been established between browser and server. If adopted, WebSocket will deprecate the HTTP long-polling mechanisms in use by developers today. The WebSocket API is under the jurisdiction of the W3C Web Application Working Group while the IETF owns the working specification.
Currently the WebSocket draft is implemented in FireFox 4, Chrome, Opera 11, Safari 5 and both IE 8 & IE 9. Apple has even implemented WebSocket in the latest release of iOS 4.2, while developers must wait for support in Windows Phone 7 and Android.
WebSocket Setbacks
Earlier this month, preliminary WebSocket implementations in FireFox 4 and Opera where disabled due to security concerns. The problem lies not with web browsers, nor truly WebSocket, but with poorly implemented caching proxies which sit on most corporate and enterprise firewalls. Within FireFox, it is possible to re-enable WebSocket by browsing to about:config and toggling network.websocket.override-security-block. General consensus is that eventual adoption of WebSocket in inevitable yet in an altered form to alleviate the current security concerns, but some feel XMPP sufficiently solves the same problem space.
Microsoft Implementation
The download from Microsoft contains a .NET implementation including:
A WCF 4.0 server-side implementation
A Prototype of the WCF Model for WebSocket
A Silverlight 4 client implementation
A .NET 4.0 client implementation
An HTML bridge from Silverlight to JavaScript
A web chat sample
A stock quote sample
WebSocket Draft
WebSocket is a draft protocol intending to define a bi-directional full-duplex communication protocol to allow web browsers and web servers to communicate without the HTTP protocol overhead. It is designed to be implemented in both web browsers and web servers. The communication begins once an initial connection has been established between browser and server. If adopted, WebSocket will deprecate the HTTP long-polling mechanisms in use by developers today. The WebSocket API is under the jurisdiction of the W3C Web Application Working Group while the IETF owns the working specification.
Currently the WebSocket draft is implemented in FireFox 4, Chrome, Opera 11, Safari 5 and both IE 8 & IE 9. Apple has even implemented WebSocket in the latest release of iOS 4.2, while developers must wait for support in Windows Phone 7 and Android.
WebSocket Setbacks
Earlier this month, preliminary WebSocket implementations in FireFox 4 and Opera where disabled due to security concerns. The problem lies not with web browsers, nor truly WebSocket, but with poorly implemented caching proxies which sit on most corporate and enterprise firewalls. Within FireFox, it is possible to re-enable WebSocket by browsing to about:config and toggling network.websocket.override-security-block. General consensus is that eventual adoption of WebSocket in inevitable yet in an altered form to alleviate the current security concerns, but some feel XMPP sufficiently solves the same problem space.
相关文章推荐
- HTML5 and Websocket
- Face detection using HTML5, javascript, webrtc, websockets, Jetty and OpenCV
- Html5 学习利器 Web Standards Update for Microsoft Visual Studio 2010 SP1
- Java EE 7: Building Web Applications with WebSocket, JavaScript and HTML5
- Django push: Using Server-Sent Events and WebSocket with Django
- libwebsockets – HTML5 Websocket server library in C
- TWaver html5 + NodeJS + express + websocket.io + redis 快速搭建项目(二)
- RFC6455-The WebSocket protocol 之七:6. Sending and Receiving Data
- C# WebSocket 服务端示例代码 + HTML5客户端示例代码
- WebSocket+MSE——HTML5直播技术解析
- 完美解决WebSocket 服务器 The WebSocket session [0] has been closed and no method...异常信息
- TWaver html5 + NodeJS + express + websocket.io + redis 快速搭建项目(一)
- TWaver html5 + NodeJS + express + websocket.io + redis 快速搭建项目(三)
- HTML5 WebSocket API
- html5 web app and js library
- HTML5 Web Socket/Adobe Flash Web Socket支持测试结果
- WebGL and WebSocket
- RHEL7.2/Centos-node.js 2. npm install and websocket example
- Face detection using HTML5, javascript, webrtc, websockets, Jetty and OpenCV
- [HTML] HTML5中的服务器‘推送’技术(2) -WebSocket