this is probably fairly basic question. I’m learning membership provider and tdd so here it is. I want to read maxpasswordattempts from my app.config and used that value to lock user for lets say 30 min after incorrect password attempts.
subquestion
How to read data stored in app.config and use in bellow test code
Example using tdd should be great. something like
Question
[TestMethod]
public void CanLockUserAfterIncorrectPassowrdAttempts()
{
}
Thanks
Take a look at the pgProvider implementation I wrote; it has unit tests supporting max bad login attempts.
(Specifically, this test fixture)