IT Technology Blog

IT technology blog, featuring the essence for you to read the article, is to learn IT technology blog first choice

Entity Framework in WinForms

Download sample - 1.02 MB Introduction The ADO.NET Entity Framework is Microsoft's latest data technology. It allows you to create conceptual data models that are easy to program against. It als

Generic type restriction for enums

I was looking for a way to restrict a generic type identifier to only allow enums. Since you are not allowed to use where T : Enum, I checked the metadata for Enum and found that it implements ValueT

An API for Yahoo Image Search

Download source - 93.83 KB Introduction In An API for Google Image Search, Ilan Assayag demonstrated how to programmatically query the Google image service. He also mentioned that the Yahoo! SDK

An Xna Animated Sprite Component for Windows Phone, PC, and Xbox

Download XnaAnimatedSprite_source - 110.29 KB Introduction The basics of animation are well known; by rapidly switching among a group of still images one can create the illusion tha

Implementation of IEnumerable(of T) & IEnumerator(Of T) inVB.Net

Introduction  This article demonstrates how to implement both IEnumerable(Of T) and IEnumerator(Of T) in VB.NET and use them to read data in a collection. Background How can i do iterati

How to Categorize Control Properties for XAML View inside Blend and Visual Studio?

If you are a XAML designer and creating controls for Silverlight, Windows Phone 7, or WPF, you may come across a situation where custom properties for controls are not properly organized by the devel

ASP.Net 4.0 New Features

ViewStateMode – ViewState for Individual Controls ASP.Net 4.0 allows view state in a page to be more controllable from page to its child controls level. That is, view state of a control can be enable

Facebook Integration via Hammock

Download FacebookDemo - 352.07 KB Introduction Recently I wrote about Social Media and strategies for integration. I intentionally didn't go into detail as I wanted to take a more philosophical view

Piracy and Unconventional Wisdom

Introduction As software developers, piracy is something that affects us all. If you work for a large company, you may not see it directly, but you still have an interest in who is using your compa

Delivering Software to a Global Audience

Introduction This article is about going beyond localization and delivering software to a truly global audience. Most developers think this can be accomplished simply by translating and localizing

Bringing AOP to MEF

Download AspectableMef.Castle (What this article discusses) Download AspectableMef (Alternative framework using LinFu.AOP. Be warned doesn't like ICommand though)   Table Of Contents Intro

Complex business rules on your ASP.NET website in several minutes

Download CodeProject - 160.11 KB Traditional Rule Engines (very briefly)  These days, most applications implement business rules, directly or indirectly. Most of those rules are static, mean

The Great Social Change

Social Change? Wow what a title. No you haven't stumbled upon a piece of broad-sheet journalism reflecting on the evolution of our society in modern time. This article is about something far m

WebSockets, WCF & Silverlight 5

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

Templates, Inversion of Control, Factories, and so on

Download source code - 433 KB Introduction Factories are used to remove direct dependency from code. Inversion of Control, Templates, plug-ins, and so many other things do the same. They may ha

Improving WPF Mouse Wheel Processing

Download Source Code - 702 KB (requires Visual Studio 2010) Download Binaries - 1.78 MB (Library + Sample Applications) Contents Introduction Roadmap Quick St

.NET Dynamic Control (Label, Text Box and Drop Down) Creation

Table of Contents Introduction What is Dynamic control? Sample of Dynamic control Introduction Before I begin the introduction with dynamic control, I just want to specify how the control works

Ways to Determine Generated SQL Statements when running a LINQ to SQL Statement

Introduction When writing LINQ TO SQL statements, it is always useful to see the generated SQL queries while running the LINQ statements. In this article, we will explore the different ways by which

“A developer is only as good as his tools”

Introduction In this post I’d like to share some tools with you that I think may be of use for any developer. You may have come across the expression that is the title of this post. Some think t

WebSockets, WCF & Silverlight 5

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