Archives
-
Converting Request.InputStream to a string - Part 2
Preceded by: Converting Request.InputStream to a string - Part 1 A natural extension to this, is the ability to transform the InputStream (basically the POST data) into an XMLDocument and then parse …
-
Converting Request.InputStream to a string - Part 1
Nowhere could I find a simple, concise way of converting the Request.InputStream from an ASP.net page into a string ready for processing, something which is very useful to do if you're passing a …
-
Obtaining the string value of an enumeration name
A useful trick I've picked up recently is the ability to get the name of a value of an enumeration in C#. Using the following example enumeration:
enum fruit{ apples, pears, oranges}
The …