Skip to main content


Showing posts from April, 2011

Revisiting C# - Published New Free Ebook

I just collated some of my posts on C#, and published an Ebook – Revisiting C#. Have a look at the same here.This book is intended to be a value adding reading material for beginner to intermediate C# programmers. It may also be used for accelerating the learning about new and upcoming features in C#, and also to get an introduction about new libraries in .NET. You may find random articles and alternate perspectives related to various aspects of C# - ranging from delegates, lambdas, fluent interfaces, dynamic features etc. with practical examples. Revisting C# V1.0

5 Cool Hacks And Prototypes For .NET devs – Node.js in Azure, Kinect as Windows 7 controller, WCF web sockets, WPF over Web and more

Who won’t love adventurous, out of the box hacks and prototypes? The joy of being a developer is to experiment with hot new ideas, and to do things others haven't done yet. For a developer, a hack is a source of joy - just as a poet who finds his real joy in unleashing his creativity, than in selling the same to others.In modern computing terminology, a "hack" is a solution to a problem, doing a task, or fixing a system (whether hardware or software) that is inefficient, inelegant, or even unfathomable, but which nevertheless (more or less) works.Here are few super cool hacks I explored and found in the last couple of weeks. Node.Js Running on top of AzurePaul has experimented with Node.Js and Azure, and wrote a couple of posts on running Node.Js on Windows Azure. And I got interested because Node.js is among the new cool kids in the town, and looks pretty interesting .Node.Js is an Evented I/O for V8 JavaScript.An example of a web server written in Node which responds w…

Wpf Over Websockets (WoW) – How to Pump WPF windows & animations to browsers over HTML5 Websockets And Canvas

Over the weekend, I just put together a hack for pumping WPF windows over Websockets and rendering it using HTML5 canvas – also with basic mouse input support. For each user connecting to the server, a new window instance is created, and screen will be pumped over web sockets to the browser as base64 encoded images. These images are painted on an HTML5 canvas. The entire source code is here at codeplex – http://wow.codeplex.comWhat does this mean?Once HTML5 specification is final - it is almost certain that it’ll be the most widely adopted platform for delivering applications to end users. With Websockets in HTML5, we are going beyond the unidirectional, stateless http to a full duplex, high speed connection infrastructure between the server and the client. This will definitely bring up lot of interesting possibilities, including exciting and feature rich user experiences. WPF is already a widely adopted, feature rich desktop application development platform, and this hack is a quick …