Month: July 2012

Articles

RSA Private Key Encryption

RSA Introduction The RSA (Rivest, Shamir, Adleman) encryption algorithm uses two Keys: Private and Public. Scenario A Suppose Alice wants to send a message to Bob (for his eyes only!). She can encrypt the message using the RSA algorithm with Bob’s Public Key, which is not a secret (that’s why they call it Public…). Once […]

Articles

The Underlying Connection Was Closed: The Connection Closed Unexpectedly in EF 4.0

Introduction When we try to return back collection entity from WCF method, then the common cause comes “The-underlying-connection-was-closed–The-connection-closed-unexpectedly” Using the Code Entity Framework 4 enables lazy loading of entities by default. I’m not going to argue about whether that is good or bad, but there is something you should be aware of. If you’re like […]

Back To Top