Tag Archives: C#

Class For Parsing Windows Command Line

This is more of a snippet for myself. This is useful for parsing command lines for Windows Console applications and I have written code like this many times over. This class parses command lines of the form: someprogram.exe /<switch0>:<switch0 value> … Continue reading

Posted in C#, Code Samples | Tagged | Leave a comment

Hashing Data In Chunks Using .NET

I used to think that you could not use .NET managed classes to hash a large download as the file was being downloaded. I thought if I wanted to stay in a managed world, i.e. no Win API interop calls … Continue reading

Posted in C#, Cryptography | Tagged , | Leave a comment

Uploading Large Files To Self Hosted WCF Rest Service

There are several helpful posts regarding uploading and downloading large files from REST and SOAP based WCF services. I wanted to create my own example of uploading large files to a simple WCF 4.0 REST based service. By large, I … Continue reading

Posted in ASP .NET, C#, WCF | Tagged , , | 2 Comments

Faux Email Links Using ASP .NET Image Handler

I might not score points for originality on this, because email link obfuscation has been worked out in various bits and pieces using a great variety of approaches. Here is an comprehensive solution for ASP .NET using a generic handler … Continue reading

Posted in ASP .NET, C#, HTML, JavaScript | Tagged , , | Leave a comment