Okay, after faffing around for a couple of hours on
Google and
experimenting with the new
Configuration Management API I managed to
find a solution to my
earlier problem. The following code demonstrates
the new way of retrieving the maximum HTTP request size from the
web.config file.