alkampfer on June 29th, 2007

If you like me are tired of .NET standard IList<T> that does not offer a lot of method to do sorting, filtering and more, you can have a look at NGenerics, a complete library composed of a lot of classes to satisfy all the need you can have to store data. You have algorithms for [...]



kick it on DotNetKicks.com

Continue reading about NGenerics

alkampfer on June 28th, 2007

Today I had a little bug in an application of mine, I have a routine that accepts a series of parameter through a comma separated string of values, this kind of interface to a function is not a good thing to do, expecially when DateTime variables are transmitted, but this is an old routine and [...]



kick it on DotNetKicks.com

Continue reading about Parse a date in .NET

alkampfer on June 22nd, 2007

In a recent project I have a big user control with a Asp.Wizard control, 6 tabs and each tab present a complex user control. The whole thing is used to insert a complex set of data presenting the operation to the user a standard windows tab. After a while the control has degraded, because a [...]



kick it on DotNetKicks.com

Continue reading about Warping ASP.NET

alkampfer on June 20th, 2007

After another release of our project in production machine sometimes I see in the log this strange error

System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.

System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.

at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)

at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 [...]



kick it on DotNetKicks.com

Continue reading about Padding is invalid and cannot be removed

alkampfer on June 19th, 2007

Quite often I need to automate test page and check that the contents of a GridView contains exactly some strings. First of all I have an helper class that helps me to cope with the name that asp.net give to controls contained in another controls, then I write some helper methods to assert that the [...]



kick it on DotNetKicks.com

Continue reading about WatiN, looking for content in GridView