I don't think there is an easy way to refactor an asp.net page into a
stand-alone HTML generating exe. Its worth pointing out that IIS does not
require any assistance from a browser to render an asp.net page. So....
You can write another application that uses System.Net.HttpWebRequest &
System.Net.HttpResponse to request the results from the page, and stream
them out to a file. Its probably about 6 lines of code to do it all.
Nick.
"Jane" <JS**@hotmail.com> wrote in message
news:c8*********@sparta.btinternet.com...
Hi
I have an .aspx page thats part of a site, its usually called by a user in
a browser with an ID in the querystring from where it does lots of exciting
things and database reads to produce the page - nothing too different or
exciting there.
However, what I'd like to be able to do is to have the page run without
the help of a browser (say from the command line) and generate the HTML output
into a file I can pick up for later use.
Can it be done ?
Jane