A co-worker of mine sent an email with this question to the whole ”dev”
group:
“Does anyone have a random password generator that I can quickly plug into my
application?”
My response:
“Guid.NewGuid().ToString()”
![]()
What’s even funnier is that my team lead sent the exact same response
(Guid). Others replied with “google ‘.net random password generator’”.
LOL.
The correct answer turned out to be:
System.Web.Security.Membership.GeneratePassword
But of course that’s not nearly as funny, now is it…

Wow and this whole time I was using GUIDS
No but seriously I had no idea about that Class. Nice find!
Haha, well it wasn’t me who found it. I actually didn’t know about it either. Guess that shows how much I’ve actually used the membership stuff in 2.0 (hardly ever). :O
Another fellow co-worker sent that to him.
Ya know, now that you mentioned the Membership classes in 2.0, What a mess!!@!@
The classes are setup nice, and it’s easy to setup, but good luck if you want to extend the damn db tables. Not to mention not being able to use the “Web Administrator” if your’re working on your dev machine.
All of them use GUID as PK’s, everything is normalized into it’s own table even if it doesn’t need to be. I started using it on one project and quickly tossed it and coded my own membership system.
Sorry, you hit a nerve there =) damn membership classes =)
Hehe, yeah, luckily I haven’t had to do much with them. But a friend of mine was telling me how hard of a time he had trying to drive the pieces that interacted with the membership stuff via TDD. Didn’t sound too fun…
kVYln0 pjvzrnaptvlu, [url=http://bjudssixwzbq.com/]bjudssixwzbq[/url], [link=http://edbbcxsoqeqx.com/]edbbcxsoqeqx[/link], http://zrvnvlinrida.com/