Tag Archives: Code

Use your own performance counters

Create and use your own performance counters to see how you program is doing in performancetests, stresstests, production, … First register the performance counters. This is done with a PerformanceCounterCategory that contains the CounterCreationData objects for the performance counters. Be … Continue reading

Posted in Test | Tagged , , , , , | Leave a comment

Password confirm in WPF

In WPF the PasswordBox control doesn’t expose any property to bind it. You’ll need solutions as described here to get the password the ‘WPF way’. Getting it to validate is a different story. Whenever a user is created you want … Continue reading

Posted in Development | Tagged , , , | 1 Comment

Salted Hashed Passwords

Saving passwords for your application must be done with caution. Especialy when securing websites. Leaked databases have been exposed all over the internet. In the event your database is exposed you want to make it as hard as possible to … Continue reading

Posted in Security | Tagged , , , , | Leave a comment

WPF enable next button of Wizard on Validation success

Using a wizard in my application that validates the input. The user must not be able to move to the next page if the validation is not a success. This can be done by disabling the next button when validation … Continue reading

Posted in Development | Tagged , , , | Leave a comment

WCF message tracing

To many times I’ve searched for this in google. How to trace the WCF messages to disk. Here is how:

Posted in Development | Tagged , , | Leave a comment