I can't see why what I'm about to suggest would not work, but all this interweb stuff is new to me.
I have a handler which can recieve from 3 to 6 parameters in the URL.
The handler eventually creates C# objects all derived from a base class. The base class cnstructor has one parameter, the derived classes have 3 to 6 parameters.
Can I pass context.Request (a HttpRequest) to the constructors (I do a switch on the type of the derived class) and leave it up to the constructor to call QueryString[Param3] etc.? It seems a much less messy solution than extracting the extra parameters
on the handler.
// Find out the string parameters for the image creation...
// Here we are getting hold of parameter values from a URL
string sCoupon = context.Request.QueryString[GlobConsts.sCouponTag];
string sFamily = context.Request.QueryString[GlobConsts.sSelClasTag];
...
Go to the complete details ...