Tomek on Software
Software - shaken, not stirred
Silverlight HTML5 WebSocket client with an HTML bridge to Ajax/JavaScript
NOTE Answering to popular demand expressed in comments to this thread, we are now making a .NET prototype implementation of a WebSocket draft specification available for download. Check out the details at http://tomasz.janczuk.org/2010/12/websockets-wcf-service-silverlight-and.html. One of the HTML 5 initiatives is to define a duplex communication protocol called WebSocket for use...
Laharsub: HTTP REST pub/sub service for AJAX and Silverlight web clients
Today I would like to announce the creation of the Laharsub project on Codeplex and invite you to download, use, review, comment, discuss, share ideas, and otherwise collaborate on this interesting technology. The objectives and scope of the Laharsub project are captured on the project’s site; to quote: Overview The...
Duplex communication with WCF on Silverlight TV
Silverlight TV episode about Duplex communication with WCF in Silverlight is beginning to air today. In this episode I am showing how to implement duplex communication with WCF using HTTP polling duplex protocol, as well as discuss aspects of the net.tcp protocol. If you want to find out more about...
Debugging WCF RIA Services with WCF traces
WCF traces are very helpful in diagnosing and debugging problems with a deployed WCF service. This post describes how traces generated by a WCF RIA service can be accessed and inspected directly from a web browser in a variety of formats. WCF traces capture information about the lifetime of a...
Comparison of HTTP polling duplex and net.tcp performance in Silverlight 4 RC
Silverlight 4 RC that shipped recently at MIX 2010 supports a new mode of the HTTP polling duplex protocol with greatly improved performance compared to the version in Silverlight 3. This post compares the performance of the three mechanisms for asynchronous data push from the server to the client available...
Pub/sub sample with WCF net.tcp protocol in Silverlight 4
NOTE Many people reading this post are really looking for a publish\subscribe solution for Silverlight to implement a web chat or a stock quote application for the browser, a multiplayer online game, or some form of a web based collaboration tool, among others. If that fits your profile, you may...
WCF net.tcp protocol in Silverlight 4
Microsoft Silverlight 4 Beta unveiled at PDC 2009 enables Silverlight clients to communicate with a Windows Communication Foundation (WCF) service using the net.tcp protocol. The key benefits of the net.tcp protocol are: support for duplex communication with a simple to use programming model, excellent performance, good integration with the Add...
Adoption of Silverlight serialization and communication technologies in web applications – October 2009
It has been 8 months since my previous research of the adoption of communication and serialization technologies in Silverlight applications deployed on the web, and a few months since Silverlight 3 shipped in July 2009. In this article I am describing the findings of a follow up research and comparing...
Scale-out of Silverlight HTTP polling duplex WCF service in a web farm scenario
Introduction In my recent articles I have introduced a sample pub/sub application using Silverlight’s HTTP polling duplex protocol, an AJAX client talking the same protocol, as well as discussed server side performance of the protocol. The latter post pointed out scalability challenges associated with deploying a WCF service using the...
Improving performance of concurrent WCF calls in Silverlight applications
Many people notice an apparent degradation of latency of concurrent WCF calls in a Silverlight application compared to a similar code in a Windows Console application. This post explains this phenomenon and shows how to optimize performance of concurrent calls in Silverlight. WCF proxies in Silverlight applications use the SynchronizationContext...