Introduction
NHibernate is an Object-Relational Mapping (ORM) solution for the .NET Platform. It provides a framework for mapping an object oriented domain model to a traditional relational database.
Introduction With this tutorial, I want to explain how you can create a WebSocket application. I have chosen Silverlight as my client, but you can have any framework &nb
Template method design pattern falls under the category of Behavioral Design Pattern. In this pattern, a template method defines a skeleton of an algorithm in terms of abstract operations. The templat
Decorator design pattern falls under the category of Structural Design Pattern. Structural design pattern emphasizes upon the overall structure of classes and objects in the system either by doing cla
Download CWtlPicture source code only - 4.47 KB
Download the sample application project - 17.85 KB
Introduction
This is a graphics class written for Windows Template Library (WTL)
Download source code - 1.92 KB
Introduction
I use enumerators many times in C++ but sadly these enums are not supported well. When you want to serialize an enum, you don't know what is the small
This blog post describes the development of a rolling list location indicator. This indicator mirrors the behaviour seen in the native Windows Phone 7 calendar which rolls from one date to the next as
In this post, we continue our review of the Windows Ribbon Framework feature brought to us in Windows 7. For more information on the ribbon feature in general and the Windows Ribbon Framework in parti
Download source code - 53.2 KB
Introduction
This article describes the challenges I faced while programming a simple, concurrent WebSockets server in C++, and concludes with a complete working so
Download demo project - 76.22 KB
Download source - 2.39 KB
Introduction
One of the most common errors in multi-thread programming is accessing invalid data in different threads. Although this i
Download demo project - 32.6 KB
Download source - 2.64 KB
Introduction
Sometimes when you are using the IE Browser Control inside of a C++ application, you need to get access to the HTML el
Introduction
This is just an idea on how to write test classes for testing C++ classes. I might reinvent the wheel here (since I am not an expert on automated testing...) but as an idea/code s
Download source code - 22.17 KB
Introduction
Data compression is
always useful for encoding information using fewer bits than the original
representation it would use. There are many applicati
Decorator design pattern falls under the category of Structural Design Pattern. Structural design pattern emphasizes upon the overall structure of classes and objects in the system either by doing cla
There are many instances when we have "Browser1" as the default browser in the system and we want our web application to be run inside a different
browser (say "Browser2") from th
Download source code and demo - 905.83 KB
Introduction
OK, so JavaScript/jQuery lightboxes are ten-a-penny. Just go to the jQuery plugin repository and take your pick! Indeed for a long time, I di
We create stored procedures in database applications for several reasons and benefits like enhanced performance, security, code maintenance, etc. But with time, we may see that these stored procedures
Template method design pattern falls under the category of Behavioral Design Pattern. In this pattern, a template method defines a skeleton of an algorithm in terms of abstract operations. The templat
I’ve answered a couple of questions at StackOverflow regarding the benefit of View Models. Here is a summary of all my answers focusing on View Models in ASP.NET MVC.
Reason 1: Remove logic from you