Monthly Archives: June 2010

Generic Method – How to specify type constraint on T for enum type

In my current application I really need to write a generic method that accept any enum type as a parameter. Let me first explain my situation why I need generic method.  Here is the method that I need to convert into generic

Posted in Microsoft Technology Tagged with:

Error while trying to view work item

I recently installed SP1 for Visual Studio 2008.  When I try to open any work item, I ended up getting the following error. Could not load type ‘Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException’ from assembly ‘Microsoft.TeamFoundation.WorkItemTracking.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. I can see the list of work

Posted in Microsoft Technology Tagged with:

Understanding Silverlight Basics

In this article I will give you an overview of how browser renders Silverlight application and what are the main components that involves during the execution of Silverlight application. Let’s create sample Silverlight application.  Open the visual studio 2008 IDE. 

Posted in Microsoft Technology

Case Insensitive String Replace

When we do string comparison or string replacement, it’s good practice to compare/replace string ignoring the case of string unless there is a need of it. It’s very simple when you want to compare two string ignoring the case of

Posted in Microsoft Technology Tagged with: ,

Ads