Can anybody please tell me how I can get EPiServer to output the final HTML for a page as a string? Some of the pages will be behind secured areas of our site, so I will need to get them using the DataFactory to override the security.
One final complcation, the URL parameters are important, so I need to get the HTML for pages such as http://myepiserversite/folder1/mypage/?parameter=foo
Any ideas appreciated,
Is this something you want to do on a "live" site at runtime for every pageview or a diagnostic check to verify something on your development environment?
If you want to read the HTML output i'd say it's easier to request the pages from the webserver with a HTTP-get than trying to parse it from inside the page request.