I’m going to be integrating with an existing application which will have an attached file
in its initial HTTP post request to our ASP.NET application.
I’ve built the logic to extract the file from HttpRequest.Files and even tested it using JMeter.
What I want to do is build a standalone ASP.NET page which can direct the user to the first page of our application, with the option to include the File in the request or not. I’d normally just to a Response.Redirect to get to another page, but I can’t determine a way of attaching the File that way.
whats the best way of achieving this?
If possible, bypass the whole “webform” model for your initial page and just do a HTTP POST to your other page.
It’s sort of a hassle, especially if your site uses masterpages and almost everything is nested within a tag.