GTTools.com

Archive for the 'Development' Category

06 Jan

How to iterate a C# dictionary

The following snippet shows an easy way to iterate a C# dictionary:

Dictionary<int, string> dictionary = new Dictionary<int, string>();

dictionary.Add(1, "Cat");
dictionary.Add(2, [...]

15 Mar

Debugging gac assemblies

Every now and then somebody says to me:
I just added my assembly to the gac and now I can’t debug my code anymore
The fact is that debugging gac assemblies is quite easy when you know how to do it.
The problem with debugging gac assemblies is that you can’t add the pdb file to [...]

01 Jan

Use random data in WebTest

Usually my WebTests are coded WebTests, but sometimes the plain WebTest can do the job a lot faster.
My biggest problem working with plain WebTests, is that all the input to my forms are the recorded values. In some of the text fields I need value variations every run.
To solve this problem I created a [...]

© 2010 GTTools.com | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo