Category: Articles

Articles

C++ String Toolkit (StrTk) Tokenizer

Introduction This article will present the tokenizing and splitting functionality of a simple C++ library called the String Toolkit. Tokenization in the context of string processing, is the method by which a sequence of elements are broken up or fragmented in sub-sequences called tokens. The indices in the original sequence that determine such breaks in […]

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