This post aims to provide a way to implement lazy initialization in a multi threaded environment using the SingleInstance(Of T) Class.
When building applications for a mobile operating system su
There are several considerations and practices concerning interfaces
Some developers say that interfaces can be used as a replacement of
multiple inheritance mechanisms, which cause complexity and a
You can see this and other great articles on design patterns here.
The Adapter Design Pattern allows you to make an existing class work with other existing class libraries without changing the code o
Download source code - 184.62 KB
Introduction
For developers used to the integrated, inbuilt localization support for Windows Forms applications, the Microsoft approach to localizing WPF applicat
Introduction
Yesterday I helped a colleague with his ASP.NET MVC 3 site deployment. That colleague implemented the data access layer using EF4.1 Code First. One of the restrictions that he had was
A followup to a post about subqueries with an estimation for how long it would take for the query to run.
In a recent post about subqueries, I compared 4 queries and how they handled 4 million rows o
Introduction
This article helps the beginner of an AI course to learn the objective and implementation of Uninformed Search Strategies (Blind Search) which use only information available in the prob
Download source code
Recently, I came across the need to customize the look of the standard message box in the application. To do this, I’ve decided to create a new class named WPFMessageBox, whi
Introduction
The official answer is you can’t. Even with the In-Process Side by Side execution (SxS) feature, introduced in .NET 4.
The SxS feature was intended to be used when COM is in
Download client app - 10.57 KB
Download server app - 9.65 KB
Download source code - 68.53 KB
Introduction
Before talking about the code, there are a couple of things that I want to point o
Download example - 3.84 MB
Inserting Video Media into a Web File via Expression Web 4
Strictly an Article for the Beginner
This article will present a simple way to embed a Windows Media Player int
You can see this and other great articles here.
The best practice of laying out the controls is to let WPF do the sizing for you as much as you can, so that other controls around it don't need to be
Download source - 78 KB
Introduction
.NET allows binding to an event with a method that has a different signature than that of the published delegate, as long as the return type and the parameter t
Once upon a time, long, long ago, I was working at a company that gave their engineers some shiny, state-of-the-art, new-fangled HP calculators. They were awesome; instead of battery-draining LEDs for
Introduction
In our normal programs, the requirement of exporting data to excel is
very usual. I’ve summarized some basic skills in an article in Codeproject. And
right here, I want to specialize on
This is sequence of my previous post but now with Yahoo.
I have downloaded Scribe example source code to get authenticated with Yahoo. But the default example was not working. After several hours of
Download source code - 19.73 KB
Download demo app - 8.57 KB
Introduction
The above image shows that to concatenate about 40,000 strings in C# takes about 3 seconds. With the StringBuilderP